Package org.docx4j.model.datastorage
Class DomToXPathMap
java.lang.Object
org.docx4j.model.datastorage.DomToXPathMap
-
Field Details
-
log
private static org.slf4j.Logger log -
histgrams
-
document
-
pathMap
-
countMap
count the number of child nodes; used for pre-calculation of (1) repeat xpaths, and (2) certain simple conditions. By default, an entry counts the number of children which are the same element as the first element child, since this is what we need for repeats. If there are elements with different names, the count is put in the map with PREFIX_ALL_NODES prefix.- Since:
- 3.3.6
-
PREFIX_ALL_NODES
- See Also:
-
-
Constructor Details
-
DomToXPathMap
-
-
Method Details
-
getPathMap
-
getCountMap
-
map
public void map() -
getLocalName
-
walkTree
-
getXPath
Gets the XPath to the current element.
-