Class DefaultDocumentValidator
java.lang.Object
gov.nasa.pds.tools.label.validate.DefaultDocumentValidator
- All Implemented Interfaces:
DocumentValidator
public class DefaultDocumentValidator extends Object implements DocumentValidator
The intent of this class is to perform some default semantic validation
on the parsed PDS4 label.
- Author:
- mcayanan
-
Constructor Summary
Constructors Constructor Description DefaultDocumentValidator()
-
Method Summary
Modifier and Type Method Description boolean
validate(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:DocumentValidator
Method signature for checking to see if a label is valid.- Specified by:
validate
in 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.
-