@Target(value={FIELD,METHOD})
@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 boolean xsiNilRepresentsNull
public abstract boolean emptyNodeRepresentsNull
public abstract boolean isSetPerformedForAbsentNode
public abstract XmlMarshalNullRepresentation nullRepresentationForXml