Serialized Form
-
Package com.fasterxml.jackson.dataformat.xml
-
Class com.fasterxml.jackson.dataformat.xml.DefaultingXmlTypeResolverBuilder extends com.fasterxml.jackson.databind.ObjectMapper.DefaultTypeResolverBuilder implements Serializable
- serialVersionUID:
- 1L
-
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 (withJacksonXmlElementWrapper
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
java.lang.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:
- 1L
-
Serialization Methods
-
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
In addition to default serialization, which mostly works, need to handle case of XML factories, hence override.- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
readResolve
protected java.lang.Object readResolve()
Method that we need to override to actually make restoration go through constructors etc. -
writeObject
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
In addition to default serialization, which mostly works, need to handle case of XML factories, hence override.- Throws:
java.io.IOException
-
-
Serialized Fields
-
_cfgNameForTextElement
java.lang.String _cfgNameForTextElement
-
_xmlGeneratorFeatures
int _xmlGeneratorFeatures
-
_xmlParserFeatures
int _xmlParserFeatures
-
-
Class com.fasterxml.jackson.dataformat.xml.XmlMapper extends com.fasterxml.jackson.databind.ObjectMapper implements Serializable
- serialVersionUID:
- 1L
-
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
java.util.Set<java.lang.String> _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
java.lang.String _cfgNameForTextValue
Virtual name used for text segments.
-
-
Class com.fasterxml.jackson.dataformat.xml.deser.XmlStringDeserializer extends com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<java.lang.String> implements Serializable
- serialVersionUID:
- 1L
-
Class com.fasterxml.jackson.dataformat.xml.deser.XmlTextDeserializer extends com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
_valueInstantiator
com.fasterxml.jackson.databind.deser.ValueInstantiator _valueInstantiator
-
_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) -
_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.
-
-
-
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:
- 1L
-
-
Package com.fasterxml.jackson.dataformat.xml.ser
-
Class com.fasterxml.jackson.dataformat.xml.ser.UnwrappingXmlBeanSerializer extends XmlBeanSerializerBase implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
_nameTransformer
com.fasterxml.jackson.databind.util.NameTransformer _nameTransformer
Transformer used to add prefix and/or suffix for properties of unwrapped POJO.
-
-
Class com.fasterxml.jackson.dataformat.xml.ser.XmlBeanPropertyWriter extends com.fasterxml.jackson.databind.ser.BeanPropertyWriter implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
_wrappedQName
javax.xml.namespace.QName _wrappedQName
Element name used for items in the collection -
_wrapperQName
javax.xml.namespace.QName _wrapperQName
Element name used as wrapper for collection.
-
-
Class com.fasterxml.jackson.dataformat.xml.ser.XmlBeanSerializer extends XmlBeanSerializerBase implements Serializable
- serialVersionUID:
- 1L
-
Class com.fasterxml.jackson.dataformat.xml.ser.XmlBeanSerializerBase extends com.fasterxml.jackson.databind.ser.std.BeanSerializerBase implements Serializable
-
Serialized Fields
-
_attributeCount
int _attributeCount
Number of attributes to write; these will have been ordered to be the first properties to write. -
_cdata
java.util.BitSet _cdata
Optional set of indexes of properties that should be serialized as CDATA, instead of regular XML text segment. Left as null in cases where none of element values are to be written in such a way. -
_textPropertyIndex
int _textPropertyIndex
Index of "text value" property we have, if any; can have at most one such property. -
_xmlNames
javax.xml.namespace.QName[] _xmlNames
Array that contains namespace URIs associated with properties, if any; null if no namespace definitions have been assigned
-
-
-
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:
- 1L
-
Serialized Fields
-
_rootNameLookup
XmlRootNameLookup _rootNameLookup
-
-
-
Package com.fasterxml.jackson.dataformat.xml.util
-
Class com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter extends java.lang.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.
-
-
Class com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.FixedSpaceIndenter extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Class com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.Lf2SpacesIndenter extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Class com.fasterxml.jackson.dataformat.xml.util.DefaultXmlPrettyPrinter.NopIndenter extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Class com.fasterxml.jackson.dataformat.xml.util.XmlRootNameLookup extends java.lang.Object implements Serializable
- serialVersionUID:
- 1L
-
Serialization Methods
-
readResolve
protected java.lang.Object readResolve()
-
-