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

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

public class XMLOutputResultSet
extends Object
implements ResultSetProcessor, XMLResults

XML Output (ResultSet format)


Field Summary
 
Fields inherited from interface com.hp.hpl.jena.sparql.resultset.XMLResults
baseNamespace, dfAttrDatatype, dfAttrVarName, dfBinding, dfBNode, dfBoolean, dfHead, dfLink, dfLiteral, dfNamespace, dfResults, dfRootTag, dfSolution, dfUnbound, dfURI, dfVariable, INDENT, xsBaseURI
 
Method Summary
 void binding(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
 String getStylesheetURL()
           
 boolean getXmlInst()
           
 void setStylesheetURL(String stylesheetURL)
           
 void setXmlInst(boolean xmlInst)
           
 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(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

getStylesheetURL

public String getStylesheetURL()
Returns:
Returns the stylesheetURL.

setStylesheetURL

public void setStylesheetURL(String stylesheetURL)
Parameters:
stylesheetURL - The stylesheetURL to set.

getXmlInst

public boolean getXmlInst()
Returns:
Returns the xmlInst.

setXmlInst

public void setXmlInst(boolean xmlInst)
Parameters:
xmlInst - The xmlInst to set.


Licenced under the Apache License, Version 2.0