org.apache.cocoon.components.notification
Interface NotifyingBuilder
- All Superinterfaces:
- org.apache.avalon.framework.component.Component
- All Known Implementing Classes:
- DefaultNotifyingBuilder
- public interface NotifyingBuilder
- extends org.apache.avalon.framework.component.Component
Generates an Notifying representation of widely used objects.
- Version:
- CVS $Id: NotifyingBuilder.java,v 1.5.2.1 2002/07/15 14:52:59 cziegeler Exp $
- Author:
- Nicola Ken Barozzi
Field Summary |
static java.lang.String |
ROLE
The role implemented by a NotifyingBuilder . |
Method Summary |
Notifying |
build(java.lang.Object sender,
java.lang.Object o)
Builds a Notifying object (SimpleNotifyingObject 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 (SimpleNotifyingObject in this case)
that explains a notification. |
ROLE
public static final java.lang.String ROLE
- The role implemented by a
NotifyingBuilder
.
build
public Notifying build(java.lang.Object sender,
java.lang.Object o)
- Builds a Notifying object (SimpleNotifyingObject in this case)
that tries to explain what the Object o can reveal.
- Parameters:
sender
- who sent this Object.o
- the object to use when building the SimpleNotifyingObject- 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 (SimpleNotifyingObject in this case)
that explains a notification.
- Parameters:
sender
- who sent this Object.o
- the object to use when building the SimpleNotifyingObjecttype
- 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.