java.lang.Object
dev.relism.flash.ext.jackson.Codec
dev.relism.flash.ext.jackson.xml.Xml

public final class Xml extends dev.relism.flash.ext.jackson.Codec
XML in and out, checked against the body type's own constraints.

The same databind model as every other Jackson format: a type is annotated once and can be read as XML here and as JSON elsewhere in the same application. XML's own concerns — a root element name, an attribute rather than an element, how a list is wrapped — are Jackson's @JacksonXml* annotations on the type.

  • Constructor Details

    • Xml

      public Xml(com.fasterxml.jackson.dataformat.xml.XmlMapper mapper)