org.dspace.sword
Class ATOMCollectionGenerator

java.lang.Object
  extended by org.dspace.sword.ATOMCollectionGenerator
Direct Known Subclasses:
CollectionCollectionGenerator, CommunityCollectionGenerator, ItemCollectionGenerator

public abstract class ATOMCollectionGenerator
extends Object

Author:
Richard Jones Define an abstract interface for classes wishing to generate ATOM Collections for SWORD service documents

Field Summary
protected  SWORDService swordService
          the sword service definition
 
Constructor Summary
ATOMCollectionGenerator(SWORDService service)
          Create a new ATOM collection generator using the given sword service
 
Method Summary
abstract  Collection buildCollection(DSpaceObject dso)
          Build the ATOM Collection which represents the given DSpace Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swordService

protected SWORDService swordService
the sword service definition

Constructor Detail

ATOMCollectionGenerator

public ATOMCollectionGenerator(SWORDService service)
Create a new ATOM collection generator using the given sword service

Parameters:
service -
Method Detail

buildCollection

public abstract Collection buildCollection(DSpaceObject dso)
                                    throws DSpaceSWORDException
Build the ATOM Collection which represents the given DSpace Object

Parameters:
dso -
Returns:
Throws:
DSpaceSWORDException


Copyright © 2011 DuraSpace. All Rights Reserved.