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>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
emptyNodeRepresentsNull |
protected XmlMarshalNullRepresentation |
nullRepresentationForXml |
protected java.lang.Boolean |
xsiNilRepresentsNull |
| Constructor and Description |
|---|
XmlAbstractNullPolicy() |
| Modifier and Type | Method and 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.
|
protected java.lang.Boolean xsiNilRepresentsNull
protected java.lang.Boolean emptyNodeRepresentsNull
protected XmlMarshalNullRepresentation nullRepresentationForXml
public boolean isXsiNilRepresentsNull()
Booleanpublic void setXsiNilRepresentsNull(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isEmptyNodeRepresentsNull()
Booleanpublic void setEmptyNodeRepresentsNull(java.lang.Boolean value)
value - allowed object is
Booleanpublic XmlMarshalNullRepresentation getNullRepresentationForXml()
XmlMarshalNullRepresentationpublic void setNullRepresentationForXml(XmlMarshalNullRepresentation value)
value - allowed object is
XmlMarshalNullRepresentation