org.dspace.app.xmlui.cocoon
Class AJAXMenuGenerator

java.lang.Object
  extended by org.apache.cocoon.util.AbstractLogEnabled
      extended by org.apache.cocoon.xml.AbstractXMLProducer
          extended by org.apache.cocoon.generation.AbstractGenerator
              extended by org.dspace.app.xmlui.cocoon.AJAXMenuGenerator
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 AJAXMenuGenerator
extends org.apache.cocoon.generation.AbstractGenerator

Generate XML description of Choice values to be used by AJAX UI client.

Author:
Larry Stone

Field Summary
 
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
 
Constructor Summary
AJAXMenuGenerator()
           
 
Method Summary
 void generate()
          Generate the AJAX response Document.
 
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
 

Constructor Detail

AJAXMenuGenerator

public AJAXMenuGenerator()
Method Detail

generate

public void generate()
              throws IOException,
                     SAXException,
                     org.apache.cocoon.ProcessingException
Generate the AJAX response Document. Looks for request paraemters: field - MD field key, i.e. form key, REQUIRED. start - index to start from, default 0. limit - max number of lines, default 1000. format - opt. result XML/XHTML format: "select", "ul", "xml"(default) locale - explicit locale, pass to choice plugin

Throws:
IOException
SAXException
org.apache.cocoon.ProcessingException


Copyright © 2013 DuraSpace. All Rights Reserved.