|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An RDF literal consisting of a label (the value) and optionally a language tag or a datatype (but not both).
| Method Summary | |
boolean |
equals(Object other)
Compares a literal object to another object. |
URI |
getDatatype()
Gets the datatype for this literal. |
String |
getLabel()
Gets the label of this literal. |
String |
getLanguage()
Gets the language tag for this literal, normalized to lowercase. |
int |
hashCode()
The hash code of a literal is defined as the hash code of its label: label.hashCode(). |
| Methods inherited from interface org.openrdf.model.Value |
getObjectStatements |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Method Detail |
public String getLabel()
public String getLanguage()
public URI getDatatype()
public boolean equals(Object other)
other - The object to compare this literal to.
Literal and if their labels, language tags and datatypes are
equal.public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||