|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.ErrorNotifier
Generates an XML representation of the current notification.
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 | |
ErrorNotifier()
|
Method Summary | |
void |
generate()
Generate the notification information in XML format. |
void |
recycle()
Recycle |
void |
setException(java.lang.Throwable throwable)
Set the Exception to report. |
void |
setNotification(java.lang.Object o)
Set the Notification to report. |
Methods inherited from class org.apache.cocoon.generation.ComposerGenerator |
compose |
Methods inherited from class org.apache.cocoon.generation.AbstractGenerator |
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.cocoon.xml.XMLProducer |
setConsumer |
Constructor Detail |
public ErrorNotifier()
Method Detail |
public void setException(java.lang.Throwable throwable)
exception
- The Exception to reportpublic void setNotification(java.lang.Object o)
exception
- The Exception to reportpublic void generate() throws org.xml.sax.SAXException
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.public void recycle()
recycle
in interface org.apache.avalon.excalibur.pool.Recyclable
recycle
in class AbstractGenerator
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |