This project has retired. For details please refer to its
Attic page .
DefaultNotifyingBuilder (Cocoon Sitemap Implementation 1.0.0 API)
org.apache.cocoon.components.notification
Class DefaultNotifyingBuilder
java.lang.Object
org.apache.cocoon.components.notification.DefaultNotifyingBuilder
All Implemented Interfaces: org.apache.cocoon.components.notification.NotifyingBuilder
public class DefaultNotifyingBuilder extends Object implements org.apache.cocoon.components.notification.NotifyingBuilder
Generates an Notifying representation of widely used objects.
Version:
$Id: DefaultNotifyingBuilder.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from interface org.apache.cocoon.components.notification.NotifyingBuilder
ROLE
Method Summary
org.apache.cocoon.components.notification.Notifying
build (Object sender,
Object o)
Builds a Notifying object (SimpleNotifyingBean in this case)
that tries to explain what the Object o can reveal.
org.apache.cocoon.components.notification.Notifying
build (Object sender,
Object o,
String type,
String title,
String source,
String message,
String description,
Map extra)
Builds a Notifying object (SimpleNotifyingBean in this case)
that explains a notification.
static Throwable
getRootCause (Throwable t)
Get root cause Throwable.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
DefaultNotifyingBuilder
public DefaultNotifyingBuilder ()
build
public org.apache.cocoon.components.notification.Notifying build (Object sender,
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 org.apache.cocoon.components.notification.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 org.apache.cocoon.components.notification.Notifying build (Object sender,
Object o,
String type,
String title,
String source,
String message,
String description,
Map extra)
Builds a Notifying object (SimpleNotifyingBean in this case)
that explains a notification.
Specified by: build in interface org.apache.cocoon.components.notification.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
getRootCause
public static Throwable getRootCause (Throwable t)
Get root cause Throwable.
Copyright © 1999-2008 The Apache Software Foundation . All Rights Reserved.