|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.CoreDocumentImpl
org.apache.xerces.dom.DocumentImpl
org.odftoolkit.odfdom.pkg.OdfFileDom
org.odftoolkit.odfdom.dom.OdfStylesDom
public class OdfStylesDom
The DOM repesentation of the ODF styles.xml file of an ODF document.
| Field Summary |
|---|
| Fields inherited from class org.odftoolkit.odfdom.pkg.OdfFileDom |
|---|
mDuplicatePrefixesByUri, mPackage, mPackageDocument, mPackagePath, mPrefixByUri, mUriByPrefix, mXPath |
| Fields inherited from class org.apache.xerces.dom.DocumentImpl |
|---|
eventListeners, iterators, mutationEvents, ranges |
| Fields inherited from class org.apache.xerces.dom.CoreDocumentImpl |
|---|
actualEncoding, allowGrammarAccess, changes, docElement, docType, encoding, errorChecking, fDocumentURI, identifiers, standalone, userData, version, xmlVersionChanged |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
|---|
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
|---|
nextSibling, previousSibling |
| Constructor Summary | |
|---|---|
OdfStylesDom(OdfSchemaDocument odfDocument,
String packagePath)
Creates the DOM representation of an XML file of an Odf document. |
|
| Method Summary | |
|---|---|
OdfSchemaDocument |
getDocument()
Retrieves the Odf Document |
OfficeDocumentStylesElement |
getRootElement()
* @return The root element OfficeDocumentStylesElement. |
XPath |
getXPath()
Creates an JDK XPath instance. |
protected void |
initialize()
Might be used to initialize specific XML Namespace prefixes/URIs for this XML file |
| Methods inherited from class org.odftoolkit.odfdom.pkg.OdfFileDom |
|---|
createAttribute, createAttributeNS, createAttributeNS, createElement, createElementNS, createElementNS, getAutomaticStyles, getNamespaceURI, getOfficeStyles, getOrCreateAutomaticStyles, getPackagePath, getPrefix, getPrefixes, newFileDom, newOdfElement, setNamespace, setNamespace, toString |
| Methods inherited from class org.apache.xerces.dom.DocumentImpl |
|---|
addEventListener, cloneNode, copyEventListeners, createEvent, createNodeIterator, createNodeIterator, createRange, createTreeWalker, createTreeWalker, dispatchAggregateEvents, dispatchAggregateEvents, dispatchEvent, dispatchEventToSubtree, dispatchingEventToSubtree, getEventListeners, getImplementation, removeEventListener, saveEnclosingAttr, setEventListeners |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
|---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, hasChildNodes, isEqualNode, item, normalize, setOwnerDocument, setReadOnly, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
|---|
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
|---|
addEventListener, appendChild, compareDocumentPosition, compareTreePosition, dispatchEvent, getAttributes, getContainer, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, getUserDataRecord, hasAttributes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, setUserData, setUserData, synchronizeData |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, compareDocumentPosition, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, setNodeValue, setPrefix, setUserData |
| Constructor Detail |
|---|
public OdfStylesDom(OdfSchemaDocument odfDocument,
String packagePath)
odfDocument - the document the XML files belongs topackagePath - the internal package path to the XML file| Method Detail |
|---|
protected void initialize()
initialize in class OdfFileDompublic OdfSchemaDocument getDocument()
getDocument in class OdfFileDomOdfDocumentpublic OfficeDocumentStylesElement getRootElement()
OfficeDocumentStylesElement.
getRootElement in class OdfFileDomOdfElement being the root of the document.public XPath getXPath()
XPath instance.
Initialized with ODF namespaces from OdfDocumentNamespace. Updated with all namespace of the XML file.
getXPath in class OdfFileDom
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||