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

java.lang.Object
  extended by com.hp.hpl.jena.sparql.resultset.OutputBase
      extended by com.hp.hpl.jena.sparql.resultset.JSONOutput
All Implemented Interfaces:
OutputFormatter

public class JSONOutput
extends OutputBase


Constructor Summary
JSONOutput()
           
 
Method Summary
 void format(OutputStream out, boolean booleanResult)
          Format a boolean result - output on the given stream
 void format(OutputStream out, ResultSet resultSet)
          Format a result set - output on the given stream
 
Methods inherited from class com.hp.hpl.jena.sparql.resultset.OutputBase
asString, asString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONOutput

public JSONOutput()
Method Detail

format

public void format(OutputStream out,
                   ResultSet resultSet)
Description copied from interface: OutputFormatter
Format a result set - output on the given stream


format

public void format(OutputStream out,
                   boolean booleanResult)
Description copied from interface: OutputFormatter
Format a boolean result - output on the given stream



Licenced under the Apache License, Version 2.0