public class TransactionWriter extends Object
Constructor and Description |
---|
TransactionWriter() |
Modifier and Type | Method and Description |
---|---|
protected void |
serialize(AddStatementOperation op,
XMLWriter xmlWriter) |
protected void |
serialize(BNode bnode,
XMLWriter xmlWriter) |
protected void |
serialize(ClearNamespacesOperation op,
XMLWriter xmlWriter) |
protected void |
serialize(ClearOperation op,
XMLWriter xmlWriter) |
protected void |
serialize(IRI uri,
XMLWriter xmlWriter) |
void |
serialize(Iterable<? extends TransactionOperation> txn,
OutputStream out)
serialize the passed list of operations to the passed writer.
|
protected void |
serialize(Literal literal,
XMLWriter xmlWriter) |
protected void |
serialize(RemoveNamespaceOperation op,
XMLWriter xmlWriter) |
protected void |
serialize(RemoveStatementsOperation op,
XMLWriter xmlWriter) |
protected void |
serialize(Resource[] contexts,
XMLWriter xmlWriter) |
protected void |
serialize(Resource resource,
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 |
serialize(Value value,
XMLWriter xmlWriter) |
protected void |
serializeNull(XMLWriter xmlWriter) |
public void serialize(Iterable<? extends TransactionOperation> txn, OutputStream out) throws IOException
txn
- the operationsout
- the output stream to write toIOException
IllegalArgumentException
- when one of the parameters is nullprotected void serialize(TransactionOperation op, XMLWriter xmlWriter) throws IOException
op
- The operation to serializexmlWriter
- IOException
protected void serialize(AddStatementOperation op, XMLWriter xmlWriter) throws IOException
IOException
protected void serialize(SPARQLUpdateOperation op, XMLWriter xmlWriter) throws IOException
IOException
protected void serialize(RemoveStatementsOperation op, XMLWriter xmlWriter) throws IOException
IOException
protected void serialize(StatementOperation op, XMLWriter xmlWriter) throws IOException
IOException
protected void serialize(ClearOperation op, XMLWriter xmlWriter) throws IOException
IOException
protected void serialize(SetNamespaceOperation op, XMLWriter xmlWriter) throws IOException
IOException
protected void serialize(RemoveNamespaceOperation op, XMLWriter xmlWriter) throws IOException
IOException
protected void serialize(ClearNamespacesOperation op, XMLWriter xmlWriter) throws IOException
IOException
protected void serialize(Resource[] contexts, XMLWriter xmlWriter) throws IOException
IOException
protected void serialize(Value value, XMLWriter xmlWriter) throws IOException
IOException
protected void serialize(Resource resource, XMLWriter xmlWriter) throws IOException
IOException
protected void serialize(IRI uri, XMLWriter xmlWriter) throws IOException
IOException
protected void serialize(BNode bnode, XMLWriter xmlWriter) throws IOException
IOException
protected void serialize(Literal literal, XMLWriter xmlWriter) throws IOException
IOException
protected void serializeNull(XMLWriter xmlWriter) throws IOException
IOException
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.