Class BuiltinAtomicType

All Implemented Interfaces:
DatabindableDatatype, XSDatatype, Serializable, org.relaxng.datatype.Datatype
Direct Known Subclasses:
AnyURIType, BinaryBaseType, BooleanType, DateTimeBaseType, DurationType, EntityType, ErrorType, FloatingNumberType, IntegerDerivedType, NumberType, QnameType, SimpleURType, StringType

public abstract class BuiltinAtomicType extends ConcreteType
base class for atomic built-in types; those types which can be used by itself (int,uriReference,string, etc) .
See Also:
  • Field Details

  • Constructor Details

    • BuiltinAtomicType

      protected BuiltinAtomicType(String typeName, WhiteSpaceProcessor whiteSpace)
    • BuiltinAtomicType

      protected BuiltinAtomicType(String typeName)
  • Method Details

    • getVariety

      public final int getVariety()
      Description copied from interface: XSDatatype
      gets the variety of this simple type.
      Returns:
      VARIETY_ATOMIC, VARIETY_LIST, or VARIETY_UNION.
    • displayName

      public final String displayName()
      Description copied from interface: XSDatatype
      gets the displayable name of this type. This method always return something. It is useful to provide a message to the user.

      This method is an ad-hoc method and there is no corresponding property in the spec.

    • readResolve

      protected Object readResolve() throws ObjectStreamException
      Throws:
      ObjectStreamException