|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.terms.concrete.PlainLiteral
public class PlainLiteral
A term representing a rdf:PlainLiteral, former known as rdf:text.
| Method Summary | |
|---|---|
int |
compareTo(ITerm o)
|
boolean |
equals(Object o)
|
URI |
getDatatypeIRI()
Returns the fully qualified identifier for the data type corresponding to this term. |
String |
getLang()
Returns the language tag, e.g. |
String |
getString()
Returns the string, e.g. |
String[] |
getValue()
Returns a string array where the first element is the text string and the second element is the language tag. |
int |
hashCode()
|
boolean |
isGround()
Checks whether the term is ground (a term with no variables). |
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 |
| Method Detail |
|---|
public String[] getValue()
getValue in interface IPlainLiteralgetValue in interface ITermpublic 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 o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic String getString()
IPlainLiteral
getString in interface IPlainLiteralpublic String getLang()
IPlainLiteral
getLang in interface IPlainLiteralpublic URI getDatatypeIRI()
IConcreteTerm
getDatatypeIRI in interface IConcreteTermpublic String toCanonicalString()
IConcreteTerm
toCanonicalString in interface IConcreteTerm
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||