NXvalidate  1
Public Member Functions | List of all members
org.nexusformat.nxvalidate.NodeFilterInterface Interface Reference

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...

Inheritance diagram for org.nexusformat.nxvalidate.NodeFilterInterface:
Inheritance graph
Collaboration diagram for org.nexusformat.nxvalidate.NodeFilterInterface:
Collaboration graph

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. More...
 
void setDocument (Document doc)
 Sets the document to which to apply the filter. More...
 
ArrayList< Node > getBadNodeList ()
 A list of nodes which are bad. More...
 
ArrayList< Node > getWarnNodeList ()
 A list of nodes which have a warning. More...
 
void resetNodes ()
 Reset the nodes to indicate that they are now good nodes, i.e. More...
 

Detailed Description

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.

Author
Stephen Rankin

Definition at line 39 of file NodeFilterInterface.java.

Member Function Documentation

ArrayList<Node> org.nexusformat.nxvalidate.NodeFilterInterface.getBadNodeList ( )

A list of nodes which are bad.

Returns
the list of bad nodes

Implemented in org.nexusformat.nxvalidate.SVRLNodeFilter.

ArrayList<Node> org.nexusformat.nxvalidate.NodeFilterInterface.getWarnNodeList ( )

A list of nodes which have a warning.

Returns

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.

Parameters
doca 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.

Parameters
filterDoca DOM document.

Implemented in org.nexusformat.nxvalidate.SVRLNodeFilter.


The documentation for this interface was generated from the following file: