|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jrdf.graph.local.AbstractResource
org.jrdf.graph.local.URIReferenceResourceImpl
public final class URIReferenceResourceImpl
| Method Summary | |
|---|---|
void |
accept(TypedNodeVisitor visitor)
Accept a call from a TypedNodeVisitor. |
boolean |
equals(Object obj)
While the internal structure of a BlankNode is not defined equality between two nodes should be able to be determined. |
Node |
getUnderlyingNode()
Returns the node that the resource represents - either a BlankNode or a URIReference. |
URI |
getURI()
The URI identifiying this resource. |
int |
hashCode()
Returns a hash-code value for this BlankNode. |
boolean |
isURIReference()
Returns true if this is a URIReference, otherwise it's a BlankNode. |
String |
toString()
|
| Methods inherited from class org.jrdf.graph.local.AbstractResource |
|---|
addValue, addValue, addValue, addValue, addValue, addValue, addValue, asTriple, asTriple, asTriple, asTriple, asTriple, asTriple, asTriple, containsTriple, getId, getObjects, getObjects, getSubjects, getSubjects, removeSubject, removeSubject, removeValue, removeValue, removeValue, removeValue, removeValue, removeValue, removeValue, removeValues, removeValues, setValue, setValue, setValue, setValue, setValue, setValue, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean isURIReference()
Resource
public Node getUnderlyingNode()
Resource
public URI getURI()
URIReferenceURI identifiying this resource.
URI identifying this resource.public int hashCode()
BlankNode
hashCode in interface BlankNodehashCode in interface URIReferencehashCode in class Objectpublic boolean equals(Object obj)
BlankNode
equals in interface BlankNodeequals in interface URIReferenceequals in class Objectobj - the reference object with which to compare.
public void accept(TypedNodeVisitor visitor)
TypedNodeVisitable
visitor - the object doing the visiting.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||