Package org.openprovenance.prov.model
Interface ProvSerialiser
-
public interface ProvSerialiserA low-level interface for JAXB-compatible serialization of documents.
-
-
Method Summary
Modifier and Type Method Description voidserialiseDocument(OutputStream out, Document document, boolean formatted)Serializes a document to a stream
-
-
-
Method Detail
-
serialiseDocument
void serialiseDocument(OutputStream out, Document document, boolean formatted) throws JAXBException
Serializes a document to a stream- Parameters:
out- anOutputStreamdocument- aDocumentformatted- a boolean indicating whether the output should be pretty-printed- Throws:
JAXBException
-
-