be.re.repo.mod
Class ZipCollectionFactory
java.lang.Object
be.re.repo.mod.ZipCollectionFactory
- All Implemented Interfaces:
- XMLOutputFactory
public class ZipCollectionFactory
- extends Object
- implements XMLOutputFactory
Transforms a WebDAV-collection encoded in a PROPFIND response to a ZIP file.
- Author:
- Werner Donné
ZipCollectionFactory
public ZipCollectionFactory()
create
public XMLEventWriter create(String vcr,
String version,
String systemId,
OutputStream out,
String mimeType,
Context context)
throws XMLStreamException
- Specified by:
create
in interface XMLOutputFactory
- Parameters:
vcr
- the local path of the VCR.version
- the local path of the version.systemId
- the system identifier of the resource.out
- the stream to which the transformed document should written.mimeType
- the MIME type of the resource.context
- the repository context.
- Returns:
- The StAX stream into which the PROPFIND response will be written.
- Throws:
XMLStreamException