Serialized Form


Package com.fasterxml.jackson.dataformat.xml

Class com.fasterxml.jackson.dataformat.xml.JacksonXmlAnnotationIntrospector extends com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector implements Serializable

Serialized Fields

_cfgDefaultUseWrapper

boolean _cfgDefaultUseWrapper

Class com.fasterxml.jackson.dataformat.xml.JacksonXmlModule extends com.fasterxml.jackson.databind.module.SimpleModule implements Serializable

serialVersionUID: 1L

Serialized Fields

_cfgDefaultUseWrapper

boolean _cfgDefaultUseWrapper
Determination of whether indexed properties (arrays, Lists) that are not explicitly annotated (with JacksonXmlElementWrapper or equivalent) should default to using implicit wrapper (with same name as property) or not. If enabled, wrapping is used by default; if false, it is not.

Note that JAXB annotation introspector always assumes "do not wrap by default". Jackson annotations have different default due to backwards compatibility.

Since:
2.1

_cfgNameForTextElement

String _cfgNameForTextElement
Name used for pseudo-property used for returning XML Text value (which does not have actual element name to use). Defaults to empty String, but may be changed for interoperability reasons: JAXB, for example, uses "value" as name.

Since:
2.1

Class com.fasterxml.jackson.dataformat.xml.XmlAnnotationIntrospector.Pair extends com.fasterxml.jackson.databind.introspect.AnnotationIntrospectorPair implements Serializable

Serialized Fields

_xmlPrimary

XmlAnnotationIntrospector _xmlPrimary

_xmlSecondary

XmlAnnotationIntrospector _xmlSecondary

Class com.fasterxml.jackson.dataformat.xml.XmlFactory extends com.fasterxml.jackson.core.JsonFactory implements Serializable

serialVersionUID: -1885780678226335519L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
In addition to default serialization, which mostly works, need to handle case of XML factories, hence override.

Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
In addition to default serialization, which mostly works, need to handle case of XML factories, hence override.

Throws:
IOException

readResolve

protected Object readResolve()
Method that we need to override to actually make restoration go through constructors etc.

Serialized Fields

_xmlParserFeatures

int _xmlParserFeatures

_xmlGeneratorFeatures

int _xmlGeneratorFeatures

_cfgNameForTextElement

String _cfgNameForTextElement

Class com.fasterxml.jackson.dataformat.xml.XmlMapper extends com.fasterxml.jackson.databind.ObjectMapper implements Serializable

serialVersionUID: -724333029147285918L

Serialized Fields

_xmlModule

JacksonXmlModule _xmlModule

Package com.fasterxml.jackson.dataformat.xml.deser

Class com.fasterxml.jackson.dataformat.xml.deser.WrapperHandlingDeserializer extends com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer implements Serializable

serialVersionUID: 1L

Serialized Fields

_namesToWrap

Set<E> _namesToWrap

Class com.fasterxml.jackson.dataformat.xml.deser.XmlBeanDeserializerModifier extends com.fasterxml.jackson.databind.deser.BeanDeserializerModifier implements Serializable

serialVersionUID: 1L

Serialized Fields

_cfgNameForTextValue

String _cfgNameForTextValue
Virtual name used for text segments.


Package com.fasterxml.jackson.dataformat.xml.ser

Class com.fasterxml.jackson.dataformat.xml.ser.XmlBeanSerializerModifier extends com.fasterxml.jackson.databind.ser.BeanSerializerModifier implements Serializable

serialVersionUID: 1L

Class com.fasterxml.jackson.dataformat.xml.ser.XmlSerializerProvider extends com.fasterxml.jackson.databind.ser.DefaultSerializerProvider implements Serializable

serialVersionUID: 8525947864862035821L

Serialized Fields

_rootNameLookup

XmlRootNameLookup _rootNameLookup

Package com.fasterxml.jackson.dataformat.xml.util

Class com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

_arrayIndenter

DefaultXmlPrettyPrinter.Indenter _arrayIndenter
By default, let's use only spaces to separate array values.


_objectIndenter

DefaultXmlPrettyPrinter.Indenter _objectIndenter
By default, let's use linefeed-adding indenter for separate object entries. We'll further configure indenter to use system-specific linefeeds, and 2 spaces per level (as opposed to, say, single tabs)


_spacesInObjectEntries

boolean _spacesInObjectEntries
By default we will add spaces around colons used to separate object fields and values. If disabled, will not use spaces around colon.


_nesting

int _nesting
Number of open levels of nesting. Used to determine amount of indentation to use.

Class com.fasterxml.jackson.dataformat.xml.util.XmlRootNameLookup extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

_rootNames

com.fasterxml.jackson.databind.util.LRUMap<K,V> _rootNames
For efficient operation, let's try to minimize number of times we need to introspect root element name to use.



Copyright © 2012 FasterXML. All Rights Reserved.