private final class XpathNodeTracker.TrackingEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
atAttribute |
private boolean |
atChild |
private int |
nextIndex |
private java.util.Map<org.w3c.dom.Node,java.lang.Integer> |
nodeReferenceMap |
private boolean |
trackNodeReferences |
Modifier | Constructor and Description |
---|---|
private |
TrackingEntry() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
clearTrackedAttribute()
Clear any reference to the current visited attribute
|
private void |
reset() |
private void |
trackAttribute(javax.xml.namespace.QName visited)
Keep a reference to the visited attribute at the current visited node
|
private void |
trackNode(org.w3c.dom.Node visited,
java.lang.String value)
Keep a reference to the current visited (non-attribute) node
|
(package private) void |
trackNodesAsWellAsValues(boolean yesNo)
whether the indices of subsequently tracked nodes should be tracked.
|
private boolean atAttribute
private boolean atChild
private int nextIndex
private java.util.Map<org.w3c.dom.Node,java.lang.Integer> nodeReferenceMap
private boolean trackNodeReferences
private void trackNode(org.w3c.dom.Node visited, java.lang.String value)
visited
- the non-attribute node visitedvalue
- the String-ified value of the non-attribute node visitedprivate void trackAttribute(javax.xml.namespace.QName visited)
visited
- the attribute visitedvoid clearTrackedAttribute()
private void reset()
void trackNodesAsWellAsValues(boolean yesNo)