org.dspace.sword
Class CollectionCollectionGenerator
java.lang.Object
org.dspace.sword.ATOMCollectionGenerator
org.dspace.sword.CollectionCollectionGenerator
public class CollectionCollectionGenerator
- extends ATOMCollectionGenerator
Class to generate ATOM Collection Elements which represent
DSpace Collections
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionCollectionGenerator
public CollectionCollectionGenerator(SWORDService service)
- Construct an object taking the sword service instance an argument
- Parameters:
service -
buildCollection
public Collection buildCollection(DSpaceObject dso)
throws DSpaceSWORDException
- Build the collection for the given DSpaceObject. In this implementation,
if the object is not a DSpace COllection, it will throw an exception
- Specified by:
buildCollection in class ATOMCollectionGenerator
- Parameters:
dso -
- Returns:
-
- Throws:
DSpaceSWORDException
Copyright © 2010 The DSpace Foundation. All Rights Reserved.