An interface which represents the concept that the elements in an XML Document can be good or bad after they have been validated against some criteria defined in the implementation. More...
Public Member Functions | |
void | setFilterDocument (Document filterDoc) |
Sets a DOM document (filter document) that contains a list of nodes that have failed any validation tests, for example, the SVRL file. | |
void | setDocument (Document doc) |
Sets the document to which to apply the filter. | |
ArrayList< Node > | getBadNodeList () |
A list of nodes which are bad. | |
ArrayList< Node > | getWarnNodeList () |
A list of nodes which have a warning. | |
void | resetNodes () |
Reset the nodes to indicate that they are now good nodes, i.e. |
An interface which represents the concept that the elements in an XML Document can be good or bad after they have been validated against some criteria defined in the implementation.
Definition at line 39 of file NodeFilterInterface.java.
ArrayList<Node> org.nexusformat.nxvalidate.NodeFilterInterface.getBadNodeList | ( | ) |
A list of nodes which are bad.
Implemented in org.nexusformat.nxvalidate.SVRLNodeFilter.
ArrayList<Node> org.nexusformat.nxvalidate.NodeFilterInterface.getWarnNodeList | ( | ) |
A list of nodes which have a warning.
Implemented in org.nexusformat.nxvalidate.SVRLNodeFilter.
void org.nexusformat.nxvalidate.NodeFilterInterface.resetNodes | ( | ) |
Reset the nodes to indicate that they are now good nodes, i.e.
resets them back to their original state.
Implemented in org.nexusformat.nxvalidate.SVRLNodeFilter.
void org.nexusformat.nxvalidate.NodeFilterInterface.setDocument | ( | Document | doc | ) |
Sets the document to which to apply the filter.
doc | a DOM document. |
Implemented in org.nexusformat.nxvalidate.SVRLNodeFilter.
void org.nexusformat.nxvalidate.NodeFilterInterface.setFilterDocument | ( | Document | filterDoc | ) |
Sets a DOM document (filter document) that contains a list of nodes that have failed any validation tests, for example, the SVRL file.
filterDoc | a DOM document. |
Implemented in org.nexusformat.nxvalidate.SVRLNodeFilter.