public class VariableImpl extends AbstractSPINResourceImpl implements Variable
INDENTATION| Constructor and Description |
|---|
VariableImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of this variable (without the '?').
|
Set<TriplePattern> |
getTriplePatterns()
Gets all TriplePatterns where this Variable is mentioned.
|
boolean |
isBlankNodeVar()
Checks if this represents a blank node var.
|
void |
print(PrintContext p)
Instructs this to print itself into a given PrintContext.
|
getComment, getElements, getElements, getList, hasRDFType, printComment, printNestedElementList, printNestedElementList, printNestedExpressionString, printNestedExpressionString, printPrefixes, printVariableExpression, printVariableExpression, printVarOrResource, toStringgetInteger, getLiteral, getLong, getRDFNode, getResource, getString, inferRDFNodeabort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, asLiteral, asResource, begin, commit, getId, getLocalName, getModel, getModelCom, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, mustHaveModel, removeAll, removeProperties, visitWithas, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isAnon, isLiteral, isResource, isURIResource, isValid, viewAsaddView, alreadyHasView, asInternal, supportsclone, finalize, getClass, notify, notifyAll, wait, wait, waitabort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toStringpublic VariableImpl(org.apache.jena.graph.Node node,
org.apache.jena.enhanced.EnhGraph graph)
public String getName()
Variablepublic Set<TriplePattern> getTriplePatterns()
VariablegetTriplePatterns in interface Variablepublic boolean isBlankNodeVar()
VariableisBlankNodeVar in interface Variablepublic void print(PrintContext p)
PrintableCopyright © 2017 TopQuadrant, Inc.. All rights reserved.