public static class TemplateDataAnalyzer.ParserData extends Object
| Constructor and Description |
|---|
ParserData(Map<Field,String> fields,
Map<String,String> tags,
Map<String,Map<String,String>> attributes,
Set<String> twoWayBindings,
Collection<com.vaadin.flow.component.polymertemplate.TemplateDataAnalyzer.SubTemplateData> subTemplates)
Constructs an immutable data object with the given information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
forEachInjectedField(TemplateDataAnalyzer.InjectableFieldCunsumer consumer)
Applies the given consumer to each mapped field.
|
Map<String,String> |
getAttributes(String id)
Gets template element data (attribute values).
|
public ParserData(Map<Field,String> fields, Map<String,String> tags, Map<String,Map<String,String>> attributes, Set<String> twoWayBindings, Collection<com.vaadin.flow.component.polymertemplate.TemplateDataAnalyzer.SubTemplateData> subTemplates)
fields - a map of fields to their idstags - a map of ids to their tagsattributes - a map of attributes values to the element idtwoWayBindings - the properties which support two way bindingsubTemplates - data for sub templatespublic void forEachInjectedField(TemplateDataAnalyzer.InjectableFieldCunsumer consumer)
consumer - the consumer to call for each mapped fieldCopyright © 2025. All rights reserved.