org.openrdf.http.protocol.transaction
Class TransactionReader

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

public class TransactionReader
extends Object


Constructor Summary
TransactionReader()
           
 
Method Summary
 Collection<TransactionOperation> parse(InputStream in)
          parse the transaction from the serialization
 Collection<TransactionOperation> parse(Reader in)
          parse the transaction from the serialization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionReader

public TransactionReader()
Method Detail

parse

public Collection<TransactionOperation> parse(InputStream in)
                                       throws SAXException,
                                              IOException
parse the transaction from the serialization

Parameters:
in -
Returns:
Throws:
SAXException - If the SimpleSAXParser was unable to create an XMLReader or if the XML is faulty.
IOException - If IO problems during parsing.

parse

public Collection<TransactionOperation> parse(Reader in)
                                       throws SAXException,
                                              IOException
parse the transaction from the serialization

Parameters:
in -
Returns:
Throws:
SAXException - If the SimpleSAXParser was unable to create an XMLReader or if the XML is faulty.
IOException - If IO problems during parsing.


Copyright © 2001-2008 Aduna. All Rights Reserved.