org.dspace.sword
Class ServiceDocumentManager
java.lang.Object
org.dspace.sword.ServiceDocumentManager
public class ServiceDocumentManager
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceDocumentManager
public ServiceDocumentManager(SWORDService service)
getServiceDocument
public ServiceDocument getServiceDocument()
throws DSpaceSWORDException,
SWORDErrorException
- Obtain the service document for the repository based on the
DSpace context and the SWORD context which must be set for
this object prior to calling this method.
- Returns:
- The service document based on the context of the request
- Throws:
DSpaceSWORDException
SWORDErrorException
getServiceDocument
public ServiceDocument getServiceDocument(String url)
throws DSpaceSWORDException,
SWORDErrorException
- Throws:
DSpaceSWORDException
SWORDErrorException
Copyright © 2010 DuraSpace. All Rights Reserved.