org.codehaus.jackson.map.type
Class TypeBase

java.lang.Object
  extended by org.codehaus.jackson.type.JavaType
      extended by org.codehaus.jackson.map.type.TypeBase
Direct Known Subclasses:
ArrayType, CollectionType, MapType, SimpleType

public abstract class TypeBase
extends JavaType


Field Summary
 
Fields inherited from class org.codehaus.jackson.type.JavaType
_class, _hashCode, _typeHandler, _valueHandler
 
Constructor Summary
protected TypeBase(Class<?> raw)
           
 
Method Summary
protected abstract  String buildCanonicalName()
           
protected  JavaType copyHandlers(JavaType fromType)
           
 String toCanonical()
          Method that can be used to serialize type into form from which it can be fully deserialized from at a later point (using TypeFactory from mapper package).
 
Methods inherited from class org.codehaus.jackson.type.JavaType
_assertSubclass, _narrow, _widen, containedType, containedTypeCount, containedTypeName, equals, forcedNarrowBy, getContentType, getKeyType, getRawClass, getTypeHandler, getValueHandler, hashCode, hasRawClass, isAbstract, isArrayType, isConcrete, isContainerType, isEnumType, isFinal, isInterface, isPrimitive, isThrowable, narrowBy, narrowContentsBy, setTypeHandler, setValueHandler, toString, widenBy
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeBase

protected TypeBase(Class<?> raw)
Method Detail

toCanonical

public String toCanonical()
Description copied from class: JavaType
Method that can be used to serialize type into form from which it can be fully deserialized from at a later point (using TypeFactory from mapper package). For simple types this is same as calling Class.getName(), but for structured types it may additionally contain type information about contents.

Specified by:
toCanonical in class JavaType

buildCanonicalName

protected abstract String buildCanonicalName()

copyHandlers

protected final JavaType copyHandlers(JavaType fromType)