|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.terms.concrete.NormalizedString
public class NormalizedString
A simple implementation of NormalizedString.
| Field Summary | |
|---|---|
protected String |
value
|
| Fields inherited from interface org.deri.iris.api.terms.concrete.INormalizedString |
|---|
DATATYPE_URI |
| Constructor Summary | |
|---|---|
NormalizedString(String string)
Creates a new NormalizedString instance. |
|
| Method Summary | |
|---|---|
int |
compareTo(ITerm o)
|
boolean |
equals(Object obj)
|
URI |
getDatatypeIRI()
Returns the fully qualified identifier for the data type corresponding to this term. |
String |
getValue()
Returns the string representing this xsd:normalizedString. |
int |
hashCode()
|
boolean |
isGround()
Checks whether the term is ground (a term with no variables). |
static String |
normalize(String string)
|
String |
toCanonicalString()
Returns a canonical string representation of this term. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String value
| Constructor Detail |
|---|
public NormalizedString(String string)
string - The normalized or non-normalized string.| Method Detail |
|---|
public static String normalize(String string)
public String getValue()
INormalizedString
getValue in interface INormalizedStringgetValue in interface IStringTermgetValue in interface ITermpublic URI getDatatypeIRI()
IConcreteTerm
getDatatypeIRI in interface IConcreteTermpublic String toCanonicalString()
IConcreteTerm
toCanonicalString in interface IConcreteTermpublic String toString()
toString in class Objectpublic boolean isGround()
ITerm
isGround in interface ITermtrue if the term is ground,
otherwise false.public int compareTo(ITerm o)
compareTo in interface Comparable<ITerm>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||