org.dspace.app.xmlui.cocoon
Class JSONControlledVocabularyReader
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.reading.AbstractReader
org.dspace.app.xmlui.cocoon.JSONControlledVocabularyReader
- All Implemented Interfaces:
- org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.excalibur.pool.Recyclable, org.apache.cocoon.reading.Reader, org.apache.cocoon.sitemap.SitemapModelComponent, org.apache.cocoon.sitemap.SitemapOutputComponent
public class JSONControlledVocabularyReader
- extends org.apache.cocoon.reading.AbstractReader
Reader that parses a given controlled vocabulary and returns a json representation
The json this class returns will be parsed in the vocabulary-support.js file.
- Author:
- Kevin Van de Velde (kevin at atmire dot com)
| Fields inherited from class org.apache.cocoon.reading.AbstractReader |
objectModel, out, parameters, resolver, source |
| Fields inherited from interface org.apache.cocoon.reading.Reader |
ROLE |
| Methods inherited from class org.apache.cocoon.reading.AbstractReader |
getLastModified, getMimeType, recycle, setOutputStream, setup, shouldSetContentLength |
| 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 |
JSONControlledVocabularyReader
public JSONControlledVocabularyReader()
generate
public void generate()
throws IOException,
SAXException,
org.apache.cocoon.ProcessingException
- Throws:
IOException
SAXException
org.apache.cocoon.ProcessingException
Copyright © 2012 DuraSpace. All Rights Reserved.