public interface ProvDocumentWriter
Interface for serialization of PROV documents.
-
Method Summary
Modifier and TypeMethodDescriptionvoidwriteDocument(OutputStream out, Document document, String mediaType, boolean formatted) Serializes a document to a stream
-
Method Details
-
writeDocument
Serializes a document to a stream- Parameters:
out- anOutputStreamdocument- aDocumentto serializemediaType- a media typeformatted- a boolean indicating whether the output should be pretty-printed
-
mediaTypes
Collection<String> mediaTypes()
-