org.apache.cocoon.generation
Class ComposerGenerator

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.xml.AbstractXMLProducer
          extended by org.apache.cocoon.generation.AbstractGenerator
              extended by org.apache.cocoon.generation.ComposerGenerator
All Implemented Interfaces:
Poolable, Recyclable, Disposable, Component, Composable, LogEnabled, Generator, SitemapModelComponent, XMLProducer
Direct Known Subclasses:
ServletGenerator

Deprecated. Use the ServiceableGenerator instead.

public abstract class ComposerGenerator
extends AbstractGenerator
implements Composable, Disposable

A default implementation that can be used for writing own generators.

Version:
CVS $Id: ComposerGenerator.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Pierpaolo Fumagalli (Apache Software Foundation)

Field Summary
protected  ComponentManager manager
          Deprecated. The component manager instance
 
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
ComposerGenerator()
          Deprecated.  
 
Method Summary
 void compose(ComponentManager manager)
          Deprecated. Set the current ComponentManager instance used by this Composable.
 void dispose()
          Deprecated. Release all resources.
 
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.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
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.generation.Generator
generate
 
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
 

Field Detail

manager

protected ComponentManager manager
Deprecated. 
The component manager instance

Constructor Detail

ComposerGenerator

public ComposerGenerator()
Deprecated. 
Method Detail

compose

public void compose(ComponentManager manager)
             throws ComponentException
Deprecated. 
Set the current ComponentManager instance used by this Composable.

Specified by:
compose in interface Composable
Throws:
ComponentException

dispose

public void dispose()
Deprecated. 
Release all resources.

Specified by:
dispose in interface Disposable


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.