org.eclipse.persistence.jaxb
Class MarshallerProperties
java.lang.Object
org.eclipse.persistence.jaxb.MarshallerProperties
public class MarshallerProperties
- extends java.lang.Object
These are properties that may be set on an instance of Marshaller:
Marshaller marshaller = jaxbContext.createMarshaller();
marshaller.setProperty();
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHARACTER_ESCAPE_HANDLER
public static final java.lang.String CHARACTER_ESCAPE_HANDLER
- The Constant CHARACTER_ESCAPE_HANDLER. Allows for customization of character escaping when marshalling.
Value should be an implementation of org.eclipse.persistence.oxm.CharacterEscapeHandler.
- See Also:
- Constant Field Values
- Since:
- 2.3.3
INDENT_STRING
public static final java.lang.String INDENT_STRING
- The Constant INDENT_STRING. Property used to set the string used when indenting formatted marshalled documents.
The default for formatted documents is " " (three spaces).
- See Also:
- Constant Field Values
- Since:
- 2.3.3
NAMESPACE_PREFIX_MAPPER
public static final java.lang.String NAMESPACE_PREFIX_MAPPER
- The Constant NAMESPACE_PREFIX_MAPPER. Provides a means to customize the namespace prefixes used
while marshalling to XML. Used for both marshal and unmarshal when mediaType is set to "application/json".
Value is either a Map of URIs to prefixes, or an implementation of
org.eclipse.persistence.oxm.NamespacePrefixMapper.
- See Also:
- Constant Field Values
- Since:
- 2.3.3
MarshallerProperties
public MarshallerProperties()