public abstract class MapNotationParser<T> extends TypedNotationParser<Map,T> implements NotationParser<T>
Map<String, Object> to the target type. Subclasses should define a T parseMap() method which takes a parameter
for each key value required from the source map. Each parameter should be annotated with a @MapKey annotation, and can also
be annotated with a @optional annotation.| Constructor and Description |
|---|
MapNotationParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
describe(Collection<String> candidateFormats) |
protected String |
get(Map<String,Object> args,
String key) |
T |
parseType(Map values) |
parseNotationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseNotationpublic void describe(Collection<String> candidateFormats)
describe in interface NotationParser<T>describe in class TypedNotationParser<Map,T>public T parseType(Map values) throws UnsupportedNotationException
parseType in class TypedNotationParser<Map,T>UnsupportedNotationExceptionCopyright © 2013. All rights reserved