|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
JsonFactory
,
here the copy will actually share underlying XML input and
output factories, as there is no way to make copies of those.
XmlFactory.getFormatName()
JsonParser
implementation that exposes XML structure as
set of JSON events that can be used for data binding.XmlMapper.getFactory()
instead
XMLStreamWriter
.
XMLStreamWriter
.
XmlAttribute
to be found,
we consider it an attibute; if XmlElement
, not-an-attribute; and otherwise
we will consider there to be no information.
JacksonAnnotationIntrospector
that is needed to support
additional xml-specific annotation that Jackson provides.javax.xml.bind.annotation.XmlElementWrapper
,
to indicate wrapper element to use (if any) for Collection types (arrays,
java.util.Collection
).JsonProperty
contains.XmlValue
in that it can be used on one (and only one!) property of a POJO.BeanPropertyWriter
instances; to mark instances that are to be written out as attributes.
ObjectCodec
(that is, XmlMapper
), so need to return true here.
ObjectCodec
(that is, XmlMapper
), so need to return true here.
AnnotationIntrospector
we register will use wrapper for indexed (List, array) properties or not,
if there are no explicit annotations.
JacksonXmlModule
to pass configuration
information to XmlFactory
, during registration.
XMLStreamException
was caught.
JsonGenerator
that outputs JAXB-style XML output instead of JSON content.AnnotationIntrospector
to handle XML-specific configuration.AnnotationIntrospector.Pair
that can
also dispatch 'XmlAnnotationIntrospector' methods.BeanSerializer
needed to take care
of some xml-specific aspects, such as distinction between attributes
and elements.BeanSerializerModifier
to replace default BeanSerializer
with XML-specific one; mostly to ensure that attribute properties are output
before element properties.FromXmlParser
and ToXmlGenerator
instances.AnnotationIntrospector
implementation that
builds on introspector from Jackson XC package that uses JAXB annotations,
not Jackson annotations.ObjectMapper
that will read and write XML instead of JSON,
using XML-backed JsonFactory
implementation (XmlFactory
).JsonStreamContext
, which implements
core methods needed, and adds small amount of additional
state data we need.SerializerProvider
implementation to handle oddities of XML output, like "extra" root element.XMLStreamReader
to further
abstract out all irrelevant details, and to expose equivalent of flat token
stream with no "fluff" tokens (comments, processing instructions, mixed
content) all of which is just to simplify
actual higher-level conversion to JSON tokensStdTypeResolverBuilder
; needed so that
type id property name can be modified as necessary to make it legal
XML element or attribute name.FromXmlParser.getBinaryValue(com.fasterxml.jackson.core.Base64Variant)
will not need to decode data more
than once.
JacksonXmlElementWrapper
or equivalent) should default to using implicit wrapper (with same name as property) or not.
ToXmlGenerator.writeRaw(java.lang.String)
calls.
FromXmlParser.Feature
s
are enabled.
ToXmlGenerator.Feature
s
are enabled.
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |