com.fasterxml.jackson.xml
Class JacksonXmlAnnotationIntrospector.XmlTypeResolverBuilder
java.lang.Object
org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder
com.fasterxml.jackson.xml.JacksonXmlAnnotationIntrospector.XmlTypeResolverBuilder
- All Implemented Interfaces:
- org.codehaus.jackson.map.jsontype.TypeResolverBuilder<org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder>
- Enclosing class:
- JacksonXmlAnnotationIntrospector
protected static class JacksonXmlAnnotationIntrospector.XmlTypeResolverBuilder
- extends org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder
Custom specialization of StdTypeResolverBuilder
; needed so that
type id property name can be modified as necessary to make it legal
xml element or attribute name.
Fields inherited from class org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder |
_customIdResolver, _idType, _includeAs, _typeProperty |
Method Summary |
org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder |
init(org.codehaus.jackson.annotate.JsonTypeInfo.Id idType,
org.codehaus.jackson.map.jsontype.TypeIdResolver idRes)
|
org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder |
typeProperty(String typeIdPropName)
|
Methods inherited from class org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder |
buildTypeDeserializer, buildTypeSerializer, getTypeProperty, idResolver, inclusion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JacksonXmlAnnotationIntrospector.XmlTypeResolverBuilder
protected JacksonXmlAnnotationIntrospector.XmlTypeResolverBuilder()
init
public org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder init(org.codehaus.jackson.annotate.JsonTypeInfo.Id idType,
org.codehaus.jackson.map.jsontype.TypeIdResolver idRes)
- Specified by:
init
in interface org.codehaus.jackson.map.jsontype.TypeResolverBuilder<org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder>
- Overrides:
init
in class org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder
typeProperty
public org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder typeProperty(String typeIdPropName)
- Specified by:
typeProperty
in interface org.codehaus.jackson.map.jsontype.TypeResolverBuilder<org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder>
- Overrides:
typeProperty
in class org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder
Copyright © 2011 fasterxml.com. All Rights Reserved.