Class BooleanDatatype
java.lang.Object
edu.sc.seis.sod.validator.model.datatype.BooleanDatatype
- All Implemented Interfaces:
ModelDatatype
,org.relaxng.datatype.Datatype
-
Field Summary
Fields inherited from interface org.relaxng.datatype.Datatype
ID_TYPE_ID, ID_TYPE_IDREF, ID_TYPE_IDREFS, ID_TYPE_NULL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkValid
(String value, org.relaxng.datatype.ValidationContext arg1) org.relaxng.datatype.DatatypeStreamingValidator
createStreamingValidator
(org.relaxng.datatype.ValidationContext arg0) createValue
(String arg0, org.relaxng.datatype.ValidationContext arg1) int
boolean
boolean
boolean
toString()
int
valueHashCode
(Object arg0)
-
Constructor Details
-
BooleanDatatype
public BooleanDatatype()
-
-
Method Details
-
getDescription
- Specified by:
getDescription
in interfaceModelDatatype
-
getExampleValue
- Specified by:
getExampleValue
in interfaceModelDatatype
-
toString
-
checkValid
public void checkValid(String value, org.relaxng.datatype.ValidationContext arg1) throws org.relaxng.datatype.DatatypeException - Specified by:
checkValid
in interfaceorg.relaxng.datatype.Datatype
- Throws:
org.relaxng.datatype.DatatypeException
-
createStreamingValidator
public org.relaxng.datatype.DatatypeStreamingValidator createStreamingValidator(org.relaxng.datatype.ValidationContext arg0) - Specified by:
createStreamingValidator
in interfaceorg.relaxng.datatype.Datatype
-
createValue
- Specified by:
createValue
in interfaceorg.relaxng.datatype.Datatype
-
getIdType
public int getIdType()- Specified by:
getIdType
in interfaceorg.relaxng.datatype.Datatype
-
isContextDependent
public boolean isContextDependent()- Specified by:
isContextDependent
in interfaceorg.relaxng.datatype.Datatype
-
isValid
- Specified by:
isValid
in interfaceorg.relaxng.datatype.Datatype
-
sameValue
- Specified by:
sameValue
in interfaceorg.relaxng.datatype.Datatype
-
valueHashCode
- Specified by:
valueHashCode
in interfaceorg.relaxng.datatype.Datatype
-