|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.query.HtmlTableWriter
A TableQueryResultListener that converts the query results into an HTML document.
| Constructor Summary | |
HtmlTableWriter(OutputStream out,
String repository,
String styleSheetUrl)
|
|
HtmlTableWriter(OutputStream out,
String repository,
String styleSheetUrl,
String resultId)
|
|
| Method Summary | |
void |
endTableQueryResult()
Indicates the end of a table-like query result. |
void |
endTuple()
Indicates the end of a tuple/row. |
void |
error(QueryErrorType errType,
String msg)
Reports an error that has occurred during the query evaluation. |
void |
startTableQueryResult()
Indicates the start of a table-like query result. |
void |
startTableQueryResult(String[] columnHeaders)
Indicates the start of a table-like query result. |
void |
startTuple()
Indicates the start of a tuple/row. |
void |
tupleValue(Value value)
Delivers the next value in the current tuple/row. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HtmlTableWriter(OutputStream out,
String repository,
String styleSheetUrl)
throws IOException
public HtmlTableWriter(OutputStream out,
String repository,
String styleSheetUrl,
String resultId)
throws IOException
| Method Detail |
public void startTableQueryResult()
throws IOException
TableQueryResultListener
startTableQueryResult in interface TableQueryResultListenerIOException
public void startTableQueryResult(String[] columnHeaders)
throws IOException
TableQueryResultListener
startTableQueryResult in interface TableQueryResultListenerIOException
public void endTableQueryResult()
throws IOException
TableQueryResultListener
endTableQueryResult in interface TableQueryResultListenerIOException
public void startTuple()
throws IOException
TableQueryResultListener
startTuple in interface TableQueryResultListenerIOException
public void endTuple()
throws IOException
TableQueryResultListener
endTuple in interface TableQueryResultListenerIOException
public void tupleValue(Value value)
throws IOException
TableQueryResultListener
tupleValue in interface TableQueryResultListenervalue - The next value in the current tuple/row.
IOException
public void error(QueryErrorType errType,
String msg)
throws IOException
TableQueryResultListener
error in interface TableQueryResultListenererrType - The type of error.msg - A message describing the error.
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||