| |
|
| java.lang.Object org.custommonkey.xmlunit.XpathNodeTracker
XpathNodeTracker | public XpathNodeTracker()(Code) | | Simple constructor
|
clearTrackedAttribute | public void clearTrackedAttribute()(Code) | | Call after processing attributes of an element and turining to
compare the child nodes.
|
indent | public void indent()(Code) | | Call before examining child nodes one level of indentation into DOM
|
outdent | public void outdent()(Code) | | Call after examining child nodes, ie before returning back one level of indentation from DOM
|
preloadChildList | public void preloadChildList(List nodeList)(Code) | | Preload the items in a List by visiting each in turn
Required for pieces of test XML whose node children can be visited
out of sequence by a DifferenceEngine comparison
Parameters: nodeList - the items to preload |
preloadNodeList | public void preloadNodeList(NodeList nodeList)(Code) | | Preload the items in a NodeList by visiting each in turn
Required for pieces of test XML whose node children can be visited
out of sequence by a DifferenceEngine comparison
Parameters: nodeList - the items to preload |
reset | public void reset()(Code) | | Clear state data.
Call if required to reuse an existing instance.
|
toXpathString | public String toXpathString()(Code) | | the last visited node as an xpath-location String |
visited | public void visited(Node node)(Code) | | Call when visiting a node whose xpath location needs tracking
Parameters: node - the Node being visited |
visitedAttribute | protected void visitedAttribute(String visited)(Code) | | |
|
|
|