org.apache.cocoon.components.notification
Class DefaultNotifyingBuilder

java.lang.Object
  |
  +--org.apache.cocoon.components.notification.DefaultNotifyingBuilder
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, NotifyingBuilder

public class DefaultNotifyingBuilder
extends java.lang.Object
implements NotifyingBuilder, org.apache.avalon.framework.component.Component

Generates an Notifying representation of widely used objects.

Version:
CVS $Id: DefaultNotifyingBuilder.java,v 1.6.2.3 2002/07/15 14:52:59 cziegeler Exp $
Author:
Nicola Ken Barozzi, Marc Liyanage (futureLAB AG)

Fields inherited from interface org.apache.cocoon.components.notification.NotifyingBuilder
ROLE
 
Constructor Summary
DefaultNotifyingBuilder()
           
 
Method Summary
 Notifying build(java.lang.Object sender, java.lang.Object o)
          Builds a Notifying object (SimpleNotifyingBean in this case) that tries to explain what the Object o can reveal.
 Notifying build(java.lang.Object sender, java.lang.Object o, java.lang.String type, java.lang.String title, java.lang.String source, java.lang.String message, java.lang.String description, java.util.Map extra)
          Builds a Notifying object (SimpleNotifyingBean in this case) that explains a notification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultNotifyingBuilder

public DefaultNotifyingBuilder()
Method Detail

build

public Notifying build(java.lang.Object sender,
                       java.lang.Object o)
Builds a Notifying object (SimpleNotifyingBean in this case) that tries to explain what the Object o can reveal.
Specified by:
build in interface NotifyingBuilder
Parameters:
sender - who sent this Object.
o - the object to use when building the SimpleNotifyingBean
Returns:
the Notifying Object that was build
See Also:
Notifying

build

public Notifying build(java.lang.Object sender,
                       java.lang.Object o,
                       java.lang.String type,
                       java.lang.String title,
                       java.lang.String source,
                       java.lang.String message,
                       java.lang.String description,
                       java.util.Map extra)
Builds a Notifying object (SimpleNotifyingBean in this case) that explains a notification.
Specified by:
build in interface NotifyingBuilder
Parameters:
sender - who sent this Object.
o - the object to use when building the SimpleNotifyingBean
type - see the Notifying apidocs
title - see the Notifying apidocs
source - see the Notifying apidocs
message - see the Notifying apidocs
description - see the Notifying apidocs
extra - see the Notifying apidocs
Returns:
the Notifying Object that was build
See Also:
Notifying


Copyright � 1999-2002 Apache Software Foundation. All Rights Reserved.