public abstract class XmlAbstractNullPolicy extends 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 Boolean |
emptyNodeRepresentsNull |
protected XmlMarshalNullRepresentation |
nullRepresentationForXml |
protected 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(Boolean value)
Sets the value of the emptyNodeRepresentsNull property.
|
void |
setNullRepresentationForXml(XmlMarshalNullRepresentation value)
Sets the value of the nullRepresentationForXml property.
|
void |
setXsiNilRepresentsNull(Boolean value)
Sets the value of the xsiNilRepresentsNull property.
|
protected Boolean xsiNilRepresentsNull
protected Boolean emptyNodeRepresentsNull
protected XmlMarshalNullRepresentation nullRepresentationForXml
public boolean isXsiNilRepresentsNull()
Booleanpublic void setXsiNilRepresentsNull(Boolean value)
value - allowed object is
Booleanpublic boolean isEmptyNodeRepresentsNull()
Booleanpublic void setEmptyNodeRepresentsNull(Boolean value)
value - allowed object is
Booleanpublic XmlMarshalNullRepresentation getNullRepresentationForXml()
XmlMarshalNullRepresentationpublic void setNullRepresentationForXml(XmlMarshalNullRepresentation value)
value - allowed object is
XmlMarshalNullRepresentationCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.