QJCC homepage

biz.chitec.quarterback.gjsa
Class ClassParsers.TreeMapCP

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

private static final class ClassParsers.TreeMapCP
extends ClassParsers.GenericMapCP

Parser for TreeMap instances


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

Constructor Detail

ClassParsers.TreeMapCP

private ClassParsers.TreeMapCP()
Method Detail

obj2Map

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

Specified by:
obj2Map in class ClassParsers.GenericMapCP
Parameters:
o - Object given to Obj2StrParser
Returns:
Subtype of Map. Null, if given object is no Map

createEmptyMap

protected final java.util.Map createEmptyMap()
Description copied from class: ClassParsers.GenericMapCP
Create an empty map of appropriate type

Specified by:
createEmptyMap in class ClassParsers.GenericMapCP
Returns:
Map 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