|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.query.resultio.TupleQueryResultParserBase
public abstract class TupleQueryResultParserBase
Base class for TupleQueryResultParsers offering common functionality for
query result parsers.
| Field Summary | |
|---|---|
protected TupleQueryResultHandler |
handler
The TupleQueryResultHandler that will handle the parsed query results. |
protected ValueFactory |
valueFactory
The ValueFactory to use for creating RDF model objects. |
| Constructor Summary | |
|---|---|
TupleQueryResultParserBase()
Creates a new parser base that, by default, will use an instance of ValueFactoryImpl to create Value objects. |
|
TupleQueryResultParserBase(ValueFactory valueFactory)
Creates a new parser base that will use the supplied ValueFactory to create Value objects. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openrdf.query.resultio.TupleQueryResultParser |
|---|
getTupleQueryResultFormat, parse |
| Field Detail |
|---|
protected ValueFactory valueFactory
protected TupleQueryResultHandler handler
| Constructor Detail |
|---|
public TupleQueryResultParserBase()
ValueFactoryImpl to create Value objects.
public TupleQueryResultParserBase(ValueFactory valueFactory)
| Method Detail |
|---|
public void setValueFactory(ValueFactory valueFactory)
TupleQueryResultParser
setValueFactory in interface TupleQueryResultParservalueFactory - The value factory that the parser should use.public void setTupleQueryResultHandler(TupleQueryResultHandler handler)
TupleQueryResultParser
setTupleQueryResultHandler in interface TupleQueryResultParser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||