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

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

public class DuplicateIdentifierValidator
extends java.lang.Object
implements LabelValidator

Version:
$Revision$
Author:
pramirez

Constructor Summary
DuplicateIdentifierValidator()
           
 
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

DuplicateIdentifierValidator

public DuplicateIdentifierValidator()
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-2007 NASA Jet Propulsion Laboratory, California Institute of Technology. All Rights Reserved.