public class XmlVerifier
extends java.lang.Object
| Constructor and Description |
|---|
XmlVerifier()
Defines the XML verifier.
|
| Modifier and Type | Method and Description |
|---|---|
void |
init(org.w3c.dom.Node parent)
Initialize the XML verifier with the given parent node.
|
void |
removePath(org.w3c.dom.Node node)
Remove the path for the given leaf node.
|
void |
verify()
Checks if any of collected paths of leaf nodes were not removed.
|
public void init(org.w3c.dom.Node parent)
parent - parent elementpublic void removePath(org.w3c.dom.Node node)
node - the nodepublic void verify()
throws XmlVerifierException
XmlVerifierException - thrown if any paths weren't removed