|
|||||||||||
| 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_Fluid
com.hp.hpl.jena.graph.Node_Variable
| Field Summary |
| Fields inherited from class com.hp.hpl.jena.graph.Node |
ANY |
| Constructor Summary | |
Node_Variable(java.lang.Object name)
|
|
| Method Summary | |
boolean |
equals(java.lang.Object other)
Nodes only equal other Nodes that have equal labels. |
java.lang.String |
getName()
get a variable nodes name, otherwise die horribly |
boolean |
isConcrete()
Answer true iff this node is concrete, ie not variable, ie URI, blank, or literal. |
boolean |
isVariable()
is this a variable node - overridden in Node_Variable |
java.lang.String |
toString()
Return the N-Triple representation of this node. hedgehog hack: just use the label's string. |
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 |
cache, create, create, create, createAnon, createAnon, createLiteral, createLiteral, createLiteral, createURI, createVariable, getBlankNodeId, getLiteral, getTriple, getURI, hashCode, isBlank, isLiteral, isURI, matches, nullLiteralsGenerateWarnings, sameValueAs |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Node_Variable(java.lang.Object name)
| Method Detail |
public java.lang.String getName()
Node
getName in class Nodepublic java.lang.Object visitWith(NodeVisitor v)
Nodev.
visitWith in class Nodev - the visitor to apply to the node
public boolean isVariable()
Node
isVariable in class Nodepublic boolean isConcrete()
Node
isConcrete in class Node_Fluidpublic java.lang.String toString()
Node
toString in class Nodepublic 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 | ||||||||||