|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object biz.chitec.quarterback.gjsa.ClassParsers.GenericMapCP
Generic abstract parser for maps. Defines two helper methods which are accessed by the normal parsing methods. Those two must be overridden to implement parsers for different ancestors of "Map".
Constructor Summary | |
ClassParsers.GenericMapCP()
|
Method Summary | |
protected abstract java.util.Map |
createEmptyMap()
Create an empty map of appropriate type |
protected abstract java.util.Map |
obj2Map(java.lang.Object o)
Convert a given object into the Map of the appropriate type. |
java.lang.String |
obj2Str(java.lang.Object obj)
This method should convert a given object into a string representation. |
java.lang.Object |
str2Obj(Str2ObjParamParser sopp)
Converts a string representation into a Java object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface biz.chitec.quarterback.gjsa.ClassParser |
getID |
Constructor Detail |
public ClassParsers.GenericMapCP()
Method Detail |
protected abstract java.util.Map obj2Map(java.lang.Object o)
o
- Object given to Obj2StrParser
protected abstract java.util.Map createEmptyMap()
public java.lang.String obj2Str(java.lang.Object obj)
ClassParser
obj2Str
in interface ClassParser
obj
- Description of the Parameter
public java.lang.Object str2Obj(Str2ObjParamParser sopp)
ClassParser
str2Obj
in interface ClassParser
sopp
- Description of the Parameter
|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |