|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TypedLiteral
Typed literals have a lexical form and a data type URI being an RDF URI reference.
To convert java objects to typed literals use LiteralFactory
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Two TypedLiteral nodes are equal iff they have the same lexical form and the same data type |
UriRef |
getDataType()
Returns the data type which is a UriRef. |
int |
hashCode()
The hash code is equal to the hash code of the lexical form plus the hash code of the dataType |
| Methods inherited from interface org.apache.clerezza.rdf.core.Literal |
|---|
getLexicalForm |
| Method Detail |
|---|
UriRef getDataType()
boolean equals(Object obj)
equals in class Objectobj -
obj is an instance of TypedLiteral
for which the lexical form and the data type URI are equal to the ones
of this instance, false otherwiseint hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||