@Target(value={FIELD,METHOD,TYPE,PACKAGE}) @Retention(value=RUNTIME) public @interface XmlNullPolicy
This annotation provides the user with a mechanism to customise the way that EclipseLink handles the reading and writing of null values. The following values can be specified:
"<element/>"
should be unmarshalled to as null in the object model.XmlNullPolicy
,
XmlMarshalNullRepresentation
Modifier and Type | Optional Element and Description |
---|---|
boolean |
emptyNodeRepresentsNull |
boolean |
isSetPerformedForAbsentNode |
XmlMarshalNullRepresentation |
nullRepresentationForXml |
boolean |
xsiNilRepresentsNull |
public abstract XmlMarshalNullRepresentation nullRepresentationForXml
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.