Class MxWriteParams
- java.lang.Object
-
- com.prowidesoftware.swift.model.mx.MxWriteParams
-
public class MxWriteParams extends java.lang.ObjectSimple 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 TypeAdaptersConfigurationadaptersSpecific adapters for date time, date, timejakarta.xml.bind.JAXBContextcontextOptional instance to pass to the write method, if null, a new instance will be created when neededEscapeHandlerescapeHandlerA specific escape handler for the header elements content (none by default)booleanincludeXMLDeclarationTrue to include the XML declaration (false by default)java.lang.StringindentOptional indent string to use when marshalling into XML, if null, a four spaces string will be used as defaultjava.lang.StringprefixOptional prefix for namespace (empty by default)
-
Constructor Summary
Constructors Constructor Description MxWriteParams()
-
-
-
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
-
adapters
public TypeAdaptersConfiguration adapters
Specific adapters for date time, date, time
-
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
-
-