QJCC homepage

biz.chitec.quarterback.gjsa
Class ClassParsers.ArrayListCP

java.lang.Object
  extended bybiz.chitec.quarterback.gjsa.ClassParsers.GenericListCP
      extended bybiz.chitec.quarterback.gjsa.ClassParsers.ArrayListCP
All Implemented Interfaces:
ClassParser
Enclosing class:
ClassParsers

private static final class ClassParsers.ArrayListCP
extends ClassParsers.GenericListCP

Parser for ArrayList instances


Constructor Summary
private ClassParsers.ArrayListCP()
           
 
Method Summary
protected  java.util.List createEmptyList()
          Create an empty list of appropriate type
 java.lang.String getID()
          Returns a String ID for the object.
protected  java.util.List obj2List(java.lang.Object o)
          Convert a given object into the List of the appropriate type.
 
Methods inherited from class biz.chitec.quarterback.gjsa.ClassParsers.GenericListCP
obj2Str, str2Obj
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassParsers.ArrayListCP

private ClassParsers.ArrayListCP()
Method Detail

obj2List

protected final java.util.List obj2List(java.lang.Object o)
Description copied from class: ClassParsers.GenericListCP
Convert a given object into the List of the appropriate type.

Specified by:
obj2List in class ClassParsers.GenericListCP
Parameters:
o - Object given to Obj2StrParser
Returns:
Subtype of List. Null, if given object is no List

createEmptyList

protected final java.util.List createEmptyList()
Description copied from class: ClassParsers.GenericListCP
Create an empty list of appropriate type

Specified by:
createEmptyList in class ClassParsers.GenericListCP
Returns:
List of appropriate type for the actual parser

getID

public java.lang.String getID()
Description copied from interface: ClassParser
Returns a String ID for the object. The ID must be unique and should be short.

Returns:
The iD value

QJCC homepage