com.thaiopensource.datatype.xsd
Class NmtokenDatatype
java.lang.Object
com.thaiopensource.datatype.xsd.DatatypeBase
com.thaiopensource.datatype.xsd.TokenDatatype
com.thaiopensource.datatype.xsd.NmtokenDatatype
- All Implemented Interfaces:
- Datatype2, Measure, Datatype
class NmtokenDatatype
- extends TokenDatatype
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 |
NmtokenDatatype
NmtokenDatatype()
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