Class XmlAbstractNullPolicy
- java.lang.Object
-
- org.eclipse.persistence.jaxb.xmlmodel.XmlAbstractNullPolicy
-
- Direct Known Subclasses:
XmlIsSetNullPolicy
,XmlNullPolicy
public abstract class XmlAbstractNullPolicy extends java.lang.Object
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
Fields Modifier and Type Field Description protected java.lang.Boolean
emptyNodeRepresentsNull
protected XmlMarshalNullRepresentation
nullRepresentationForXml
protected java.lang.Boolean
xsiNilRepresentsNull
-
Constructor Summary
Constructors Constructor Description XmlAbstractNullPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlMarshalNullRepresentation
getNullRepresentationForXml()
Gets the value of the nullRepresentationForXml property.boolean
isEmptyNodeRepresentsNull()
Gets the value of the emptyNodeRepresentsNull property.boolean
isXsiNilRepresentsNull()
Gets the value of the xsiNilRepresentsNull property.void
setEmptyNodeRepresentsNull(java.lang.Boolean value)
Sets the value of the emptyNodeRepresentsNull property.void
setNullRepresentationForXml(XmlMarshalNullRepresentation value)
Sets the value of the nullRepresentationForXml property.void
setXsiNilRepresentsNull(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
-
-