java.lang.Object
org.apache.jena.graph.Node
org.apache.jena.graph.Node_Fluid
org.apache.jena.graph.Node_Variable
org.apache.jena.sparql.core.Var
- All Implemented Interfaces:
Serializable
A SPARQL variable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jena.graph.Node_Variable
Node_Variable.VariableNameNested classes/interfaces inherited from class org.apache.jena.graph.Node
Node.NotLiteral -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Varstatic Varstatic Varstatic Varstatic VarasNode()static Stringfinal booleanfinal inthashCode()booleanstatic booleanisAllocVar(Node node) static booleanbooleanstatic booleanbooleanstatic booleanisBlankNodeVar(Node node) static booleanbooleanstatic booleanisNamedVar(Node node) static booleanstatic booleanstatic booleanisRenamedVar(Node node) static booleanstatic NodeReturn the value of the access function or node itself.static NodeReturn the value of the access function or var itself.static NodeReturn the value in the binding (if node is a Var) or the node itself.static NodeReturn the value in the binding or the variable itself.varList(Collection<String> varNames) Convert a collection of variable names to variablesvarNames(Collection<Var> vars) Return a list of String names from a collection of variablesMethods inherited from class org.apache.jena.graph.Node_Variable
getName, isVariable, toString, variable, visitWithMethods inherited from class org.apache.jena.graph.Node_Fluid
isConcreteMethods inherited from class org.apache.jena.graph.Node
getBlankNodeId, getBlankNodeLabel, getGraph, getIndexingValue, getLiteral, getLiteralDatatype, getLiteralDatatypeURI, getLiteralIsXML, getLiteralLanguage, getLiteralLexicalForm, getLiteralValue, getLocalName, getNameSpace, getTriple, getURI, hasURI, isBlank, isExt, isLiteral, isNodeGraph, isNodeTriple, isURI, matches, sameValueAs, toString, toString, toString
-
Field Details
-
ANON
-
-
Method Details
-
alloc
-
alloc
-
alloc
-
alloc
-
alloc
-
lookup
Return the value in the binding (if node is a Var) or the node itself. -
lookup
Return the value in the binding or the variable itself. -
lookup
Return the value of the access function or node itself. -
lookup
Return the value of the access function or var itself. -
asNode
-
getVarName
-
hashCode
public final int hashCode() -
equals
- Overrides:
equalsin classNode_Variable
-
isNamedVar
public boolean isNamedVar() -
isBlankNodeVar
public boolean isBlankNodeVar() -
isAllocVar
public boolean isAllocVar() -
isAnonVar
public boolean isAnonVar() -
canonical
-
isVar
-
isRenamedVar
-
isRenamedVar
-
isNamedVar
-
isNamedVarName
-
isBlankNodeVar
-
isBlankNodeVarName
-
isAllocVar
-
isAllocVarName
-
varList
Convert a collection of variable names to variables -
isAnonVar
-
varNames
Return a list of String names from a collection of variables
-