org.apache.cocoon.components.notification
Class Notifier

java.lang.Object
  extended byorg.apache.cocoon.components.notification.Notifier

public class Notifier
extends Object

Generates a representations of the specified Notifying Object.

Version:
$Id: Notifier.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Constructor Summary
Notifier()
           
 
Method Summary
static void notify(org.apache.cocoon.components.notification.Notifying n, ContentHandler ch, String mimetype)
          Generate notification information in XML format.
static void notify(org.apache.cocoon.components.notification.Notifying n, OutputStream outputStream, 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
 

Constructor Detail

Notifier

public Notifier()
Method Detail

notify

public static void notify(org.apache.cocoon.components.notification.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 object
outputStream - The output stream the notification is written to This could be null.
Throws:
IOException

notify

public static void notify(org.apache.cocoon.components.notification.Notifying n,
                          ContentHandler ch,
                          String mimetype)
                   throws SAXException
Generate notification information in XML format.

Throws:
SAXException


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.