org.custommonkey.xmlunit
private class NodeTest.NodeTypeNodeFilter extends Object implements NodeFilter
Constructor Summary | |
---|---|
NodeTypeNodeFilter(short[] nodeTypes)
Construct filter for specific node types |
Method Summary | |
---|---|
short | acceptNode(Node aNode)
NodeFilter method. |
Parameters: nodeTypes note Node.ATTRIBUTE_NODE
is not
exposed by the DocumentTraversal node iterator unless the root node
is itself an attribute - so a NodeTester that needs to test attributes
should obtain those attributes from Node.ELEMENT_NODE
nodes
Parameters: aNode
Returns: