Class MxWriteParams


  • public class MxWriteParams
    extends java.lang.Object
    Simple DTO to encapsulate parameters in the different model-to-XML serialization implementation methods in the API
    Since:
    9.2.6
    • Field Summary

      Fields 
      Modifier and Type Field Description
      TypeAdaptersConfiguration adapters
      Specific adapters for date time, date, time
      jakarta.xml.bind.JAXBContext context
      Optional instance to pass to the write method, if null, a new instance will be created when needed
      EscapeHandler escapeHandler
      A specific escape handler for the header elements content (none by default)
      boolean includeXMLDeclaration
      True to include the XML declaration (false by default)
      java.lang.String indent
      Optional indent string to use when marshalling into XML, if null, a four spaces string will be used as default
      java.lang.String prefix
      Optional prefix for namespace (empty by default)
    • Constructor Summary

      Constructors 
      Constructor Description
      MxWriteParams()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • prefix

        public java.lang.String prefix
        Optional prefix for namespace (empty by default)
      • includeXMLDeclaration

        public boolean includeXMLDeclaration
        True to include the XML declaration (false by default)
      • escapeHandler

        public EscapeHandler escapeHandler
        A specific escape handler for the header elements content (none by default)
      • context

        public jakarta.xml.bind.JAXBContext context
        Optional instance to pass to the write method, if null, a new instance will be created when needed
        Since:
        9.3.5
      • indent

        public java.lang.String indent
        Optional indent string to use when marshalling into XML, if null, a four spaces string will be used as default
        Since:
        9.3.6
    • Constructor Detail

      • MxWriteParams

        public MxWriteParams()