org.dspace.app.xmlui.cocoon
Class JSONControlledVocabularyReader

java.lang.Object
  extended by org.apache.cocoon.util.AbstractLogEnabled
      extended by org.apache.cocoon.reading.AbstractReader
          extended by 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)

Field Summary
 
Fields inherited from class org.apache.cocoon.reading.AbstractReader
objectModel, out, parameters, resolver, source
 
Fields inherited from interface org.apache.cocoon.reading.Reader
ROLE
 
Constructor Summary
JSONControlledVocabularyReader()
           
 
Method Summary
 void generate()
           
 
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
 

Constructor Detail

JSONControlledVocabularyReader

public JSONControlledVocabularyReader()
Method Detail

generate

public void generate()
              throws IOException,
                     SAXException,
                     org.apache.cocoon.ProcessingException
Throws:
IOException
SAXException
org.apache.cocoon.ProcessingException


Copyright © 2012 DuraSpace. All Rights Reserved.