org.whattf.datatype
Class Idref

java.lang.Object
  extended by org.whattf.datatype.AbstractDatatype
      extended by org.whattf.datatype.Id
          extended by org.whattf.datatype.Idref
All Implemented Interfaces:
Datatype

public final class Idref
extends Id

This datatype shall accept any string that consists of one or more characters and does not contain any whitespace characters.

The ID-type of this datatype is IDREF.

Version:
$Id: Idref.java,v 1.3 2006/11/18 11:51:44 hsivonen Exp $
Author:
hsivonen

Field Summary
static Idref THE_INSTANCE
          The singleton instance.
 
Fields inherited from interface org.relaxng.datatype.Datatype
ID_TYPE_ID, ID_TYPE_IDREF, ID_TYPE_IDREFS, ID_TYPE_NULL
 
Constructor Summary
private Idref()
          Package-private constructor
 
Method Summary
 int getIdType()
          Returns Datatype.ID_TYPE_IDREF.
 
Methods inherited from class org.whattf.datatype.Id
checkValid
 
Methods inherited from class org.whattf.datatype.AbstractDatatype
checkValid, createStreamingValidator, createValue, isContextDependent, isValid, isWhitespace, sameValue, toAsciiLowerCase, toAsciiLowerCase, valueHashCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THE_INSTANCE

public static final Idref THE_INSTANCE
The singleton instance.

Constructor Detail

Idref

private Idref()
Package-private constructor

Method Detail

getIdType

public int getIdType()
Returns Datatype.ID_TYPE_IDREF.

Specified by:
getIdType in interface Datatype
Overrides:
getIdType in class Id
Returns:
Datatype.ID_TYPE_IDREF
See Also:
Datatype.getIdType()