|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeTester
Perform Node-by-Node validation of a DOM Document.
Nodes are supplied to testNode
method by a NodeTest instance,
and after all the nodes in the NodeTest have been supplied the
noMoreNodes
method is called.
Examples and more at xmlunit.sourceforge.net
NodeTest
Method Summary | |
---|---|
void |
noMoreNodes(NodeTest forTest)
Validate that the Nodes passed one-by-one to the testNode
method were all the Nodes expected. |
void |
testNode(org.w3c.dom.Node aNode,
NodeTest forTest)
Validate a single Node |
Method Detail |
---|
void testNode(org.w3c.dom.Node aNode, NodeTest forTest) throws NodeTestException
aNode
- forTest
-
NodeTestException
- if the node fails the testvoid noMoreNodes(NodeTest forTest) throws NodeTestException
testNode
method were all the Nodes expected.
forTest
-
NodeTestException
- if this instance was expecting more nodes
|
XMLUnit is hosted by sourceforge.net |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |