Class XmlData

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

public class XmlData extends 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 Details

    • any

      protected Element any
    • originalXmlEncoding

      protected String originalXmlEncoding
    • originalXmlVersion

      protected String originalXmlVersion
    • originalXmlStandalone

      protected String originalXmlStandalone
  • Constructor Details

    • XmlData

      public XmlData()
  • Method Details

    • getAny

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

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

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

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

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

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

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

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