|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.query.RdfGraphWriter
| Constructor Summary | |
RdfGraphWriter(RDFFormat rdfFormat,
OutputStream out)
Creates a new RdfGraphWriter that will write the received query results to the supplied OutputStream. |
|
| Method Summary | |
void |
endGraphQueryResult()
Indicates the end of a graph-like query result. |
void |
namespace(String prefix,
String name)
Reports a namespace and its (preferred) prefix that might be used in the query result. |
void |
reportError(String msg)
Reports an error that has occurred during the query evaluation. |
void |
startGraphQueryResult()
Indicates the start of a graph-like query result. |
void |
triple(Resource subj,
URI pred,
Value obj)
Delivers the next triple in the query result. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RdfGraphWriter(RDFFormat rdfFormat,
OutputStream out)
throws IOException
out - The OutputStream to write the RDF to.rdfFormat - One of the constants defined in class RDFFormat.| Method Detail |
public void startGraphQueryResult()
throws IOException
startGraphQueryResult in interface GraphQueryResultListenerIOException
public void endGraphQueryResult()
throws IOException
endGraphQueryResult in interface GraphQueryResultListenerIOException
public void namespace(String prefix,
String name)
throws IOException
GraphQueryResultListener
namespace in interface GraphQueryResultListenerIOException
public void triple(Resource subj,
URI pred,
Value obj)
throws IOException
GraphQueryResultListener
triple in interface GraphQueryResultListenerIOException
public void reportError(String msg)
throws IOException
GraphQueryResultListener
reportError in interface GraphQueryResultListenerIOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||