Class XmlData

java.lang.Object
org.docx4j.xmlPackage.XmlData

public class XmlData
extends java.lang.Object
Specifies the details of an xml part.

Java class for CT_XmlData complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_XmlData">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <any/>
       </sequence>
       <attribute name="originalXmlEncoding" type="{http://www.w3.org/2001/XMLSchema}string" default="UTF-8" />
       <attribute name="originalXmlVersion" type="{http://www.w3.org/2001/XMLSchema}string" default="1.0" />
       <attribute name="originalXmlStandalone" type="{http://www.w3.org/2001/XMLSchema}string" default="yes" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected org.w3c.dom.Element any  
    protected java.lang.String originalXmlEncoding  
    protected java.lang.String originalXmlStandalone  
    protected java.lang.String originalXmlVersion  
  • Constructor Summary

    Constructors
    Constructor Description
    XmlData()  
  • Method Summary

    Modifier and Type Method Description
    org.w3c.dom.Element getAny()
    Gets the value of the any property.
    java.lang.String getOriginalXmlEncoding()
    Gets the value of the originalXmlEncoding property.
    java.lang.String getOriginalXmlStandalone()
    Gets the value of the originalXmlStandalone property.
    java.lang.String getOriginalXmlVersion()
    Gets the value of the originalXmlVersion property.
    void setAny​(org.w3c.dom.Element value)
    Sets the value of the any property.
    void setOriginalXmlEncoding​(java.lang.String value)
    Sets the value of the originalXmlEncoding property.
    void setOriginalXmlStandalone​(java.lang.String value)
    Sets the value of the originalXmlStandalone property.
    void setOriginalXmlVersion​(java.lang.String value)
    Sets the value of the originalXmlVersion property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • any

      protected org.w3c.dom.Element any
    • originalXmlEncoding

      protected java.lang.String originalXmlEncoding
    • originalXmlVersion

      protected java.lang.String originalXmlVersion
    • originalXmlStandalone

      protected java.lang.String originalXmlStandalone
  • Constructor Details

    • XmlData

      public XmlData()
  • Method Details

    • getAny

      public org.w3c.dom.Element getAny()
      Gets the value of the any property.
      Returns:
      possible object is Element
    • setAny

      public void setAny​(org.w3c.dom.Element value)
      Sets the value of the any property.
      Parameters:
      value - allowed object is Element
    • getOriginalXmlEncoding

      public java.lang.String getOriginalXmlEncoding()
      Gets the value of the originalXmlEncoding property.
      Returns:
      possible object is String
    • setOriginalXmlEncoding

      public void setOriginalXmlEncoding​(java.lang.String value)
      Sets the value of the originalXmlEncoding property.
      Parameters:
      value - allowed object is String
    • getOriginalXmlVersion

      public java.lang.String getOriginalXmlVersion()
      Gets the value of the originalXmlVersion property.
      Returns:
      possible object is String
    • setOriginalXmlVersion

      public void setOriginalXmlVersion​(java.lang.String value)
      Sets the value of the originalXmlVersion property.
      Parameters:
      value - allowed object is String
    • getOriginalXmlStandalone

      public java.lang.String getOriginalXmlStandalone()
      Gets the value of the originalXmlStandalone property.
      Returns:
      possible object is String
    • setOriginalXmlStandalone

      public void setOriginalXmlStandalone​(java.lang.String value)
      Sets the value of the originalXmlStandalone property.
      Parameters:
      value - allowed object is String