com.fasterxml.jackson.dataformat.xml
Class XmlTypeResolverBuilder.XmlClassNameIdResolver
java.lang.Object
com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
com.fasterxml.jackson.dataformat.xml.XmlTypeResolverBuilder.XmlClassNameIdResolver
- All Implemented Interfaces:
- com.fasterxml.jackson.databind.jsontype.TypeIdResolver
- Enclosing class:
- XmlTypeResolverBuilder
protected static class XmlTypeResolverBuilder.XmlClassNameIdResolver
- extends com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
Fields inherited from class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase |
_baseType, _typeFactory |
Methods inherited from class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver |
_idFrom, getMechanism, idFromValueAndType, registerSubtype |
Methods inherited from class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase |
idFromBaseType, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlTypeResolverBuilder.XmlClassNameIdResolver
public XmlTypeResolverBuilder.XmlClassNameIdResolver(com.fasterxml.jackson.databind.JavaType baseType,
com.fasterxml.jackson.databind.type.TypeFactory typeFactory)
idFromValue
public String idFromValue(Object value)
- Specified by:
idFromValue
in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
- Overrides:
idFromValue
in class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
typeFromId
public com.fasterxml.jackson.databind.JavaType typeFromId(String id)
- Specified by:
typeFromId
in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
- Overrides:
typeFromId
in class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
Copyright © 2012 FasterXML. All Rights Reserved.