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 TypeMethodDescriptionbooleanJava rules for equals.inthashCode()booleanAnswer true iff this node is concrete, meaning a node that is data in an RDF Graph.booleanAnswer 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, getLiteralBaseDirection, getLiteralDatatype, getLiteralDatatypeURI, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getLocalName, getName, getNameSpace, getTriple, getURI, hasURI, isBlank, isExt, isLiteral, isNodeGraph, isNodeTriple, isTripleTerm, isURI, isVariable, sameTermAs, sameValueAs
-
Method Details
-
isConcrete
public boolean isConcrete()Description copied from class:NodeAnswer true iff this node is concrete, meaning a node that is data in an RDF Graph.- Specified by:
isConcretein classNode
-
hashCode
public int hashCode() -
equals
Description copied from class:NodeJava rules for equals. See also {#sameTermAs} and {#sameValueAs}. Nodes only equal other Nodes that have equal labels. -
visitWith
Description copied from class:NodeVisit a Node and dispatch on it to the appropriate method from the NodeVisitorv. -
matches
Description copied from class:NodeAnswer 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:NodeAnswer a human-readable representation of this Node.
-