Copyright (C) 2010 MediaShelf <http://www.yourmediashelf.com/>
This file is part of fedora-client.
fedora-client is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
fedora-client is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with fedora-client. If not, see <http://www.gnu.org/licenses/>.
Builder for the ListMethods method.
pid persistent identifier of the digital object
sdefPid persistent identifier of the SDef defining the methods
persistent identifier of the digital object
The format of the response. Defaults to "xml".
The Fedora REST API default is "html", but
fedora-client will set "xml" as the default in order to parse the
response. If "html" is selected, the caller is responsible for parsing
the raw HTTP response as most of the FedoraResponse convenience methods
rely on an XML response.
format The response format, either "xml" or "html"
- this builder
path = String.format("objects/%s/methods", pid);