org.dspace.sword
Class ServiceDocumentManager

java.lang.Object
  extended by org.dspace.sword.ServiceDocumentManager

public class ServiceDocumentManager
extends Object


Constructor Summary
ServiceDocumentManager(SWORDService service)
           
 
Method Summary
 ServiceDocument getServiceDocument()
          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.
 ServiceDocument getServiceDocument(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDocumentManager

public ServiceDocumentManager(SWORDService service)
Method Detail

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 The DSpace Foundation. All Rights Reserved.