We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.template.internal.
Class ParserData
java.lang.Object
com.vaadin.flow.component.template.internal.ParserData
Immutable parser data which may be stored in cache.
For internal use only. May be renamed or removed in a future release.
Since:
Author:
Vaadin Ltd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
forEachInjectedField
(InjectableFieldConsumer consumer) Applies the given consumer to each mapped field.
getAttributes
(String id) Gets template element data (attribute values).
-
Constructor Details
-
ParserData
public ParserData(Map<Field, String> fields, Map<String, String> tags, Map<String, Map<String, String>> attributes) Constructs an immutable data object with the given information.
Parameters:
fields
- a map of fields to their idstags
- a map of ids to their tagsattributes
- a map of attributes values to the element id
-
-
Method Details
-
forEachInjectedField
Applies the given consumer to each mapped field.
Parameters:
consumer
- the consumer to call for each mapped field -
getAttributes
Gets template element data (attribute values).
Parameters:
id
- the id of the elementReturns:
template data
-