Class IDType

  • All Implemented Interfaces:
    DatabindableDatatype, Discrete, XSDatatype, java.io.Serializable, org.relaxng.datatype.Datatype

    public class IDType
    extends NcnameType
    very limited 'ID' type of XML Schema Part 2.

    The cross-reference semantics of the ID/IDREF types must be implemented externally. This type by itself does not enforce such a constraint.

    One can call the getIdType() method to enforce the cross-reference semantics.

    See Also:
    Serialized Form
    • Field Detail

      • theInstance

        public static final IDType theInstance
    • Constructor Detail

      • IDType

        protected IDType()
    • Method Detail

      • getIdType

        public int getIdType()
        Description copied from class: XSDatatypeImpl
        A property for RELAX NG DTD compatibility datatypes. ID_TYPE_NULL is returned by default.
        Specified by:
        getIdType in interface org.relaxng.datatype.Datatype
        Overrides:
        getIdType in class XSDatatypeImpl