com.thaiopensource.datatype.xsd
Class NameDatatype

java.lang.Object
  extended by com.thaiopensource.datatype.xsd.DatatypeBase
      extended by com.thaiopensource.datatype.xsd.TokenDatatype
          extended by com.thaiopensource.datatype.xsd.NameDatatype
All Implemented Interfaces:
Datatype2, Measure, Datatype
Direct Known Subclasses:
NCNameDatatype

 class NameDatatype
extends TokenDatatype


Field Summary
 
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
NameDatatype()
           
 
Method Summary
 boolean alwaysValid()
           
 int getLength(Object obj)
           
 boolean lexicallyAllows(String str)
           
 
Methods inherited from class com.thaiopensource.datatype.xsd.TokenDatatype
getMeasure, getValue
 
Methods inherited from class com.thaiopensource.datatype.xsd.DatatypeBase
allowsValue, checkValid, createStreamingValidator, createValue, getIdType, getOrderRelation, getPrimitive, getWhiteSpace, isContextDependent, isValid, normalizeWhiteSpace, sameValue, valueHashCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameDatatype

NameDatatype()
Method Detail

lexicallyAllows

public boolean lexicallyAllows(String str)
Overrides:
lexicallyAllows in class TokenDatatype

getLength

public int getLength(Object obj)
Specified by:
getLength in interface Measure
Overrides:
getLength in class TokenDatatype

alwaysValid

public boolean alwaysValid()
Specified by:
alwaysValid in interface Datatype2
Overrides:
alwaysValid in class TokenDatatype