com.thaiopensource.datatype.xsd
Class ValueRestrictDatatype

java.lang.Object
  extended by com.thaiopensource.datatype.xsd.DatatypeBase
      extended by com.thaiopensource.datatype.xsd.RestrictDatatype
          extended by com.thaiopensource.datatype.xsd.ValueRestrictDatatype
All Implemented Interfaces:
Datatype2, Datatype
Direct Known Subclasses:
LengthRestrictDatatype, MaxExclusiveRestrictDatatype, MaxInclusiveRestrictDatatype, MaxLengthRestrictDatatype, MinExclusiveRestrictDatatype, MinInclusiveRestrictDatatype, MinLengthRestrictDatatype, PrecisionRestrictDatatype, ScaleRestrictDatatype

abstract class ValueRestrictDatatype
extends RestrictDatatype


Field Summary
 
Fields inherited from class com.thaiopensource.datatype.xsd.RestrictDatatype
base
 
Fields inherited from class com.thaiopensource.datatype.xsd.DatatypeBase
WHITE_SPACE_COLLAPSE, WHITE_SPACE_PRESERVE, WHITE_SPACE_REPLACE
 
Fields inherited from interface org.relaxng.datatype.Datatype
ID_TYPE_ID, ID_TYPE_IDREF, ID_TYPE_IDREFS, ID_TYPE_NULL
 
Constructor Summary
ValueRestrictDatatype(DatatypeBase base)
           
 
Method Summary
(package private)  boolean allowsValue(String str, ValidationContext vc)
           
(package private)  Object getValue(String str, ValidationContext vc)
           
(package private) abstract  boolean satisfiesRestriction(Object value)
           
 
Methods inherited from class com.thaiopensource.datatype.xsd.RestrictDatatype
getIdType, getMeasure, getOrderRelation, getPrimitive, lexicallyAllows, sameValue, valueHashCode
 
Methods inherited from class com.thaiopensource.datatype.xsd.DatatypeBase
alwaysValid, checkValid, createStreamingValidator, createValue, getWhiteSpace, isContextDependent, isValid, normalizeWhiteSpace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueRestrictDatatype

ValueRestrictDatatype(DatatypeBase base)
Method Detail

allowsValue

boolean allowsValue(String str,
                    ValidationContext vc)
Overrides:
allowsValue in class RestrictDatatype

getValue

Object getValue(String str,
                ValidationContext vc)
Overrides:
getValue in class RestrictDatatype

satisfiesRestriction

abstract boolean satisfiesRestriction(Object value)