org.deri.iris.terms.concrete
Class Name
java.lang.Object
org.deri.iris.terms.concrete.NormalizedString
org.deri.iris.terms.concrete.Token
org.deri.iris.terms.concrete.Name
- All Implemented Interfaces:
- Comparable<ITerm>, IName, INormalizedString, IToken, IConcreteTerm, IStringTerm, ITerm
- Direct Known Subclasses:
- NCName
public class Name
- extends Token
- implements IName
A simple implementation of Name.
- Author:
- Adrian Marte
|
Constructor Summary |
Name(String name)
Creates a new Name instance for the specified name. |
|
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 interface org.deri.iris.api.terms.ITerm |
isGround |
Name
public Name(String name)
- Creates a new Name instance for the specified name. Does not check for
validity of the specified name.
- Parameters:
name - The string representing a valid name.
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 Token
- Returns:
- The fully qualified identifier for the data type corresponding to
this term.