com.hp.hpl.jena.sparql.core
Class ResultBinding

java.lang.Object
  extended by com.hp.hpl.jena.sparql.core.QuerySolutionBase
      extended by com.hp.hpl.jena.sparql.core.ResultBinding
All Implemented Interfaces:
QuerySolution

public class ResultBinding
extends QuerySolutionBase

A mapping from variable name to an RDF value. A wrapper around the graph level Binding.


Constructor Summary
ResultBinding(com.hp.hpl.jena.rdf.model.Model _model, Binding _binding)
           
 
Method Summary
static boolean equals(ResultBinding rb1, ResultBinding rb2)
           
 Binding getBinding()
           
 String toString()
           
 Iterator<String> varNames()
          Iterate over the variable names (strings) in this QuerySolution.
 
Methods inherited from class com.hp.hpl.jena.sparql.core.QuerySolutionBase
contains, get, getLiteral, getResource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResultBinding

public ResultBinding(com.hp.hpl.jena.rdf.model.Model _model,
                     Binding _binding)
Method Detail

varNames

public Iterator<String> varNames()
Description copied from interface: QuerySolution
Iterate over the variable names (strings) in this QuerySolution.

Specified by:
varNames in interface QuerySolution
Specified by:
varNames in class QuerySolutionBase
Returns:
Iterator of strings

getBinding

public Binding getBinding()

toString

public String toString()
Overrides:
toString in class Object

equals

public static boolean equals(ResultBinding rb1,
                             ResultBinding rb2)


Licenced under the Apache License, Version 2.0