|
||||||||||
| 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(java.lang.Object o)
Compares a URI object to another object. |
java.lang.String |
getLocalName()
Gets the local name of this URI. |
java.lang.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. |
java.lang.String |
toString()
Returns the String-representation of this URI. |
| Methods inherited from interface org.openrdf.model.Value |
|---|
stringValue |
| Method Detail |
|---|
java.lang.String toString()
toString in class java.lang.Objectjava.lang.String getNamespace()
java.lang.String getLocalName()
boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - The object to compare this URI to.
URI
and their String-representations are equal, false
otherwise.int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||