public static class TemplateDataAnalyzer.ParserData extends Object
| Constructor and Description |
|---|
ParserData(Map<Field,String> fields,
Map<String,String> tags,
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.
|
public ParserData(Map<Field,String> fields, Map<String,String> tags, 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 tagstwoWayBindings - 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 © 2000–2019 Vaadin Ltd. All rights reserved.