|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.tools.dict.type.LengthChecker
gov.nasa.pds.tools.dict.type.CharacterChecker
public class CharacterChecker
This class is used to provide a means to perform checks on values in the dictionary that are specified as Character.
Constructor Summary | |
---|---|
CharacterChecker()
|
Method Summary | |
---|---|
java.lang.Object |
cast(java.lang.String value,
AttributeStatement attribute)
This method will follow the rules set forth in the pdsdd and data dictionary document for what is an allowable Character value. |
Methods inherited from class gov.nasa.pds.tools.dict.type.LengthChecker |
---|
checkMaxLength, checkMinLength |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gov.nasa.pds.tools.dict.type.TypeChecker |
---|
checkMaxLength, checkMinLength |
Constructor Detail |
---|
public CharacterChecker()
Method Detail |
---|
public java.lang.Object cast(java.lang.String value, AttributeStatement attribute) throws InvalidTypeException
cast
in interface TypeChecker
value
- which must be cast
InvalidTypeException
- if the value can not be interpreted as CharacterTypeChecker.cast(String,
AttributeStatement)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |