Class XmlAbstractNullPolicy
- java.lang.Object
-
- org.eclipse.persistence.jaxb.xmlmodel.XmlAbstractNullPolicy
-
- Direct Known Subclasses:
XmlIsSetNullPolicy,XmlNullPolicy
public abstract class XmlAbstractNullPolicy extends java.lang.ObjectJava 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
Fields Modifier and Type Field Description protected java.lang.BooleanemptyNodeRepresentsNullprotected XmlMarshalNullRepresentationnullRepresentationForXmlprotected java.lang.BooleanxsiNilRepresentsNull
-
Constructor Summary
Constructors Constructor Description XmlAbstractNullPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlMarshalNullRepresentationgetNullRepresentationForXml()Gets the value of the nullRepresentationForXml property.booleanisEmptyNodeRepresentsNull()Gets the value of the emptyNodeRepresentsNull property.booleanisXsiNilRepresentsNull()Gets the value of the xsiNilRepresentsNull property.voidsetEmptyNodeRepresentsNull(java.lang.Boolean value)Sets the value of the emptyNodeRepresentsNull property.voidsetNullRepresentationForXml(XmlMarshalNullRepresentation value)Sets the value of the nullRepresentationForXml property.voidsetXsiNilRepresentsNull(java.lang.Boolean value)Sets the value of the xsiNilRepresentsNull property.
-
-
-
Field Detail
-
xsiNilRepresentsNull
protected java.lang.Boolean xsiNilRepresentsNull
-
emptyNodeRepresentsNull
protected java.lang.Boolean emptyNodeRepresentsNull
-
nullRepresentationForXml
protected XmlMarshalNullRepresentation nullRepresentationForXml
-
-
Method Detail
-
isXsiNilRepresentsNull
public boolean isXsiNilRepresentsNull()
Gets the value of the xsiNilRepresentsNull property.- Returns:
- possible object is
Boolean
-
setXsiNilRepresentsNull
public void setXsiNilRepresentsNull(java.lang.Boolean value)
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
public void setEmptyNodeRepresentsNull(java.lang.Boolean value)
Sets the value of the emptyNodeRepresentsNull property.- Parameters:
value- allowed object isBoolean
-
getNullRepresentationForXml
public XmlMarshalNullRepresentation getNullRepresentationForXml()
Gets the value of the nullRepresentationForXml property.- Returns:
- possible object is
XmlMarshalNullRepresentation
-
setNullRepresentationForXml
public void setNullRepresentationForXml(XmlMarshalNullRepresentation value)
Sets the value of the nullRepresentationForXml property.- Parameters:
value- allowed object isXmlMarshalNullRepresentation
-
-