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

java.lang.Object
  extended by com.hp.hpl.jena.sparql.resultset.RDFOutput

public class RDFOutput
extends Object


Constructor Summary
RDFOutput()
           
 
Method Summary
 Resource asRDF(Model model, boolean result)
           
 Resource asRDF(Model model, ResultSet resultSet)
          Encode the result set as RDF in the model provided.
 boolean getAllVars()
           
 void setAllVars(boolean all)
          Set whether all variables, not just selected ones, are recorded
 Model toModel(boolean result)
           
 Model toModel(ResultSet resultSet)
          Encode the result set as RDF.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDFOutput

public RDFOutput()
Method Detail

getAllVars

public boolean getAllVars()

setAllVars

public void setAllVars(boolean all)
Set whether all variables, not just selected ones, are recorded


toModel

public Model toModel(ResultSet resultSet)
Encode the result set as RDF.

Returns:
Model Model contains the results

asRDF

public Resource asRDF(Model model,
                      ResultSet resultSet)
Encode the result set as RDF in the model provided.

Parameters:
model - The place where to put the RDF.
Returns:
Resource The resource for the result set.

toModel

public Model toModel(boolean result)

asRDF

public Resource asRDF(Model model,
                      boolean result)


Licenced under the Apache License, Version 2.0