|
EclipseLink 2.4.0, build 'v20120509-r11325' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.jaxb.MarshallerProperties
public class MarshallerProperties
These are properties that may be set on an instance of Marshaller. Below is an example of using the property mechanism to enable MOXy's JSON binding for an instance of Marshaller.
Marshaller marshaller = jaxbContext.createMarshaller(); marshaller.setProperty(MarshallerProperties.MEDIA_TYPE, "application/json");
Field Summary | |
---|---|
static java.lang.String |
CHARACTER_ESCAPE_HANDLER
The Constant CHARACTER_ESCAPE_HANDLER. |
static java.lang.String |
INDENT_STRING
The Constant INDENT_STRING. |
static java.lang.String |
JSON_ATTRIBUTE_PREFIX
The Constant JSON_ATTRIBUTE_PREFIX. |
static java.lang.String |
JSON_INCLUDE_ROOT
The Constant JSON_INCLUDE_ROOT. |
static java.lang.String |
JSON_NAMESPACE_SEPARATOR
The Constant JSON_NAMESPACE_SEPARATOR. |
static java.lang.String |
JSON_VALUE_WRAPPER
The Constant JSON_VALUE_WRAPPER. |
static java.lang.String |
MEDIA_TYPE
The Constant MEDIA_TYPE. |
static java.lang.String |
NAMESPACE_PREFIX_MAPPER
The Constant NAMESPACE_PREFIX_MAPPER. |
Constructor Summary | |
---|---|
MarshallerProperties()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CHARACTER_ESCAPE_HANDLER
public static final java.lang.String INDENT_STRING
public static final java.lang.String JSON_ATTRIBUTE_PREFIX
public static final java.lang.String JSON_INCLUDE_ROOT
public static final java.lang.String JSON_NAMESPACE_SEPARATOR
public static final java.lang.String JSON_VALUE_WRAPPER
public static final java.lang.String MEDIA_TYPE
public static final java.lang.String NAMESPACE_PREFIX_MAPPER
Constructor Detail |
---|
public MarshallerProperties()
|
EclipseLink 2.4.0, build 'v20120509-r11325' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |