org.apache.cocoon.generation
Class StatusGenerator
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.generation.StatusGenerator
- All Implemented Interfaces:
- org.apache.avalon.framework.component.Component, org.apache.avalon.framework.component.Composable, Generator, org.apache.avalon.framework.logger.Loggable, org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.excalibur.pool.Recyclable, SitemapModelComponent, XMLProducer
- public class StatusGenerator
- extends ComposerGenerator
- implements org.apache.avalon.excalibur.pool.Recyclable
Generates an XML representation of the current status of Cocoon.
Potted DTD:
<!ELEMENT statusinfo (group|value)*>
<!ATTLIST statusinfo
date CDATA #IMPLIED
host CDATA #IMPLIED
>
<!ELEMENT group (group|value)*>
<!ATTLIST group
name CDATA #IMPLIED
>
<!ELEMENT value (line)+>
<!ATTLIST value
name CDATA #REQUIRED
<!ELEMENT line (#PCDATA)+>
>
- Version:
- CVS $Revision: 1.4.2.3 $ $Date: 2001/10/11 08:56:12 $
- Author:
- Paul Russell (Luminas Limited), Stefano Mazzocchi
Field Summary |
protected static java.lang.String |
namespace
The XML namespace for the output document. |
protected static java.lang.String |
xlinkNamespace
The XML namespace for xlink |
Fields inherited from interface org.apache.cocoon.generation.Generator |
ROLE |
Method Summary |
void |
generate()
Generate the status information in XML format. |
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 |
namespace
protected static final java.lang.String namespace
- The XML namespace for the output document.
xlinkNamespace
protected static final java.lang.String xlinkNamespace
- The XML namespace for xlink
StatusGenerator
public StatusGenerator()
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-2001 Apache Software Foundation. All Rights Reserved.