org.trippi.io
Class SparqlTupleWriter

java.lang.Object
  extended by org.trippi.io.RDFWriter
      extended by org.trippi.io.TupleWriter
          extended by org.trippi.io.SparqlTupleWriter

public class SparqlTupleWriter
extends TupleWriter

http://www.w3.org/TR/2004/WD-rdf-sparql-XMLres-20041221/


Constructor Summary
SparqlTupleWriter(java.io.OutputStream out, java.util.Map aliases)
           
 
Method Summary
 int write(TupleIterator iter)
          Write the tuples from the iterator, close the iterator, and return the number written.
 
Methods inherited from class org.trippi.io.RDFWriter
enc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SparqlTupleWriter

public SparqlTupleWriter(java.io.OutputStream out,
                         java.util.Map aliases)
                  throws TrippiException
Throws:
TrippiException
Method Detail

write

public int write(TupleIterator iter)
          throws TrippiException
Description copied from class: TupleWriter
Write the tuples from the iterator, close the iterator, and return the number written. Do not close the outputstream.

Specified by:
write in class TupleWriter
Throws:
TrippiException