org.apache.cocoon.sitemap
Class NotifyingGenerator
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLoggable
|
+--org.apache.cocoon.xml.AbstractXMLProducer
|
+--org.apache.cocoon.generation.AbstractGenerator
|
+--org.apache.cocoon.generation.ComposerGenerator
|
+--org.apache.cocoon.sitemap.NotifyingGenerator
- All Implemented Interfaces:
- org.apache.avalon.framework.component.Component, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.activity.Disposable, Generator, org.apache.avalon.framework.logger.Loggable, org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.excalibur.pool.Recyclable, SitemapModelComponent, XMLProducer
- Direct Known Subclasses:
- ErrorNotifier
- public class NotifyingGenerator
- extends ComposerGenerator
- implements org.apache.avalon.excalibur.pool.Recyclable
Generates an XML representation of the current notification.
- Version:
- CVS $Id: NotifyingGenerator.java,v 1.4.2.1 2002/07/15 14:52:59 cziegeler Exp $
- Author:
- Nicola Ken Barozzi, Stefano Mazzocchi, Peter Royal
Fields inherited from interface org.apache.cocoon.generation.Generator |
ROLE |
Method Summary |
void |
generate()
Generate the notification information in XML format. |
void |
recycle()
Recycle |
void |
setup(SourceResolver resolver,
java.util.Map objectModel,
java.lang.String src,
org.apache.avalon.framework.parameters.Parameters par)
Set the SourceResolver , object model Map ,
the source and sitemap Parameters used to process the request. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotifyingGenerator
public NotifyingGenerator()
setup
public void setup(SourceResolver resolver,
java.util.Map objectModel,
java.lang.String src,
org.apache.avalon.framework.parameters.Parameters par)
throws ProcessingException,
org.xml.sax.SAXException,
java.io.IOException
- Description copied from class:
AbstractGenerator
- Set the
SourceResolver
, object model Map
,
the source and sitemap Parameters
used to process the request.
- Overrides:
setup
in class AbstractGenerator
generate
public void generate()
throws org.xml.sax.SAXException
- Generate the notification information in XML format.
- Throws:
org.xml.sax.SAXException
- Description of problem there is creating the output SAX events.org.xml.sax.SAXException
- when there is a problem creating the
output SAX events.
recycle
public void recycle()
- Recycle
- Specified by:
recycle
in interface org.apache.avalon.excalibur.pool.Recyclable
- Overrides:
recycle
in class AbstractGenerator
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.