com.thaiopensource.datatype.xsd
Class HexBinaryDatatype

java.lang.Object
  extended by com.thaiopensource.datatype.xsd.DatatypeBase
      extended by com.thaiopensource.datatype.xsd.BinaryDatatype
          extended by com.thaiopensource.datatype.xsd.HexBinaryDatatype
All Implemented Interfaces:
Datatype2, Measure, Datatype

 class HexBinaryDatatype
extends BinaryDatatype


Field Summary
private static int INVALID
           
private static int WHITESPACE
           
 
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
HexBinaryDatatype()
           
 
Method Summary
(package private)  Object getValue(String str, ValidationContext vc)
           
(package private)  boolean lexicallyAllows(String str)
           
private static int weight(char c)
           
 
Methods inherited from class com.thaiopensource.datatype.xsd.BinaryDatatype
getLength, getMeasure, sameValue, valueHashCode
 
Methods inherited from class com.thaiopensource.datatype.xsd.DatatypeBase
allowsValue, alwaysValid, checkValid, createStreamingValidator, createValue, getIdType, getOrderRelation, getPrimitive, getWhiteSpace, isContextDependent, isValid, normalizeWhiteSpace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVALID

private static final int INVALID
See Also:
Constant Field Values

WHITESPACE

private static final int WHITESPACE
See Also:
Constant Field Values
Constructor Detail

HexBinaryDatatype

HexBinaryDatatype()
Method Detail

lexicallyAllows

boolean lexicallyAllows(String str)
Specified by:
lexicallyAllows in class DatatypeBase

getValue

Object getValue(String str,
                ValidationContext vc)
Specified by:
getValue in class DatatypeBase

weight

private static int weight(char c)