Package gov.nasa.pds.tools.dict.type
Class LengthChecker
- java.lang.Object
-
- 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$
- Author:
- pramirez, jagander
-
-
Constructor Summary
Constructors Constructor Description LengthChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckMaxLength(String value, ElementDefinition def, AttributeStatement attribute)voidcheckMinLength(String value, ElementDefinition def, AttributeStatement attribute)
-
-
-
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
-
-