|
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.GenericListCP
Generic abstract parser for lists. Defines two helper methods which are accessed by the normal parsing methods. Those two must be overridden to implement parsers for different ancestors of "List".
Constructor Summary | |
ClassParsers.GenericListCP()
|
Method Summary | |
protected abstract java.util.List |
createEmptyList()
Create an empty list of appropriate type |
protected abstract java.util.List |
obj2List(java.lang.Object o)
Convert a given object into the List 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.GenericListCP()
Method Detail |
protected abstract java.util.List obj2List(java.lang.Object o)
o
- Object given to Obj2StrParser
protected abstract java.util.List createEmptyList()
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 |