gov.nasa.pds.tools.label.validate
Interface LabelValidator
- All Known Implementing Classes:
- CatalogNameValidator, DuplicateIdentifierValidator, FileCharacteristicValidator
public interface LabelValidator
This interface is a means to define an extension point for the parser to perform further validation.
This type of validation is outside the realm of the syntax defined by the grammar and data dictionary.
An example of this would be required file characteristic elements.
- Version:
- $Revision: 3461 $
- Author:
- pramirez
isValid
boolean isValid(Label label)
- Method signature for checking to see if a label is valid.
- Parameters:
label
- object returned from parsing that reprsents the PDS label
- Returns:
- flag indicating whether or not the step in validation was passed.
isValid
boolean isValid(Label label,
ValidationListener listener)
Copyright © 2005-2009 NASA Jet Propulsion Laboratory, California Institute of Technology. All Rights Reserved.