public class SPARQLResultsHTMLWriter
extends org.openrdf.query.TupleQueryResultHandlerBase
implements org.openrdf.query.resultio.TupleQueryResultWriter
Constructor and Description |
---|
SPARQLResultsHTMLWriter(OutputStream out) |
SPARQLResultsHTMLWriter(OutputStream out,
org.apache.marmotta.platform.core.api.templating.TemplatingService templatingService) |
Modifier and Type | Method and Description |
---|---|
void |
endHeader() |
void |
endQueryResult() |
org.openrdf.query.resultio.QueryResultFormat |
getQueryResultFormat() |
Collection<org.openrdf.rio.RioSetting<?>> |
getSupportedSettings() |
org.openrdf.query.resultio.TupleQueryResultFormat |
getTupleQueryResultFormat() |
org.openrdf.rio.WriterConfig |
getWriterConfig()
Retrieves the current writer configuration as a single object.
|
void |
handleLinks(List<String> arg0) |
void |
handleNamespace(String prefix,
String uri) |
void |
handleSolution(org.openrdf.query.BindingSet binding) |
void |
handleStylesheet(String stylesheetUrl) |
void |
setWriterConfig(org.openrdf.rio.WriterConfig config)
Sets all supplied writer configuration options.
|
void |
startDocument() |
void |
startHeader() |
void |
startQueryResult(List<String> vars) |
public SPARQLResultsHTMLWriter(OutputStream out)
public SPARQLResultsHTMLWriter(OutputStream out, org.apache.marmotta.platform.core.api.templating.TemplatingService templatingService)
public org.openrdf.query.resultio.TupleQueryResultFormat getTupleQueryResultFormat()
getTupleQueryResultFormat
in interface org.openrdf.query.resultio.TupleQueryResultWriter
public void startQueryResult(List<String> vars) throws org.openrdf.query.TupleQueryResultHandlerException
startQueryResult
in interface org.openrdf.query.QueryResultHandler
startQueryResult
in class org.openrdf.query.TupleQueryResultHandlerBase
org.openrdf.query.TupleQueryResultHandlerException
public void handleSolution(org.openrdf.query.BindingSet binding) throws org.openrdf.query.TupleQueryResultHandlerException
handleSolution
in interface org.openrdf.query.QueryResultHandler
handleSolution
in class org.openrdf.query.TupleQueryResultHandlerBase
org.openrdf.query.TupleQueryResultHandlerException
public void endQueryResult() throws org.openrdf.query.TupleQueryResultHandlerException
endQueryResult
in interface org.openrdf.query.QueryResultHandler
endQueryResult
in class org.openrdf.query.TupleQueryResultHandlerBase
org.openrdf.query.TupleQueryResultHandlerException
public void handleLinks(List<String> arg0) throws org.openrdf.query.QueryResultHandlerException
handleLinks
in interface org.openrdf.query.QueryResultHandler
handleLinks
in class org.openrdf.query.TupleQueryResultHandlerBase
org.openrdf.query.QueryResultHandlerException
public org.openrdf.query.resultio.QueryResultFormat getQueryResultFormat()
getQueryResultFormat
in interface org.openrdf.query.resultio.QueryResultWriter
public void handleNamespace(String prefix, String uri) throws org.openrdf.query.QueryResultHandlerException
handleNamespace
in interface org.openrdf.query.resultio.QueryResultWriter
org.openrdf.query.QueryResultHandlerException
public void startDocument() throws org.openrdf.query.QueryResultHandlerException
startDocument
in interface org.openrdf.query.resultio.QueryResultWriter
org.openrdf.query.QueryResultHandlerException
public void handleStylesheet(String stylesheetUrl) throws org.openrdf.query.QueryResultHandlerException
handleStylesheet
in interface org.openrdf.query.resultio.QueryResultWriter
org.openrdf.query.QueryResultHandlerException
public void startHeader() throws org.openrdf.query.QueryResultHandlerException
startHeader
in interface org.openrdf.query.resultio.QueryResultWriter
org.openrdf.query.QueryResultHandlerException
public void endHeader() throws org.openrdf.query.QueryResultHandlerException
endHeader
in interface org.openrdf.query.resultio.QueryResultWriter
org.openrdf.query.QueryResultHandlerException
public Collection<org.openrdf.rio.RioSetting<?>> getSupportedSettings()
getSupportedSettings
in interface org.openrdf.query.resultio.QueryResultWriter
RioSetting
s that are supported by this
RDFWriter.public org.openrdf.rio.WriterConfig getWriterConfig()
getWriterConfig
in interface org.openrdf.query.resultio.QueryResultWriter
public void setWriterConfig(org.openrdf.rio.WriterConfig config)
setWriterConfig
in interface org.openrdf.query.resultio.QueryResultWriter
config
- a writer configuration object.Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.