Class TransactionWriter
java.lang.Object
org.eclipse.rdf4j.http.protocol.transaction.TransactionWriter
Serializes of an RDF transaction.
- Author:
- Arjohn Kampman, Leo Sauermann
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(Iterable<? extends TransactionOperation> txn, OutputStream out) serialize the passed list of operations to the passed writer.protected void
serialize
(AddStatementOperation op, XMLWriter xmlWriter) protected void
serialize
(ClearNamespacesOperation op, XMLWriter xmlWriter) protected void
serialize
(ClearOperation op, XMLWriter xmlWriter) protected void
serialize
(RemoveNamespaceOperation op, XMLWriter xmlWriter) protected void
serialize
(RemoveStatementsOperation op, XMLWriter xmlWriter) protected void
serialize
(SetNamespaceOperation op, XMLWriter xmlWriter) protected void
serialize
(SPARQLUpdateOperation op, XMLWriter xmlWriter) protected void
serialize
(StatementOperation op, XMLWriter xmlWriter) protected void
serialize
(TransactionOperation op, XMLWriter xmlWriter) Serializes the supplied operation.protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
serializeNull
(XMLWriter xmlWriter)
-
Constructor Details
-
TransactionWriter
public TransactionWriter()
-
-
Method Details
-
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 operationsout
- the output stream to write to- Throws:
IOException
IllegalArgumentException
- when one of the parameters is null
-
serialize
Serializes the supplied operation.- Parameters:
op
- The operation to serializexmlWriter
-- Throws:
IOException
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
serializeNull
- Throws:
IOException
-
serialize
- Throws:
IOException
-