public class ParserData extends Object
| Constructor and Description |
|---|
ParserData(Map<Field,String> fields,
Map<String,String> tags,
Map<String,Map<String,String>> attributes)
Constructs an immutable data object with the given information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
forEachInjectedField(InjectableFieldConsumer 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)
fields - a map of fields to their idstags - a map of ids to their tagsattributes - a map of attributes values to the element idpublic void forEachInjectedField(InjectableFieldConsumer consumer)
consumer - the consumer to call for each mapped fieldCopyright © 2021. All rights reserved.