gov.nasa.pds.tools.dict.type
Class AlphaNumericChecker
java.lang.Object
gov.nasa.pds.tools.dict.type.LengthChecker
gov.nasa.pds.tools.dict.type.AlphaNumericChecker
- All Implemented Interfaces:
- TypeChecker
public class AlphaNumericChecker
- extends LengthChecker
- implements TypeChecker
This class is used to provide a means to perform checks on values in the
dictionary that are specified as AlphaNumeric.
- Version:
- $Revision: 4967 $
- Author:
- pramirez, jagander
Method Summary |
Object |
cast(String value,
AttributeStatement attribute)
This method will follow the rules set forth in the pdsdd and data
dictionary document for what is an allowable AlphaNumeric value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlphaNumericChecker
public AlphaNumericChecker()
cast
public Object cast(String value,
AttributeStatement attribute)
throws InvalidTypeException
- This method will follow the rules set forth in the pdsdd and data
dictionary document for what is an allowable AlphaNumeric value.
- Specified by:
cast
in interface TypeChecker
- Parameters:
value
- which must be cast
- Returns:
- value after it has been cast
- Throws:
InvalidTypeException
- if the value can not be interpreted as AlphaNumeric- See Also:
TypeChecker.cast(String,
AttributeStatement)
Copyright © 2005-2011 Planetary Data System. All Rights Reserved.