gov.nasa.pds.tools.dict.type
Class LengthChecker

java.lang.Object
  extended by gov.nasa.pds.tools.dict.type.LengthChecker
Direct Known Subclasses:
AlphabetChecker, AlphaNumericChecker, CharacterChecker, ContextDependentChecker, DataSetChecker, DateChecker, DoubleChecker, IdentifierChecker, IntegerChecker, NonDecimalChecker, RealChecker, TimeChecker

public class LengthChecker
extends Object

Version:
$Revision: 6323 $
Author:
pramirez, jagander

Constructor Summary
LengthChecker()
           
 
Method Summary
 void checkMaxLength(String value, ElementDefinition def, AttributeStatement attribute)
           
 void checkMinLength(String value, ElementDefinition def, AttributeStatement attribute)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LengthChecker

public LengthChecker()
Method Detail

checkMinLength

public void checkMinLength(String value,
                           ElementDefinition def,
                           AttributeStatement attribute)
                    throws InvalidLengthException
Throws:
InvalidLengthException

checkMaxLength

public void checkMaxLength(String value,
                           ElementDefinition def,
                           AttributeStatement attribute)
                    throws InvalidLengthException
Throws:
InvalidLengthException


Copyright © 2005–2013 Planetary Data System. All rights reserved.