|
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.UnmarshallerProperties
public class UnmarshallerProperties
These are properties that may be set on an instance of Unmarshaller. Below is an example of using the property mechanism to enable MOXy's JSON binding for an instance of Unmarshaller.
Unmarshaller unmarshaller = jaxbContext.createUnmarshaller(); unmarshaller.setProperty(UnmarshallerProperties.MEDIA_TYPE, "application/json");
Field Summary | |
---|---|
static java.lang.String |
ID_RESOLVER
The Constant ID_RESOLVER. |
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_PREFIX_MAPPER
The Constant JSON_NAMESPACE_PREFIX_MAPPER. |
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. |
Constructor Summary | |
---|---|
UnmarshallerProperties()
|
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 JSON_NAMESPACE_PREFIX_MAPPER
public static final java.lang.String MEDIA_TYPE
public static final java.lang.String ID_RESOLVER
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_VALUE_WRAPPER
public static final java.lang.String JSON_NAMESPACE_SEPARATOR
Constructor Detail |
---|
public UnmarshallerProperties()
|
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 |