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()
URI
public String stringValue()
Value
Literal
's label, a URI
's URI or a BNode
's ID.stringValue
in interface Value
public String getNamespace()
URI
getNamespace
in interface URI
public String getLocalName()
URI
getLocalName
in interface URI
public boolean equals(Object o)
URI
Copyright © 2001-2016 Aduna. All Rights Reserved.