Implementation of NodeFilterInterface which filters out elements in a NEXUS reduced file if they have failed the validation tests. More...
Public Member Functions | |
SVRLNodeFilter () | |
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. |
Implementation of NodeFilterInterface which filters out elements in a NEXUS reduced file if they have failed the validation tests.
Definition at line 48 of file SVRLNodeFilter.java.
org.nexusformat.nxvalidate.SVRLNodeFilter.SVRLNodeFilter | ( | ) |
Definition at line 56 of file SVRLNodeFilter.java.
ArrayList<Node> org.nexusformat.nxvalidate.SVRLNodeFilter.getBadNodeList | ( | ) |
A list of nodes which are bad.
Implements org.nexusformat.nxvalidate.NodeFilterInterface.
Definition at line 88 of file SVRLNodeFilter.java.
Referenced by org.nexusformat.nxvalidate.FileActions.validateFile().
ArrayList<Node> org.nexusformat.nxvalidate.SVRLNodeFilter.getWarnNodeList | ( | ) |
A list of nodes which have a warning.
Implements org.nexusformat.nxvalidate.NodeFilterInterface.
Definition at line 107 of file SVRLNodeFilter.java.
void org.nexusformat.nxvalidate.SVRLNodeFilter.resetNodes | ( | ) |
Reset the nodes to indicate that they are now good nodes, i.e.
resets them back to a pre-validated state.
Implements org.nexusformat.nxvalidate.NodeFilterInterface.
Definition at line 126 of file SVRLNodeFilter.java.
Referenced by org.nexusformat.nxvalidate.FileActions.validateFile().
void org.nexusformat.nxvalidate.SVRLNodeFilter.setDocument | ( | Document | doc | ) |
Sets the document to which to apply the filter.
The document in this case is the reduced NeXus file.
doc | a DOM document. |
Implements org.nexusformat.nxvalidate.NodeFilterInterface.
Definition at line 78 of file SVRLNodeFilter.java.
Referenced by org.nexusformat.nxvalidate.FileActions.validateFile().
void org.nexusformat.nxvalidate.SVRLNodeFilter.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. |
Implements org.nexusformat.nxvalidate.NodeFilterInterface.
Definition at line 67 of file SVRLNodeFilter.java.
Referenced by org.nexusformat.nxvalidate.FileActions.validateFile().