XML Serializers

The {@link oaj.xml.XmlSerializer} class is used to serialize POJOs into XML.

The {@link oaj.xml.XmlDocSerializer} class is the same, but serializes a <?xml?> header at the top of the file.

The XML serializers provide the following settings:

- {@doc GlossaryConfigurableProperties Configurable Properties}
- {@link oaj.xml.XmlSerializer}
  - {@link oaj.xml.XmlSerializer#XML_addBeanTypes XML_addBeanTypes}
  - {@link oaj.xml.XmlSerializer#XML_addNamespaceUrisToRoot XML_addNamespaceUrisToRoot}
  - {@link oaj.xml.XmlSerializer#XML_autoDetectNamespaces XML_autoDetectNamespaces}
  - {@link oaj.xml.XmlSerializer#XML_defaultNamespace XML_defaultNamespace}
  - {@link oaj.xml.XmlSerializer#XML_enableNamespaces XML_enableNamespaces}
  - {@link oaj.xml.XmlSerializer#XML_namespaces XML_namespaces}
  - {@link oaj.xml.XmlSerializer#XML_xsNamespace XML_xsNamespace}

The following pre-configured serializers are provided for convenience:

- {@link oaj.xml.XmlSerializer}
  - {@link oaj.xml.XmlSerializer#DEFAULT DEFAULT}
  - {@link oaj.xml.XmlSerializer#DEFAULT_JUNEAU_NAMESPACE DEFAULT_JUNEAU_NAMESPACE}
  - {@link oaj.xml.XmlSerializer#DEFAULT_NS DEFAULT_NS}
  - {@link oaj.xml.XmlSerializer#DEFAULT_NS_SQ DEFAULT_NS_SQ}
  - {@link oaj.xml.XmlSerializer#DEFAULT_NS_SQ_READABLE DEFAULT_NS_SQ_READABLE}
  - {@link oaj.xml.XmlSerializer#DEFAULT_SQ DEFAULT_SQ}
  - {@link oaj.xml.XmlSerializer#DEFAULT_SQ_READABLE DEFAULT_SQ_READABLE}
  - {@link oaj.xml.XmlSerializer#DEFAULT_XS_NAMESPACE DEFAULT_XS_NAMESPACE}