Class DomToXPathMap

java.lang.Object
org.docx4j.model.datastorage.DomToXPathMap

public class DomToXPathMap
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String PREFIX_ALL_NODES  
  • Constructor Summary

    Constructors 
    Constructor Description
    DomToXPathMap​(org.w3c.dom.Document document)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Map<java.lang.String,​java.lang.Integer> getCountMap()  
    java.util.Map<java.lang.String,​java.lang.String> getPathMap()  
    java.lang.String getXPath()
    Gets the XPath to the current element.
    void map()  
    void walkTree​(org.w3c.dom.Node sourceNode)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • DomToXPathMap

      public DomToXPathMap​(org.w3c.dom.Document document)
  • Method Details

    • getPathMap

      public java.util.Map<java.lang.String,​java.lang.String> getPathMap()
    • getCountMap

      public java.util.Map<java.lang.String,​java.lang.Integer> getCountMap()
    • map

      public void map()
    • walkTree

      public void walkTree​(org.w3c.dom.Node sourceNode)
    • getXPath

      public java.lang.String getXPath()
      Gets the XPath to the current element.