public class URIImpl extends Object implements URI
URI interface.| Modifier | Constructor and Description |
|---|---|
protected |
URIImpl()
Creates a new, unitialized URI.
|
|
URIImpl(String uriString)
Creates a new URI from the supplied string.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected void |
setURIString(String uriString) |
String |
stringValue()
Returns the String-value of a Value object.
|
String |
toString()
Returns the String-representation of this URI.
|
protected URIImpl()
set before the normal methods can be used.public URIImpl(String uriString)
uriString - A String representing a valid, absolute URI.IllegalArgumentException - If the supplied URI is not a valid (absolute) URI.protected void setURIString(String uriString)
public String toString()
URIpublic String stringValue()
ValueLiteral's label, a URI's URI or a BNode's ID.stringValue in interface Valuepublic String getNamespace()
URIgetNamespace in interface URIpublic String getLocalName()
URIgetLocalName in interface URIpublic boolean equals(Object o)
URICopyright © 2001-2014 Aduna. All Rights Reserved.