Module org.eclipse.persistence.moxy
Class XmlAbstractNullPolicy
java.lang.Object
org.eclipse.persistence.jaxb.xmlmodel.XmlAbstractNullPolicy
- Direct Known Subclasses:
XmlIsSetNullPolicy
,XmlNullPolicy
Java class for xml-abstract-null-policy complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="xml-abstract-null-policy"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="xsi-nil-represents-null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="empty-node-represents-null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="null-representation-for-xml" type="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-marshal-null-representation" default="ABSENT_NODE" /> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected Boolean
protected XmlMarshalNullRepresentation
protected Boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the nullRepresentationForXml property.boolean
Gets the value of the emptyNodeRepresentsNull property.boolean
Gets the value of the xsiNilRepresentsNull property.void
Sets the value of the emptyNodeRepresentsNull property.void
Sets the value of the nullRepresentationForXml property.void
setXsiNilRepresentsNull
(Boolean value) Sets the value of the xsiNilRepresentsNull property.
-
Field Details
-
xsiNilRepresentsNull
-
emptyNodeRepresentsNull
-
nullRepresentationForXml
-
-
Constructor Details
-
XmlAbstractNullPolicy
public XmlAbstractNullPolicy()
-
-
Method Details
-
isXsiNilRepresentsNull
public boolean isXsiNilRepresentsNull()Gets the value of the xsiNilRepresentsNull property.- Returns:
- possible object is
Boolean
-
setXsiNilRepresentsNull
Sets the value of the xsiNilRepresentsNull property.- Parameters:
value
- allowed object isBoolean
-
isEmptyNodeRepresentsNull
public boolean isEmptyNodeRepresentsNull()Gets the value of the emptyNodeRepresentsNull property.- Returns:
- possible object is
Boolean
-
setEmptyNodeRepresentsNull
Sets the value of the emptyNodeRepresentsNull property.- Parameters:
value
- allowed object isBoolean
-
getNullRepresentationForXml
Gets the value of the nullRepresentationForXml property.- Returns:
- possible object is
XmlMarshalNullRepresentation
-
setNullRepresentationForXml
Sets the value of the nullRepresentationForXml property.- Parameters:
value
- allowed object isXmlMarshalNullRepresentation
-