com.hp.hpl.jena.sparql.resultset
Class JSONInput
java.lang.Object
com.hp.hpl.jena.sparql.resultset.SPARQLResult
com.hp.hpl.jena.sparql.resultset.JSONInput
public class JSONInput
- extends SPARQLResult
Code that reads a JSON Result Set and builds the ARQ structure for the same.
Originally from Elias Torres <elias@torrez.us>
Updated to not use org.json code : Andy Seaborne (2010)
JSONInput
public JSONInput(InputStream in)
JSONInput
public JSONInput(InputStream in,
com.hp.hpl.jena.rdf.model.Model model)
fromJSON
public static ResultSet fromJSON(InputStream in)
fromJSON
public static ResultSet fromJSON(InputStream in,
com.hp.hpl.jena.rdf.model.Model model)
booleanFromXML
public static boolean booleanFromXML(InputStream in)
make
public static SPARQLResult make(InputStream in,
com.hp.hpl.jena.rdf.model.Model model)
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010 Epimorphics Ltd.