com.hp.hpl.jena.sparql.resultset
Class JSONObjectResult

java.lang.Object
  extended by com.hp.hpl.jena.sparql.resultset.JSONObjectResult
All Implemented Interfaces:
ResultSetProcessor

public class JSONObjectResult
extends java.lang.Object
implements ResultSetProcessor

JSON Output as a JSON object (Converted from a JSONStringer output writer by Elias Torres (elias@torrez.us) Upgraded to


Method Summary
 void binding(java.lang.String varName, com.hp.hpl.jena.rdf.model.RDFNode node)
          A single (variable, value) pair in a query solution - the value may be null indicating that the variable was not present in this solution.
 void finish(QuerySolution qs)
          Finish query solution (row in result set)
 void finish(ResultSet rs)
          Finish result set
 void start(QuerySolution qs)
          Start query solution (row in result set)
 void start(ResultSet rs)
          Start result set
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

start

public void start(ResultSet rs)
Description copied from interface: ResultSetProcessor
Start result set

Specified by:
start in interface ResultSetProcessor

finish

public void finish(ResultSet rs)
Description copied from interface: ResultSetProcessor
Finish result set

Specified by:
finish in interface ResultSetProcessor

start

public void start(QuerySolution qs)
Description copied from interface: ResultSetProcessor
Start query solution (row in result set)

Specified by:
start in interface ResultSetProcessor

finish

public void finish(QuerySolution qs)
Description copied from interface: ResultSetProcessor
Finish query solution (row in result set)

Specified by:
finish in interface ResultSetProcessor

binding

public void binding(java.lang.String varName,
                    com.hp.hpl.jena.rdf.model.RDFNode node)
Description copied from interface: ResultSetProcessor
A single (variable, value) pair in a query solution - the value may be null indicating that the variable was not present in this solution.

Specified by:
binding in interface ResultSetProcessor


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.