|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface URI
A URI. A URI consists of a namespace and a local name, which are derived from a URI string by splitting it in two using the following algorithm:
URIUtil.getLocalNameIndex(String)| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compares a URI object to another object. |
String |
getLocalName()
Gets the local name of this URI. |
String |
getNamespace()
Gets the namespace of this URI. |
int |
hashCode()
The hash code of a URI is defined as the hash code of its String-representation: toString().hashCode. |
String |
toString()
Returns the String-representation of this URI. |
| Methods inherited from interface org.openrdf.model.Value |
|---|
stringValue |
| Method Detail |
|---|
String toString()
toString in class ObjectString getNamespace()
String getLocalName()
boolean equals(Object o)
equals in class Objecto - The object to compare this URI to.
URI
and their String-representations are equal, false
otherwise.int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||