Class XmlAbstractNullPolicy

java.lang.Object
org.eclipse.persistence.jaxb.xmlmodel.XmlAbstractNullPolicy
Direct Known Subclasses:
XmlIsSetNullPolicy, XmlNullPolicy

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>
 
  • Field Details

    • xsiNilRepresentsNull

      protected Boolean xsiNilRepresentsNull
    • emptyNodeRepresentsNull

      protected Boolean emptyNodeRepresentsNull
    • nullRepresentationForXml

      protected XmlMarshalNullRepresentation 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

      public void setXsiNilRepresentsNull(Boolean value)
      Sets the value of the xsiNilRepresentsNull property.
      Parameters:
      value - allowed object is Boolean
    • isEmptyNodeRepresentsNull

      public boolean isEmptyNodeRepresentsNull()
      Gets the value of the emptyNodeRepresentsNull property.
      Returns:
      possible object is Boolean
    • setEmptyNodeRepresentsNull

      public void setEmptyNodeRepresentsNull(Boolean value)
      Sets the value of the emptyNodeRepresentsNull property.
      Parameters:
      value - allowed object is Boolean
    • 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 is XmlMarshalNullRepresentation