public class MakerMap extends java.util.HashMap<java.lang.String,ContainerEntryMaker>
ContainerEntryMaker
| Constructor and Description |
|---|
MakerMap() |
| Modifier and Type | Method and Description |
|---|---|
<T> ContainerEntryMaker |
addParser(PropertyTag<T> tag,
ValueParser<? extends T> parser)
Convenience method for adding a PropertyEntryMaker to a MakerMap.
|
<T> ContainerEntryMaker |
addParser(java.lang.String name,
PropertyTag<T> tag,
ValueParser<? extends T> parser)
Convenience method for adding a PropertyEntryMaker to a MakerMap.
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuespublic <T> ContainerEntryMaker addParser(PropertyTag<T> tag, ValueParser<? extends T> parser)
T - The type of value the maker will parse value strings intotag - The property tag to be associated with the values generatedparser - The parser used to generate values from value stringspublic <T> ContainerEntryMaker addParser(java.lang.String name, PropertyTag<T> tag, ValueParser<? extends T> parser)
T - The type of value the maker will parse value strings intoname - The attribute name to store the entry.tag - The property tag to be associated with the values generatedparser - The parser used to generate values from value strings