gate.creole.ontology
Class TimeDT
java.lang.Object
gate.creole.ontology.DataType
gate.creole.ontology.TimeDT
class TimeDT
- extends DataType
|
Method Summary |
boolean |
isValidValue(String value)
Methods check if the value is valid for the datatype |
| Methods inherited from class gate.creole.ontology.DataType |
equals, getBooleanDataType, getByteDataType, getDataType, getDateDataType, getDateTimeDataType, getDecimalDataType, getDoubleDataType, getDurationDataType, getFloatDataType, getIntDataType, getIntegerDataType, getLocale, getLongDataType, getNegativeIntegerDataType, getNonNegativeIntegerDataType, getNonPositiveIntegerDataType, getPositiveIntegerDataType, getShortDataType, getStringDataType, getTimeDataType, getUnsignedByteDataType, getUnsignedIntDataType, getUnsignedLongDataType, getUnsignedShortDataType, getXmlSchemaURI, getXmlSchemaURIString, isStringDataType |
TimeDT
public TimeDT(OURI xmlSchemaURI)
TimeDT
public TimeDT(String xmlSchemaURIString)
isValidValue
public boolean isValidValue(String value)
- Methods check if the value is valid for the datatype
- Overrides:
isValidValue in class DataType
- Returns:
- true, if the provided value can be parsed correctly into
the datatype, otherwise - false.