Top Description Methods
org.eclipse.persistence.oxm.annotations

public @Interface XmlNullPolicy

extends Annotation
Annotations
@Target:FIELD, METHOD, TYPE, PACKAGE
@Retention:RUNTIME
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

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. The following values can be specified:

See Also
XmlNullPolicy, XmlMarshalNullRepresentation

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean
public XmlMarshalNullRepresentation
public boolean
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

emptyNodeRepresentsNullback to summary
public boolean emptyNodeRepresentsNull()
isSetPerformedForAbsentNodeback to summary
public boolean isSetPerformedForAbsentNode()
nullRepresentationForXmlback to summary
public XmlMarshalNullRepresentation nullRepresentationForXml()
xsiNilRepresentsNullback to summary
public boolean xsiNilRepresentsNull()