org.dspace.sword
Class SWORDIngesterFactory

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

public class SWORDIngesterFactory
extends Object

Factory class which will mint objects conforming to the SWORDIngester interface.

Author:
Richard Jones

Constructor Summary
SWORDIngesterFactory()
           
 
Method Summary
static SWORDIngester getInstance(Context context, Deposit deposit, DSpaceObject dso)
          Generate an object which conforms to the SWORDIngester interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWORDIngesterFactory

public SWORDIngesterFactory()
Method Detail

getInstance

public static SWORDIngester getInstance(Context context,
                                        Deposit deposit,
                                        DSpaceObject dso)
                                 throws DSpaceSWORDException,
                                        SWORDErrorException
Generate an object which conforms to the SWORDIngester interface. This Factory method may use the given DSpace context and the given SWORD Deposit request to decide on the most appropriate implementation of the interface to return. To configure how this method will respond, configure the package ingester for the appropriate media types and defaults. See the sword configuration documentation for more details.

Parameters:
context -
deposit -
Returns:
Throws:
DSpaceSWORDException
SWORDErrorException


Copyright © 2011 DuraSpace. All Rights Reserved.