gov.nasa.pds.tools.label.validate
Class CatalogNameValidator

java.lang.Object
  extended by gov.nasa.pds.tools.label.validate.CatalogNameValidator
All Implemented Interfaces:
PointerType, LabelValidator

public class CatalogNameValidator
extends java.lang.Object
implements LabelValidator, PointerType


Field Summary
 
Fields inherited from interface gov.nasa.pds.tools.label.PointerType
CATALOG, CATALOG_NAMES, DATA_LOCATION, DESCRIPTION, DESCRIPTION_NAMES, INCLUDE, INCLUDE_NAMES, MAP_PROJECTION, UNDEFINED
 
Constructor Summary
CatalogNameValidator()
           
 
Method Summary
 boolean isValid(Label label)
          Method signature for checking to see if a label is valid.
 boolean isValid(Label label, ValidationListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogNameValidator

public CatalogNameValidator()
Method Detail

isValid

public boolean isValid(Label label)
Description copied from interface: LabelValidator
Method signature for checking to see if a label is valid.

Specified by:
isValid in interface LabelValidator
Parameters:
label - object returned from parsing that reprsents the PDS label
Returns:
flag indicating whether or not the step in validation was passed.

isValid

public boolean isValid(Label label,
                       ValidationListener listener)
Specified by:
isValid in interface LabelValidator


Copyright © 2005-2009 NASA Jet Propulsion Laboratory, California Institute of Technology. All Rights Reserved.