|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.thaiopensource.datatype.xsd.DatatypeBase
com.thaiopensource.datatype.xsd.TokenDatatype
com.thaiopensource.datatype.xsd.NameDatatype
com.thaiopensource.datatype.xsd.NCNameDatatype
com.thaiopensource.datatype.xsd.IdDatatype
class IdDatatype
| 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 | |
|---|---|
IdDatatype()
|
|
| Method Summary | |
|---|---|
int |
getIdType()
Checks if the ID/IDREF semantics is associated with this datatype. |
| Methods inherited from class com.thaiopensource.datatype.xsd.NCNameDatatype |
|---|
lexicallyAllows |
| Methods inherited from class com.thaiopensource.datatype.xsd.NameDatatype |
|---|
alwaysValid, getLength |
| Methods inherited from class com.thaiopensource.datatype.xsd.TokenDatatype |
|---|
getMeasure, getValue |
| Methods inherited from class com.thaiopensource.datatype.xsd.DatatypeBase |
|---|
allowsValue, checkValid, createStreamingValidator, createValue, 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 |
|---|
IdDatatype()
| Method Detail |
|---|
public int getIdType()
DatatypeThis method is introduced to support the RELAX NG DTD compatibility spec. (Of course it's always free to use this method for other purposes.)
If you are implementing a datatype library and have no idea about
the "RELAX NG DTD compatibility" thing, just return
ID_TYPE_NULL is fine.
getIdType in interface DatatypegetIdType in class DatatypeBaseDatatype.ID_TYPE_NULL. If it has such a semantics
(for example, XSD:ID, XSD:IDREF and comp:ID type), then
it returns Datatype.ID_TYPE_ID, Datatype.ID_TYPE_IDREF or
Datatype.ID_TYPE_IDREFS.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||