abstractpublic class AbstractNodeTester implements NodeTester(Code)
Helper class.
Abstract interface implementation that performs Node-type checks and
delegates testNode() processing to subclass.
Examples and more at xmlunit.sourceforge.net
See Also:NodeTest
Method Summary
public void
noMoreNodes(NodeTest forTest) Validate that the Nodes validated one-by-one in the isValid
method were all the Nodes expected.
public void
testAttribute(Attr attribute) Template delegator for testNode() method.
Validate that the Nodes validated one-by-one in the isValid
method were all the Nodes expected. By default do nothing:
can override to add custom logic
exception: NodeTestException - if mode Nodes were expected
Template delegator for testNode() method. OVERRIDE to add custom logic
Parameters: element - exception: NodeTestException - always: override if required in subclass
Template delegator for testNode() method. OVERRIDE to add custom logic
Parameters: text - exception: NodeTestException - always: override if required in subclass