|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eaglei.repository.format.SPARQLHTMLWriter
public class SPARQLHTMLWriter
Very quick-n-dirty HTML query result output, helpful for interactive debugging XXX FIXME low priority, maybe later, add class tags, odd/even rows and columns, to facilitate better styling.
| Field Summary | |
|---|---|
static java.lang.String |
Postlogue
HTML trailer |
static java.lang.String |
Prologue
HTML header |
static org.openrdf.query.resultio.TupleQueryResultFormat |
theFormat
Constant theFormat |
| Constructor Summary | |
|---|---|
SPARQLHTMLWriter(java.io.OutputStream out)
Constructor for SPARQLHTMLWriter. |
|
| Method Summary | |
|---|---|
void |
endQueryResult()
endQueryResult |
org.openrdf.query.resultio.TupleQueryResultFormat |
getTupleQueryResultFormat()
getTupleQueryResultFormat |
void |
handleSolution(org.openrdf.query.BindingSet bs)
|
protected static java.lang.String |
renderLinkedURI(org.openrdf.model.URI uri)
Produce HTML rendering of a URI that is possibly linked data. |
void |
startQueryResult(java.util.List<java.lang.String> bindingNames)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.openrdf.query.resultio.TupleQueryResultFormat theFormat
theFormat
public static final java.lang.String Prologue
public static final java.lang.String Postlogue
| Constructor Detail |
|---|
public SPARQLHTMLWriter(java.io.OutputStream out)
Constructor for SPARQLHTMLWriter.
out - a OutputStream object.| Method Detail |
|---|
public org.openrdf.query.resultio.TupleQueryResultFormat getTupleQueryResultFormat()
getTupleQueryResultFormat
getTupleQueryResultFormat in interface org.openrdf.query.resultio.TupleQueryResultWriterTupleQueryResultFormat object.
public void startQueryResult(java.util.List<java.lang.String> bindingNames)
throws org.openrdf.query.TupleQueryResultHandlerException
startQueryResult in interface org.openrdf.query.TupleQueryResultHandlerorg.openrdf.query.TupleQueryResultHandlerException
public void endQueryResult()
throws org.openrdf.query.TupleQueryResultHandlerException
endQueryResult
endQueryResult in interface org.openrdf.query.TupleQueryResultHandlerorg.openrdf.query.TupleQueryResultHandlerException - if any.
public void handleSolution(org.openrdf.query.BindingSet bs)
throws org.openrdf.query.TupleQueryResultHandlerException
handleSolution in interface org.openrdf.query.TupleQueryResultHandlerorg.openrdf.query.TupleQueryResultHandlerExceptionprotected static java.lang.String renderLinkedURI(org.openrdf.model.URI uri)
uri - a URI object.
String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||