org.apache.cocoon.components.notification
Class Notifier
java.lang.Object
|
+--org.apache.cocoon.components.notification.Notifier
- Direct Known Subclasses:
- Notifier
- public class Notifier
- extends java.lang.Object
Generates a representations of the specified Notifying Object.
- Version:
- CVS $Id: Notifier.java,v 1.6.2.3 2002/07/15 14:10:35 cziegeler Exp $
- Author:
- Nicola Ken Barozzi Aisa, Stefano Mazzocchi
Method Summary |
static void |
notify(Notifying n,
org.xml.sax.ContentHandler ch)
Deprecated. Using a ContentHandler doesn't mean that a mimetype cannot be specified; it could be svg or |
static void |
notify(Notifying n,
org.xml.sax.ContentHandler ch,
java.lang.String mimetype)
Generate notification information in XML format. |
static java.lang.String |
notify(Notifying n,
java.io.OutputStream outputStream)
Deprecated. There is no way in which this method could understand what mime/type to use. Instead use void notify(Notifying n, OutputStream outputStream, String mimetype), where the mime/type is requested. |
static void |
notify(Notifying n,
java.io.OutputStream outputStream,
java.lang.String mimetype)
Generate notification information as a response.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Notifier
public Notifier()
notify
public static java.lang.String notify(Notifying n,
java.io.OutputStream outputStream)
throws java.io.IOException
- Deprecated. There is no way in which this method could understand what mime/type to use. Instead use void notify(Notifying n, OutputStream outputStream, String mimetype), where the mime/type is requested.
- 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
.- See Also:
notify(Notifying n, OutputStream, String)
notify
public static void notify(Notifying n,
java.io.OutputStream outputStream,
java.lang.String mimetype)
throws java.io.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
.
notify
public static void notify(Notifying n,
org.xml.sax.ContentHandler ch)
throws org.xml.sax.SAXException
- Deprecated. Using a ContentHandler doesn't mean that a mimetype cannot be specified; it could be svg or
- Generate notification information in XML format.
- See Also:
notify(Notifying, ContentHandler, String)
notify
public static void notify(Notifying n,
org.xml.sax.ContentHandler ch,
java.lang.String mimetype)
throws org.xml.sax.SAXException
- Generate notification information in XML format.
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.