Package | Description |
---|---|
gov.nasa.pds.tools.dict.type | |
gov.nasa.pds.tools.label | |
gov.nasa.pds.tools.label.antlr | |
gov.nasa.pds.tools.label.validate |
Modifier and Type | Method and Description |
---|---|
Object |
TypeChecker.cast(String value,
AttributeStatement attribute)
Tries to cast the value to the appropriate type and return the value
|
Object |
TimeChecker.cast(String value,
AttributeStatement attribute) |
Object |
RealChecker.cast(String value,
AttributeStatement attribute) |
Object |
NonDecimalChecker.cast(String value,
AttributeStatement attribute) |
Object |
IntegerChecker.cast(String value,
AttributeStatement attribute) |
Object |
IdentifierChecker.cast(String value,
AttributeStatement attribute) |
Object |
DoubleChecker.cast(String value,
AttributeStatement attribute) |
Object |
DateChecker.cast(String value,
AttributeStatement attribute) |
Object |
DataSetChecker.cast(String value,
AttributeStatement attribute)
This method does no checking right now and simply passes back the
original value.
|
Object |
ContextDependentChecker.cast(String value,
AttributeStatement attribute)
This method does no checking right now and simply passes back the
original value.
|
Object |
CharacterChecker.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 Character value.
|
Object |
AlphaNumericChecker.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.
|
Object |
AlphabetChecker.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 Alphabet value.
|
void |
TypeChecker.checkMaxLength(String value,
ElementDefinition def,
AttributeStatement attribute)
Checks to make sure that the value does not exceed the maximum length
|
void |
LengthChecker.checkMaxLength(String value,
ElementDefinition def,
AttributeStatement attribute) |
void |
RealChecker.checkMaxValue(Number value,
ElementDefinition def,
AttributeStatement attribute) |
void |
NumericTypeChecker.checkMaxValue(Number value,
ElementDefinition def,
AttributeStatement attribute) |
void |
NonDecimalChecker.checkMaxValue(Number value,
ElementDefinition def,
AttributeStatement attribute) |
void |
IntegerChecker.checkMaxValue(Number value,
ElementDefinition def,
AttributeStatement attribute) |
void |
DoubleChecker.checkMaxValue(Number value,
ElementDefinition def,
AttributeStatement attribute) |
void |
TypeChecker.checkMinLength(String value,
ElementDefinition def,
AttributeStatement attribute)
Checks to make sure that the value does fall below the minimum length
length
|
void |
LengthChecker.checkMinLength(String value,
ElementDefinition def,
AttributeStatement attribute) |
void |
RealChecker.checkMinValue(Number value,
ElementDefinition def,
AttributeStatement attribute) |
void |
NumericTypeChecker.checkMinValue(Number value,
ElementDefinition def,
AttributeStatement attribute) |
void |
NonDecimalChecker.checkMinValue(Number value,
ElementDefinition def,
AttributeStatement attribute) |
void |
IntegerChecker.checkMinValue(Number value,
ElementDefinition def,
AttributeStatement attribute) |
void |
DoubleChecker.checkMinValue(Number value,
ElementDefinition def,
AttributeStatement attribute) |
Modifier and Type | Method and Description |
---|---|
AttributeStatement |
ObjectStatement.getAttribute(DictIdentifier id)
Retrieves the named attribute
|
AttributeStatement |
ObjectStatement.getAttribute(String id) |
AttributeStatement |
Label.getAttribute(String identifier)
Retrieves the attribute with the identifier or null if not found
|
AttributeStatement |
GroupStatement.getAttribute(String id)
Retrieves the named attribute.
|
Modifier and Type | Method and Description |
---|---|
List<AttributeStatement> |
ObjectStatement.getAttributes()
Retrieves the list of attributes associated with the ObjectStatement
|
List<AttributeStatement> |
Label.getAttributes()
Retrieves attributes associated with this label
|
List<AttributeStatement> |
GroupStatement.getAttributes()
Retrieves the attributes of this group.
|
Modifier and Type | Method and Description |
---|---|
AttributeStatement |
ODLParser.assignment_statement(Label label) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ElementValidator.validate(AttributeStatement attribute,
Label label,
Dictionary dictionary) |
static boolean |
ElementValidator.validate(AttributeStatement attribute,
Label label,
Dictionary dictionary,
ElementDefinition definition) |
static boolean |
ElementValidator.validate(AttributeStatement attribute,
Label label,
Dictionary dictionary,
String objectContext)
Checks to see whether an
AttributeStatement is correct. |
Copyright © 2005–2015 Planetary Data System. All rights reserved.