|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TupleQueryResultParser
A general interface for tuple query result parsers.
| Method Summary | |
|---|---|
TupleQueryResultFormat |
getTupleQueryResultFormat()
Gets the query result format that this parser can parse. |
void |
parse(java.io.InputStream in)
Parses the data from the supplied InputStream. |
void |
setTupleQueryResultHandler(TupleQueryResultHandler handler)
Sets the TupleQueryResultHandler that will handle the parsed query result data. |
void |
setValueFactory(ValueFactory valueFactory)
Sets the ValueFactory that the parser will use to create Value objects for the parsed query result. |
| Method Detail |
|---|
TupleQueryResultFormat getTupleQueryResultFormat()
void setValueFactory(ValueFactory valueFactory)
valueFactory - The value factory that the parser should use.void setTupleQueryResultHandler(TupleQueryResultHandler handler)
void parse(java.io.InputStream in)
throws java.io.IOException,
QueryResultParseException,
TupleQueryResultHandlerException
in - The InputStream from which to read the data.
java.io.IOException - If an I/O error occurred while data was read from the InputStream.
QueryResultParseException - If the parser has encountered an unrecoverable parse error.
TupleQueryResultHandlerException - If the configured query result handler has encountered an
unrecoverable error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||