|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.graph.Node
com.hp.hpl.jena.graph.Node_Concrete
com.hp.hpl.jena.graph.Node_URI
RDF nodes with a global identity given by a URI.
Field Summary |
Fields inherited from class com.hp.hpl.jena.graph.Node |
ANY, NULL |
Constructor Summary | |
Node_URI(java.lang.Object uri)
|
Method Summary | |
boolean |
equals(java.lang.Object other)
Nodes only equal other Nodes that have equal labels. |
java.lang.String |
getURI()
get the URI of this node if it has one, else die horribly |
boolean |
isURI()
is this a URI node - overridden in Node_URI |
java.lang.String |
toString(PrefixMapping pm,
boolean quoting)
Answer a String representing the node, taking into account the PrefixMapping. |
java.lang.Object |
visitWith(NodeVisitor v)
Visit a Node and dispatch on it to the appropriate method from the NodeVisitor v . |
Methods inherited from class com.hp.hpl.jena.graph.Node_Concrete |
isConcrete |
Methods inherited from class com.hp.hpl.jena.graph.Node |
cache, create, create, create, createAnon, createAnon, createLiteral, createLiteral, createLiteral, createURI, createVariable, getBlankNodeId, getLiteral, getName, hashCode, isBlank, isLiteral, isVariable, matches, nullLiteralsGenerateWarnings, sameValueAs, toString, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Node_URI(java.lang.Object uri)
Method Detail |
public java.lang.String getURI()
Node
getURI
in class Node
public java.lang.Object visitWith(NodeVisitor v)
Node
v
.
visitWith
in class Node
v
- the visitor to apply to the node
public boolean isURI()
Node
isURI
in class Node
public java.lang.String toString(PrefixMapping pm, boolean quoting)
toString
in class Node
public boolean equals(java.lang.Object other)
Node
equals
in class Node
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |