org.codehaus.jackson.map.type
Class TypeBase
java.lang.Object
org.codehaus.jackson.type.JavaType
org.codehaus.jackson.map.type.TypeBase
- Direct Known Subclasses:
- ArrayType, CollectionType, MapType, SimpleType
public abstract class TypeBase
- extends JavaType
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 |
TypeBase
protected TypeBase(Class<?> raw)
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)