|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.sparql.core.QuerySolutionBase
public abstract class QuerySolutionBase
Implementation of QuerySolution that contains the canonicalization and casting code.
| Constructor Summary | |
|---|---|
QuerySolutionBase()
|
|
| Method Summary | |
|---|---|
boolean |
contains(String varName)
Return true if the named variable is in this binding |
com.hp.hpl.jena.rdf.model.RDFNode |
get(String varName)
Return the value of the named variable in this binding. |
com.hp.hpl.jena.rdf.model.Literal |
getLiteral(String varName)
Return the value of the named variable in this binding, casting to a Literal. |
com.hp.hpl.jena.rdf.model.Resource |
getResource(String varName)
Return the value of the named variable in this binding, casting to a Resource. |
abstract Iterator<String> |
varNames()
Iterate over the variable names (strings) in this QuerySolution. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuerySolutionBase()
| Method Detail |
|---|
public com.hp.hpl.jena.rdf.model.RDFNode get(String varName)
QuerySolution
get in interface QuerySolutionpublic com.hp.hpl.jena.rdf.model.Resource getResource(String varName)
QuerySolution
getResource in interface QuerySolutionpublic com.hp.hpl.jena.rdf.model.Literal getLiteral(String varName)
QuerySolution
getLiteral in interface QuerySolutionpublic boolean contains(String varName)
QuerySolution
contains in interface QuerySolutionpublic abstract Iterator<String> varNames()
QuerySolution
varNames in interface QuerySolution
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||