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

All Known Implementing Classes:
FileReferenceValidator

public interface ExternalValidator


Method Summary
 boolean validate(ExceptionContainer container, File labelFile)
          Method signature for checking to see if a label is valid.
 boolean validate(ExceptionContainer container, URL url)
          Method signature for checking to see if a label is valid.
 

Method Detail

validate

boolean validate(ExceptionContainer container,
                 File labelFile)
Method signature for checking to see if a label is valid.

Parameters:
container - An exception container.
labelFile - PDS4 label file.
Returns:
flag indicating whether or not the step in validation was passed.

validate

boolean validate(ExceptionContainer container,
                 URL url)
Method signature for checking to see if a label is valid.

Parameters:
container - An exception container.
url - URL of the PDS4 label.
Returns:
flag indicating whether or not the step in validation was passed.


Copyright © 2010-2013 Planetary Data System. All Rights Reserved.