gate.creole.ontology
Class BooleanDT
java.lang.Object
gate.creole.ontology.DataType
gate.creole.ontology.BooleanDT
class BooleanDT
- extends DataType
Boolean DataType
- Author:
- niraj
| 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 |
BooleanDT
public BooleanDT(OURI xmlSchemaURI)
BooleanDT
public BooleanDT(String xmlSchemaURIString)
isValidValue
public boolean isValidValue(String value)
- A Method to validate the boolean value
- Overrides:
isValidValue in class DataType
- Returns:
- true, if the provided value can be parsed correctly into
the datatype, otherwise - false.