|
Oracle® Fusion Middleware Java API Reference for EclipseLink 11g Release 1 (11.1.1) E26376-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface XmlIsSetNullPolicy
Purpose: Provide a means of using annotations to customise the handling of null values and their xml representation.
This annotation provides the user with a mechanism to customise the way that EclipseLink handles the reading and writing of null values. This version of NullPolicy makes use of an isSet method to differentiate between values that were explicitly set to null vs values which are null due to being unset. In this case the marshal behaviour specified by the nullRepresentationForXml will only be used if the property was set. A set is only performed during unmarshal if an element was present in the document. The following values can be specified:
"<element/>"
should be unmarshalled to as null in the object model.XmlNullPolicy
, XmlMarshalNullRepresentation
, XmlParameter
Required Element Summary | |
---|---|
java.lang.String |
isSetMethodName |
Optional Element Summary | |
---|---|
boolean |
emptyNodeRepresentsNull |
XmlParameter[] |
isSetParameters |
XmlMarshalNullRepresentation |
nullRepresentationForXml |
boolean |
xsiNilRepresentsNull |
Element Detail |
---|
public abstract java.lang.String isSetMethodName
public abstract boolean xsiNilRepresentsNull
public abstract boolean emptyNodeRepresentsNull
public abstract XmlMarshalNullRepresentation nullRepresentationForXml
public abstract XmlParameter[] isSetParameters
|
Oracle® Fusion Middleware Java API Reference for EclipseLink 11g Release 1 (11.1.1) E26376-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |