org.apache.cocoon.components.notification
Class Notifier
java.lang.Object
org.apache.cocoon.components.notification.Notifier
public class Notifier
- extends Object
Generates a representations of the specified Notifying Object.
- Version:
- $Id: Notifier.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Nicola Ken Barozzi, Stefano Mazzocchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Notifier
public Notifier()
notify
public static void notify(Notifying n,
OutputStream outputStream,
String mimetype)
throws IOException
- Generate notification information as a response.
The notification is directly written to the OutputStream.
- Parameters:
n
- The Notifying
objectoutputStream
- The output stream the notification is written to
This could be null
.
- Throws:
IOException
notify
public static void notify(Notifying n,
ContentHandler ch,
String mimetype)
throws SAXException
- Generate notification information in XML format.
- Throws:
SAXException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.