Class IDREFType

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

public class IDREFType extends NcnameType
very limited 'IDREF' 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:
  • Field Details

    • theInstance

      public static final IDREFType theInstance
    • serialVersionUID

      private static final long serialVersionUID
      See Also:
  • Constructor Details

    • IDREFType

      protected IDREFType()
  • Method Details

    • 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
    • readResolve

      protected Object readResolve()
      Overrides:
      readResolve in class BuiltinAtomicType