|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JavaType | |
|---|---|
| org.codehaus.jackson.map.jsontype | |
| org.codehaus.jackson.type | |
| Uses of JavaType in org.codehaus.jackson.map.jsontype |
|---|
| Methods in org.codehaus.jackson.map.jsontype that return JavaType | |
|---|---|
JavaType |
TypeIdResolver.typeFromId(String id)
Method called to resolve type from given type identifier. |
| Methods in org.codehaus.jackson.map.jsontype with parameters of type JavaType | |
|---|---|
void |
TypeIdResolver.init(JavaType baseType)
Method that will be called once before any type resolution calls; used to initialize instance with configuration. |
| Uses of JavaType in org.codehaus.jackson.type |
|---|
| Methods in org.codehaus.jackson.type that return JavaType | |
|---|---|
protected abstract JavaType |
JavaType._narrow(Class<?> subclass)
|
protected JavaType |
JavaType._widen(Class<?> superclass)
Default implementation is just to call _narrow(java.lang.Class>), since
underlying type construction is usually identical |
JavaType |
JavaType.containedType(int index)
Method for accessing definitions of contained ("child") types. |
JavaType |
JavaType.forcedNarrowBy(Class<?> subclass)
More efficient version of narrowBy(java.lang.Class>), called by
internal framework in cases where compatibility checks
are to be skipped. |
JavaType |
JavaType.getContentType()
Method for accessing content type of this type, if type has such a thing: simple types do not, structured types do (like arrays, Collections and Maps) |
JavaType |
JavaType.getKeyType()
Method for accessing key type for this type, assuming type has such a concept (only Map types do) |
JavaType |
JavaType.narrowBy(Class<?> subclass)
Method that can be called to do a "narrowing" conversions; that is, to return a type with a raw class that is assignable to the raw class of this type. |
abstract JavaType |
JavaType.narrowContentsBy(Class<?> contentClass)
|
JavaType |
JavaType.widenBy(Class<?> superclass)
Method that can be called to do a "widening" conversions; that is, to return a type with a raw class that could be assigned from this type. |
abstract JavaType |
JavaType.widenContentsBy(Class<?> contentClass)
|
abstract JavaType |
JavaType.withContentTypeHandler(Object h)
"Copy method" that will construct a new instance that is identical to this instance, except that its content type will have specified type handler assigned. |
abstract JavaType |
JavaType.withTypeHandler(Object h)
"Copy method" that will construct a new instance that is identical to this instance, except that it will have specified type handler assigned. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||