Package org.docx4j.openpackaging.parts
Class ActiveXControlXmlPart
java.lang.Object
org.docx4j.openpackaging.Base
org.docx4j.openpackaging.parts.Part
org.docx4j.openpackaging.parts.XmlPart
org.docx4j.openpackaging.parts.ActiveXControlXmlPart
public class ActiveXControlXmlPart extends XmlPart
OPC Parts are either XML, or binary (or text) documents.
Most are XML documents.
docx4j aims to represent XML parts using JAXB. However,
at present there are some parts for which we don't have
JAXB representations.
Until such time as a JAXB representation for an XML Part exists,
the Part should extend this class.
-
Field Summary
Fields inherited from class org.docx4j.openpackaging.Base
contentType, partName, relationships
-
Constructor Summary
Constructors Constructor Description ActiveXControlXmlPart()
ActiveXControlXmlPart(PartName partName)
-
Method Summary
Modifier and Type Method Description org.w3c.dom.Document
getDocument()
void
init()
Methods inherited from class org.docx4j.openpackaging.parts.XmlPart
cachedXPathGetString, discardCacheXPathObject, getXML, isContentEqual, setDocument, setDocument, setNodeValueAtXPath, xpathGetNodes, xpathGetString
Methods inherited from class org.docx4j.openpackaging.parts.Part
getContentLengthAsLoaded, getOwningRelationshipPart, getPackage, getRelationshipType, getSourceRelationship, getSourceRelationships, getVersion, remove, rename, setContentLengthAsLoaded, setOwningRelationshipPart, setPackage, setPartShortcut, setRelationshipType, setSourceRelationship, setVersion
Methods inherited from class org.docx4j.openpackaging.Base
addTargetPart, addTargetPart, addTargetPart, addTargetPart, getContentType, getPartName, getRelationshipsPart, getRelationshipsPart, getUserData, reset, setContentType, setPartName, setRelationships, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ActiveXControlXmlPart
- Throws:
InvalidFormatException
-
ActiveXControlXmlPart
- Throws:
InvalidFormatException
-
-
Method Details
-
init
public void init() -
getDocument
- Specified by:
getDocument
in classXmlPart
- Throws:
Docx4JException
-