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.VariableName
Nested classes/interfaces inherited from class org.apache.jena.graph.Node
Node.NotLiteral
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Var
static Var
static Var
static Var
static Var
asNode()
static String
final boolean
final int
hashCode()
boolean
static boolean
isAllocVar
(Node node) static boolean
boolean
static boolean
boolean
static boolean
isBlankNodeVar
(Node node) static boolean
boolean
static boolean
isNamedVar
(Node node) static boolean
static boolean
static boolean
isRenamedVar
(Node node) static boolean
static Node
Return the value of the access function or node itself.static Node
Return the value of the access function or var itself.static Node
Return the value in the binding (if node is a Var) or the node itself.static Node
Return 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, visitWith
Methods inherited from class org.apache.jena.graph.Node_Fluid
isConcrete
Methods 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:
equals
in 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
-