All Classes
-
All Classes Interface Summary Class Summary Enum Summary Annotation Types Summary Class Description AnnotationUtil DefaultXmlPrettyPrinter Indentation to use with XML is different from JSON, because JSON requires use of separator characters and XML just basic whitespace.DefaultXmlPrettyPrinter.FixedSpaceIndenter This is a very simple indenter that only every adds a single space for indentation.DefaultXmlPrettyPrinter.Indenter Interface that defines objects that can produce indentation used to separate object entries and array values.DefaultXmlPrettyPrinter.Lf2SpacesIndenter Default linefeed-based indenter uses system-specific linefeeds and 2 spaces for indentation per level.DefaultXmlPrettyPrinter.NopIndenter Dummy implementation that adds no indentation whatsoeverFromXmlParser JsonParserimplementation that exposes XML structure as set of JSON events that can be used for data binding.FromXmlParser.Feature Enumeration that defines all togglable features for XML parsers.JacksonXmlAnnotationIntrospector Extension ofJacksonAnnotationIntrospectorthat is needed to support additional xml-specific annotation that Jackson provides.JacksonXmlCData Adding this annotation will result in value of the property to be serialized within a CData tag.JacksonXmlElementWrapper Annotation that is similar to JAXBjavax.xml.bind.annotation.XmlElementWrapper, to indicate wrapper element to use (if any) for Collection types (arrays,java.util.Collection).JacksonXmlModule Module that implements most functionality needed to support producing and consuming XML instead of JSON.JacksonXmlProperty Annotation that can be used to provide XML-specific configuration for properties, above and beyond whatJsonPropertycontains.JacksonXmlRootElement Annotation that can be used to define name of root element used for the root-level object when serialized, which normally uses name of the type (class).JacksonXmlText Interface that is loosely similar toXmlValuein that it can be used on one (and only one!) property of a POJO.PackageVersion Automatically generated from PackageVersion.java.in during packageVersion-generate execution of maven-replacer-plugin in pom.xml.StaxUtil ToXmlGenerator JsonGeneratorthat outputs JAXB-style XML output instead of JSON content.ToXmlGenerator.Feature Enumeration that defines all togglable extra XML-specific featuresTypeUtil UnwrappingXmlBeanSerializer Copy ofUnwrappingBeanSerializerrequired to extendXmlBeanSerializerBasefor XML-specific handling.WrapperHandlingDeserializer Delegating deserializer whose only function is to handle case of "unwrapped" List/array deserialization from XML.XmlAnnotationIntrospector Additional extension interface used above and beyondAnnotationIntrospectorto handle XML-specific configuration.XmlAnnotationIntrospector.JaxbWrapper Wrapper we need to adaptJaxbAnnotationIntrospectorasXmlAnnotationIntrospector: something we can not (alas!) do in JAXB module because of dependency direction (JAXB module has no knowledge of this module).XmlAnnotationIntrospector.Pair Extension ofAnnotationIntrospector.Pairthat can also dispatch 'XmlAnnotationIntrospector' methods.XmlBeanDeserializerModifier The main reason for a modifier is to support handling of 'wrapped' Collection types.XmlBeanPropertyWriter Property writer sub-class used for handling element wrapping needed for serializing collection (array, Collection; possibly Map) types.XmlBeanSerializer Variant ofBeanSerializerfor XML handling.XmlBeanSerializerBase Specific sub-class ofBeanSerializerBaseneeded to take care of some xml-specific aspects, such as distinction between attributes and elements.XmlBeanSerializerModifier We need aBeanSerializerModifierto replace defaultBeanSerializerwith XML-specific one; mostly to ensure that attribute properties are output before element properties.XmlFactory Factory used for constructingFromXmlParserandToXmlGeneratorinstances.XmlInfo Helper container class used to contain XML specific information we need to retain to construct proper bean serializerXmlJaxbAnnotationIntrospector AlternativeAnnotationIntrospectorimplementation that builds onJaxbAnnotationIntrospector.XmlMapper CustomizedObjectMapperthat will read and write XML instead of JSON, using XML-backedJsonFactoryimplementation (XmlFactory).XmlPrettyPrinter There are some XML-specific quirks that need extra TLC when indenting: so we will use a refinement of general purpose one.XmlReadContext Extension ofJsonStreamContext, which implements core methods needed, and adds small amount of additional state data we need.XmlRootNameLookup Helper class used for efficiently finding root element name used with XML serializations.XmlSerializerProvider We need to override some parts ofSerializerProviderimplementation to handle oddities of XML output, like "extra" root element.XmlStringDeserializer Custom variant used instead of "plain"StringDeserializerto handle couple of edge cases that XML parser exposes.XmlTextDeserializer Delegating deserializer that is used in the special cases where we may sometimes see a "plain" String value but need to map it as if it was a property of POJO.XmlTokenStream Simple helper class used on top of STAXXMLStreamReaderto 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 tokensXmlTypeResolverBuilder Custom specialization ofStdTypeResolverBuilder; needed so that type id property name can be modified as necessary to make it legal XML element or attribute name.XmlTypeResolverBuilder.XmlClassNameIdResolver XmlTypeResolverBuilder.XmlMinimalClassNameIdResolver