public class MxWriteConfiguration
extends java.lang.Object
AbstractMX
and its specific types subclasses.| Modifier and Type | Field and Description |
|---|---|
TypeAdaptersConfiguration |
adapters
Type adapters for the marshaller
|
javax.xml.bind.JAXBContext |
context
Optional instance to pass to the write method, if null, a new instance will be created when needed
|
java.lang.String |
documentPrefix
The prefix for the document namespace.
|
EscapeHandler |
escapeHandler
Enables switching between different implementations for the element and attributes value escaping.
|
java.lang.String |
headerPrefix
The prefix for the header namespace.
|
boolean |
includeXMLDeclaration
Determines if the XML will include the XML declaration as first line.
|
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 |
rootElement
The name of the envelope element that binds a Header to the message to which it applies is
implementation/network specific.
|
| Constructor and Description |
|---|
MxWriteConfiguration()
Creates a configuration with the default options and adapters
|
MxWriteConfiguration(javax.xml.bind.JAXBContext context) |
MxWriteConfiguration(MxReadConfiguration readConf)
Creates a configuration with the default options and propagates the adapters from read to write configuration
|
public java.lang.String rootElement
AbstractMX.DEFAULT_ROOT_ELEMENT
is used as defaultpublic boolean includeXMLDeclaration
public EscapeHandler escapeHandler
public java.lang.String headerPrefix
public java.lang.String documentPrefix
public TypeAdaptersConfiguration adapters
public javax.xml.bind.JAXBContext context
public java.lang.String indent
public MxWriteConfiguration()
public MxWriteConfiguration(javax.xml.bind.JAXBContext context)
public MxWriteConfiguration(MxReadConfiguration readConf)