public class Export extends FedoraRequest<Export>
| Modifier and Type | Method and Description |
|---|---|
Export |
context(String context) |
Export |
encoding(String encoding) |
FedoraResponse |
execute(FedoraClient fedora)
Execute this request using the supplied FedoraClient instance.
|
Export |
format(String format) |
addHeader, addQueryParam, execute, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, isDefaultClientSet, removeHeader, resource, resource, resource, resource, setDefaultClient, setHeaders, xParampublic Export(String pid)
pid - persistent identifier of the digital objectpublic Export format(String format)
format - The XML format to export. Defaults to
"info:fedora/fedora-system:FOXML-1.1".public Export context(String context)
context - The export context, which determines how datastream URLs and
content are represented. One of "public", "migrate",
"archive". Defaults to "public".public Export encoding(String encoding)
encoding - The preferred encoding of the exported XML. Defaults to
"UTF-8".public FedoraResponse execute(FedoraClient fedora) throws FedoraClientException
FedoraRequestExecute this request using the supplied FedoraClient instance.
execute in class FedoraRequest<Export>fedora - an instance of FedoraClientFedoraClientException - if the HTTP status code of the response is
>= 400.Copyright © 2010-2013 MediaShelf. All Rights Reserved.