gov.nasa.pds.tools.label.validate
Interface LabelValidator

All Known Implementing Classes:
CatalogNameValidator, DuplicateIdentifierValidator

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: 4967 $
Author:
pramirez, jagander

Method Summary
 boolean validate(Label label)
          Method signature for checking to see if a label is valid.
 

Method Detail

validate

boolean validate(Label label)
Method signature for checking to see if a label is valid.

Parameters:
label - object returned from parsing that represents the PDS label
Returns:
flag indicating whether or not the step in validation was passed.


Copyright © 2005-2011 Planetary Data System. All Rights Reserved.