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(Triple triple,
XMLWriter xmlWriter) |
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 toIOExceptionIllegalArgumentException - when one of the parameters is nullprotected void serialize(TransactionOperation op, XMLWriter xmlWriter) throws IOException
op - The operation to serializexmlWriter - IOExceptionprotected void serialize(AddStatementOperation op, XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serialize(SPARQLUpdateOperation op, XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serialize(RemoveStatementsOperation op, XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serialize(StatementOperation op, XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serialize(ClearOperation op, XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serialize(SetNamespaceOperation op, XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serialize(RemoveNamespaceOperation op, XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serialize(ClearNamespacesOperation op, XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serialize(Resource[] contexts, XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serialize(Value value, XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serialize(Resource resource, XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serialize(IRI uri, XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serialize(BNode bnode, XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serialize(Literal literal, XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serializeNull(XMLWriter xmlWriter) throws IOException
IOExceptionprotected void serialize(Triple triple, XMLWriter xmlWriter) throws IOException
IOExceptionCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.