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)
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 |
DefaultNotifyingBuilder
public DefaultNotifyingBuilder()
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 SimpleNotifyingBeantype
- see the Notifying apidocstitle
- see the Notifying apidocssource
- see the Notifying apidocsmessage
- see the Notifying apidocsdescription
- see the Notifying apidocsextra
- see the Notifying apidocs- Returns:
- the Notifying Object that was build
- See Also:
Notifying
Copyright � 1999-2002 Apache Software Foundation. All Rights Reserved.