org.dspace.sword
Class ATOMCollectionGenerator
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
swordService
protected SWORDService swordService
- the sword service definition
ATOMCollectionGenerator
public ATOMCollectionGenerator(SWORDService service)
- Create a new ATOM collection generator using the given sword service
- Parameters:
service -
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 © 2010 DuraSpace. All Rights Reserved.