Class DefaultDocumentValidator
java.lang.Object
gov.nasa.pds.tools.label.validate.DefaultDocumentValidator
- All Implemented Interfaces:
DocumentValidator
The intent of this class is to perform some default semantic validation on the parsed PDS4 label.
- Author:
- mcayanan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvalidate(ProblemHandler handler, Source xml) Method signature for checking to see if a label is valid.
-
Constructor Details
-
DefaultDocumentValidator
public DefaultDocumentValidator()
-
-
Method Details
-
validate
Description copied from interface:DocumentValidatorMethod signature for checking to see if a label is valid.- Specified by:
validatein interfaceDocumentValidator- Parameters:
handler- A problem handler.xml- An object representation of a parsed xml document.- Returns:
- flag indicating whether or not the step in validation was passed.
-