|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteworks.RDF.model.Value
eworks.RDF.model.LiteralValue
eworks.RDF.model.UriLiteralValue
Represents an URI literal.
Constructor Summary | |
UriLiteralValue(String literal)
Creates a new instance representing the given URI literal literal . |
Method Summary | |
boolean |
equals(Object o)
Checks if the URI is equal to a given object. |
String |
getLocalName()
Returns the URI's local name component. |
URI |
getNamespace()
Returns the URI's namespace component. |
URI |
getURI()
Returns the encapsulated URI. |
int |
hashCode()
Returns the URI's hash code. |
String |
toString()
Returns the URI's string representation. |
Methods inherited from class eworks.RDF.model.LiteralValue |
getValue, getValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UriLiteralValue(String literal) throws URISyntaxException
literal
.
literal
- The URI literal to use.
URISyntaxException
- if the given literal
is no valid URI.Method Detail |
public URI getURI()
public URI getNamespace()
public String getLocalName()
public String toString()
public int hashCode()
hashCode
in class LiteralValue
public boolean equals(Object o)
o
is an instance of UriLiteralValue
,
too. If so, both encapsulated URIs are checked for equality. Otherwise the
call is propagated to the inhertied implementation
LiteralValue.equals(Object)
.
equals
in class LiteralValue
true
if and only if the URI is equal to o
.
|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |