org.deri.iris.terms.concrete
Class IDREF

java.lang.Object
  extended by org.deri.iris.terms.concrete.NormalizedString
      extended by org.deri.iris.terms.concrete.Token
          extended by org.deri.iris.terms.concrete.Name
              extended by org.deri.iris.terms.concrete.NCName
                  extended by org.deri.iris.terms.concrete.IDREF
All Implemented Interfaces:
Comparable<ITerm>, IIDREF, IName, INCName, INormalizedString, IToken, IConcreteTerm, IStringTerm, ITerm

public class IDREF
extends NCName
implements IIDREF

A simple implementation of IDREF.

Author:
Adrian Marte

Field Summary
 
Fields inherited from class org.deri.iris.terms.concrete.NormalizedString
value
 
Fields inherited from interface org.deri.iris.api.terms.concrete.IIDREF
DATATYPE_URI
 
Constructor Summary
IDREF(String idRef)
          Creates a new IDREF for the specified IDREF.
 
Method Summary
 URI getDatatypeIRI()
          Returns the fully qualified identifier for the data type corresponding to this term.
 
Methods inherited from class org.deri.iris.terms.concrete.Token
normalize
 
Methods inherited from class org.deri.iris.terms.concrete.NormalizedString
compareTo, equals, getValue, hashCode, isGround, toCanonicalString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deri.iris.api.terms.concrete.INormalizedString
getValue
 
Methods inherited from interface org.deri.iris.api.terms.IConcreteTerm
toCanonicalString
 
Methods inherited from interface org.deri.iris.api.terms.ITerm
isGround
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

IDREF

public IDREF(String idRef)
Creates a new IDREF for the specified IDREF. Does not check for validity of the specified IDRef.

Parameters:
idRef - The string representing the IDREF.
Method Detail

getDatatypeIRI

public URI getDatatypeIRI()
Description copied from interface: IConcreteTerm
Returns the fully qualified identifier for the data type corresponding to this term. For instance, a terms representing a double data type should return the URI "http://www.w3.org/2001/XMLSchema#double".

Specified by:
getDatatypeIRI in interface IConcreteTerm
Overrides:
getDatatypeIRI in class NCName
Returns:
The fully qualified identifier for the data type corresponding to this term.