org.dspace.sword
Class ItemCollectionGenerator

java.lang.Object
  extended by org.dspace.sword.ATOMCollectionGenerator
      extended by org.dspace.sword.ItemCollectionGenerator

public class ItemCollectionGenerator
extends ATOMCollectionGenerator

Author:
Richard Jones Class to generate ATOM Collection elements for DSpace Items

Field Summary
 
Fields inherited from class org.dspace.sword.ATOMCollectionGenerator
swordService
 
Constructor Summary
ItemCollectionGenerator(SWORDService service)
           
 
Method Summary
 Collection buildCollection(DSpaceObject dso)
          Build the collection around the give DSpaceObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemCollectionGenerator

public ItemCollectionGenerator(SWORDService service)
Method Detail

buildCollection

public Collection buildCollection(DSpaceObject dso)
                           throws DSpaceSWORDException
Build the collection around the give DSpaceObject. If the object is not an instance of a DSpace Item this method will throw an exception

Specified by:
buildCollection in class ATOMCollectionGenerator
Parameters:
dso -
Returns:
Throws:
DSpaceSWORDException


Copyright © 2010 DuraSpace. All Rights Reserved.