|
||||||||||
| 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.BlankNodeResourceImpl
public final class BlankNodeResourceImpl
| 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. |
String |
getUID()
Returns the identifier for the blank node. |
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 |
| Methods inherited from interface org.jrdf.graph.local.LocalizedNode |
|---|
getId |
| Method Detail |
|---|
public boolean isURIReference()
Resource
isURIReference in interface Resourcepublic Node getUnderlyingNode()
Resource
getUnderlyingNode in interface Resourcepublic URI getURI()
URIReferenceURI identifiying this resource.
getURI in interface URIReferenceURI 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
accept in interface TypedNodeVisitablevisitor - the object doing the visiting.public String toString()
toString in class Objectpublic String getUID()
GlobalizedBlankNode
getUID in interface GlobalizedBlankNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||