public interface ProvSerialiser
A low-level interface for serialization of documents by a given serializer. No selection of media type permitted here.
For a more generic interface, @see
ProvDocumentWriter.-
Method Summary
Modifier and TypeMethodDescriptionvoidserialiseDocument(OutputStream out, Document document, boolean formatted) Serializes a document to a stream
-
Method Details
-
serialiseDocument
Serializes a document to a stream- Parameters:
out- anOutputStreamdocument- aDocumentformatted- a boolean indicating whether the output should be pretty-printed
-