com.fasterxml.jackson.xml
Class JacksonXmlAnnotationIntrospector.XmlTypeResolverBuilder

java.lang.Object
  extended by org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder
      extended by 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.


Field Summary
 
Fields inherited from class org.codehaus.jackson.map.jsontype.impl.StdTypeResolverBuilder
_customIdResolver, _idType, _includeAs, _typeProperty
 
Constructor Summary
protected JacksonXmlAnnotationIntrospector.XmlTypeResolverBuilder()
           
 
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
 

Constructor Detail

JacksonXmlAnnotationIntrospector.XmlTypeResolverBuilder

protected JacksonXmlAnnotationIntrospector.XmlTypeResolverBuilder()
Method Detail

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.