|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.terms.concrete.XMLLiteral
public class XMLLiteral
Implementation of the rdf:XMLLiteral data-type.
| Method Summary | |
|---|---|
int |
compareTo(ITerm thatObject)
|
boolean |
equals(Object thatObject)
|
URI |
getDatatypeIRI()
Returns the fully qualified identifier for the data type corresponding to this term. |
String |
getLang()
Returns the language identifier for this XML element, or null if not language identifier is defined. |
String |
getString()
Returns the represented XML element content as a string. |
String[] |
getValue()
Returns a vale of the term. |
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 toString()
toString in class Objectpublic URI getDatatypeIRI()
IConcreteTerm
getDatatypeIRI in interface IConcreteTermpublic String getString()
IXMLLiteral
getString in interface IXMLLiteralpublic String getLang()
IXMLLiteralnull if not language identifier is defined. This string
directly corresponds to the xml:lang attribute.
getLang in interface IXMLLiteralnull if not language identifier is defined.public String[] getValue()
ITerm
getValue in interface IXMLLiteralgetValue in interface ITermpublic boolean isGround()
ITerm
isGround in interface ITermtrue if the term is ground,
otherwise false.public boolean equals(Object thatObject)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic int compareTo(ITerm thatObject)
compareTo in interface Comparable<ITerm>public String toCanonicalString()
IConcreteTerm
toCanonicalString in interface IConcreteTerm
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||