org.dspace.app.xmlui.cocoon
Class DSpaceOREGenerator
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.dspace.app.xmlui.cocoon.DSpaceOREGenerator
- All Implemented Interfaces:
- org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.excalibur.pool.Recyclable, org.apache.cocoon.generation.Generator, org.apache.cocoon.sitemap.SitemapModelComponent, org.apache.cocoon.xml.XMLProducer
public class DSpaceOREGenerator
- extends org.apache.cocoon.generation.AbstractGenerator
Generate an ORE aggregation of a DSpace Item. The object to be rendered should be an item identified by pasing
in one of the two parameters: handle or internal. The fragment parameter determines the encoding format for
the aggregation; only Atom is supported at this time.
- Author:
- Alexey Maslov
| Fields inherited from class org.apache.cocoon.generation.AbstractGenerator |
objectModel, parameters, resolver, source |
| Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer |
| Fields inherited from interface org.apache.cocoon.generation.Generator |
ROLE |
|
Method Summary |
void |
generate()
Generate the ORE Aggregation. |
| Methods inherited from class org.apache.cocoon.generation.AbstractGenerator |
recycle, setup |
| Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
setConsumer, setContentHandler, setLexicalHandler |
| Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.cocoon.xml.XMLProducer |
setConsumer |
DSpaceOREGenerator
public DSpaceOREGenerator()
generate
public void generate()
throws IOException,
SAXException,
org.apache.cocoon.ProcessingException
- Generate the ORE Aggregation.
- Throws:
IOException
SAXException
org.apache.cocoon.ProcessingException
Copyright © 2011 DuraSpace. All Rights Reserved.