# Serialized Form

## Package com.fasterxml.jackson.dataformat.xml

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

serialVersionUID:
  1L

### 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

serialVersionUID:
  1L

### Serialized Fields

#### _xmlPrimary

    XmlAnnotationIntrospector _xmlPrimary

#### _xmlSecondary

    XmlAnnotationIntrospector _xmlSecondary

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

serialVersionUID:
  1897624416641000209L

### 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:
  -1212805483143619605L

### 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

(Simple) Names of properties, for which virtual wrapping is needed to compensate: these are so-called 'unwrapped' XML lists where property name is used for elements, and not as List markers.

#### _type

    com.fasterxml.jackson.databind.JavaType _type

### 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.

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

serialVersionUID:
  1L

### Serialized Fields

#### _xmlTextPropertyIndex

    int _xmlTextPropertyIndex

Property index of the "XML text property"; needed for finding actual property instance after resolution and contextualization: instance may change, but index will remain constant.

#### _xmlTextProperty

    com.fasterxml.jackson.databind.deser.SettableBeanProperty _xmlTextProperty

Actual property that is indicated to be of type "XML Text" (and is the only element-valued property)

#### _valueInstantiator

    com.fasterxml.jackson.databind.deser.ValueInstantiator _valueInstantiator

## Package com.fasterxml.jackson.dataformat.xml.jaxb

### Class com.fasterxml.jackson.dataformat.xml.jaxb.XmlJaxbAnnotationIntrospector extends com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector implements Serializable

serialVersionUID:
  6477843393758275877L

## 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:
  -4138605166320336475L

### 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:
  -1811120944652457526L

### 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.

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

serialVersionUID:
  1L

### Serialization Methods

#### readResolve

    protected Object readResolve()