Package org.docx4j.model.datastorage
Class CustomXmlDataStorageImpl
java.lang.Object
org.docx4j.openpackaging.Base
org.docx4j.openpackaging.parts.Part
org.docx4j.openpackaging.parts.XmlPart
org.docx4j.model.datastorage.CustomXmlDataStorageImpl
- All Implemented Interfaces:
CustomXmlDataStorage
public class CustomXmlDataStorageImpl extends XmlPart implements CustomXmlDataStorage
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CustomXmlDataStorageImpl() -
Method Summary
Modifier and Type Method Description CustomXmlDataStoragefactory()Create this object.org.w3c.dom.DocumentgetDocument()Write the contents of this object to the org.w3c.dom.DocumentvoidwriteDocument(java.io.OutputStream os)Write the contents of this object to the output streamMethods inherited from class org.docx4j.openpackaging.parts.XmlPart
cachedXPathGetString, discardCacheXPathObject, getXML, isContentEqual, setDocument, setDocument, setNodeValueAtXPath, xpathGetNodes, xpathGetStringMethods inherited from class org.docx4j.openpackaging.parts.Part
getContentLengthAsLoaded, getOwningRelationshipPart, getPackage, getRelationshipType, getSourceRelationship, getSourceRelationships, getVersion, remove, rename, setContentLengthAsLoaded, setOwningRelationshipPart, setPackage, setPartShortcut, setRelationshipType, setSourceRelationship, setVersionMethods inherited from class org.docx4j.openpackaging.Base
addTargetPart, addTargetPart, addTargetPart, addTargetPart, getContentType, getPartName, getRelationshipsPart, getRelationshipsPart, getUserData, reset, setContentType, setPartName, setRelationships, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.docx4j.model.datastorage.CustomXmlDataStorage
cachedXPathGetString, discardCacheXPathObject, getXML, setDocument, setDocument, setNodeValueAtXPath, xpathGetNodes, xpathGetString
-
Constructor Details
-
Method Details
-
factory
Description copied from interface:CustomXmlDataStorageCreate this object.- Specified by:
factoryin interfaceCustomXmlDataStorage- Returns:
-
writeDocument
Description copied from interface:CustomXmlDataStorageWrite the contents of this object to the output stream- Specified by:
writeDocumentin interfaceCustomXmlDataStorage- Throws:
Docx4JException
-
getDocument
Description copied from interface:CustomXmlDataStorageWrite the contents of this object to the org.w3c.dom.Document- Specified by:
getDocumentin interfaceCustomXmlDataStorage- Specified by:
getDocumentin classXmlPart- Throws:
Docx4JException
-