org.apache.cocoon.components.profiler
Class ProfilerGenerator

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.components.profiler.ProfilerGenerator
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

public class ProfilerGenerator
extends ComposerGenerator
implements org.apache.avalon.excalibur.pool.Recyclable, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.activity.Disposable

Generates an XML representation of the current status of Profiler.

Version:
CVS $Id: ProfilerGenerator.java,v 1.5 2002/02/22 07:00:11 cziegeler Exp $
Author:
Vadim Gritsenko

Field Summary
protected static java.lang.String namespace
          The XML namespace for the output document.
 
Fields inherited from class org.apache.cocoon.generation.ComposerGenerator
manager
 
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, source
 
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, lexicalHandler, xmlConsumer
 
Fields inherited from interface org.apache.cocoon.generation.Generator
ROLE
 
Constructor Summary
ProfilerGenerator()
           
 
Method Summary
 void compose(org.apache.avalon.framework.component.ComponentManager manager)
          Set the current ComponentManager instance used by this Composable.
 void dispose()
          Release all resources.
 void generate()
          Generate the status information in XML format.
 
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.AbstractLoggable
getLogger, setLogger, 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.avalon.excalibur.pool.Recyclable
recycle
 
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
 

Field Detail

namespace

protected static final java.lang.String namespace
The XML namespace for the output document.
Constructor Detail

ProfilerGenerator

public ProfilerGenerator()
Method Detail

compose

public void compose(org.apache.avalon.framework.component.ComponentManager manager)
             throws org.apache.avalon.framework.component.ComponentException
Description copied from class: ComposerGenerator
Set the current ComponentManager instance used by this Composable.
Specified by:
compose in interface org.apache.avalon.framework.component.Composable
Overrides:
compose in class ComposerGenerator

dispose

public void dispose()
Description copied from class: ComposerGenerator
Release all resources.
Specified by:
dispose in interface org.apache.avalon.framework.activity.Disposable
Overrides:
dispose in class ComposerGenerator

generate

public void generate()
              throws org.xml.sax.SAXException
Generate the status information in XML format.
Throws:
org.xml.sax.SAXException - when there is a problem creating the output SAX events.


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.