java.lang.Object
org.apache.jena.graph.Node
org.apache.jena.graph.Node_ANY
- All Implemented Interfaces:
Serializable
A Node_ANY (there should be only one) is a meta-node that is used to stand
for any other node in a query.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jena.graph.Node
Node.NotLiteral
-
Field Summary
Fields inherited from class org.apache.jena.graph.Node
ANY, noLangTag, noTextDirection
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Java rules for equals.int
hashCode()
boolean
Answer true iff this node is concrete, meaning a node that is data in an RDF Graph.boolean
Answer true iff this node accepts the other one as a match.toString()
Answer a human-readable representation of this Node.toString
(PrefixMapping pmap) Answer a human-readable representation of the Node.Visit a Node and dispatch on it to the appropriate method from the NodeVisitorv
.Methods inherited from class org.apache.jena.graph.Node
getBlankNodeLabel, getGraph, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralLanguage, getLiteralLexicalForm, getLiteralTextDirection, getLiteralValue, getLocalName, getName, getNameSpace, getTriple, getURI, hasURI, isBlank, isExt, isLiteral, isNodeGraph, isNodeTriple, isURI, isVariable, sameTermAs, sameValueAs
-
Method Details
-
isConcrete
public boolean isConcrete()Description copied from class:Node
Answer true iff this node is concrete, meaning a node that is data in an RDF Graph.- Specified by:
isConcrete
in classNode
-
hashCode
public int hashCode() -
equals
Description copied from class:Node
Java rules for equals. See also {#sameTermAs} and {#sameValueAs} Nodes only equal other Nodes that have equal labels. -
visitWith
Description copied from class:Node
Visit a Node and dispatch on it to the appropriate method from the NodeVisitorv
. -
matches
Description copied from class:Node
Answer true iff this node accepts the other one as a match. The default is an equality test; it is over-ridden in subclasses to provide the appropriate semantics for literals, ANY, and variables. -
toString
Description copied from class:Node
Answer a human-readable representation of this Node.
-