Package org.docx4j.xmlPackage
Class XmlData
java.lang.Object
org.docx4j.xmlPackage.XmlData
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAny()Gets the value of the any property.Gets the value of the originalXmlEncoding property.Gets the value of the originalXmlStandalone property.Gets the value of the originalXmlVersion property.voidSets the value of the any property.voidsetOriginalXmlEncoding(String value) Sets the value of the originalXmlEncoding property.voidsetOriginalXmlStandalone(String value) Sets the value of the originalXmlStandalone property.voidsetOriginalXmlVersion(String value) Sets the value of the originalXmlVersion property.
-
Field Details
-
any
-
originalXmlEncoding
-
originalXmlVersion
-
originalXmlStandalone
-
-
Constructor Details
-
XmlData
public XmlData()
-
-
Method Details
-
getAny
Gets the value of the any property.- Returns:
- possible object is
Element
-
setAny
Sets the value of the any property.- Parameters:
value- allowed object isElement
-
getOriginalXmlEncoding
Gets the value of the originalXmlEncoding property.- Returns:
- possible object is
String
-
setOriginalXmlEncoding
Sets the value of the originalXmlEncoding property.- Parameters:
value- allowed object isString
-
getOriginalXmlVersion
Gets the value of the originalXmlVersion property.- Returns:
- possible object is
String
-
setOriginalXmlVersion
Sets the value of the originalXmlVersion property.- Parameters:
value- allowed object isString
-
getOriginalXmlStandalone
Gets the value of the originalXmlStandalone property.- Returns:
- possible object is
String
-
setOriginalXmlStandalone
Sets the value of the originalXmlStandalone property.- Parameters:
value- allowed object isString
-