org.openrdf.http.protocol.transaction
Class TransactionWriter

java.lang.Object
  extended by org.openrdf.http.protocol.transaction.TransactionWriter

public class TransactionWriter
extends Object

Serializes of an RDF transaction.


Constructor Summary
TransactionWriter()
           
 
Method Summary
 void serialize(Iterable<? extends TransactionOperation> txn, OutputStream out)
          serialize the passed list of operations to the passed writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionWriter

public TransactionWriter()
Method Detail

serialize

public void serialize(Iterable<? extends TransactionOperation> txn,
                      OutputStream out)
               throws IOException
serialize the passed list of operations to the passed writer.

Parameters:
txn - the operations
writer - the writer to write to
Throws:
IllegalArgumentException - when one of the parameters is null
IOException


Copyright © 2001-2008 Aduna. All Rights Reserved.