Class OdfContentOrStylesDomBase

    • Constructor Detail

      • OdfContentOrStylesDomBase

        public OdfContentOrStylesDomBase​(OdfPackageDocument packageDocument,
                                         String packagePath)
      • OdfContentOrStylesDomBase

        public OdfContentOrStylesDomBase​(OdfPackage pkg,
                                         String packagePath)
    • Method Detail

      • getXPath

        public XPath getXPath()
        Creates an JDK XPath instance. Initialized with ODF namespaces from OdfDocumentNamespace. Updated with all namespace of the XML file.
        Overrides:
        getXPath in class OdfFileDom
        Returns:
        an XPath instance with namespace context set to include the standard ODFDOM prefixes.