|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.cocoon.Notification
Generates an XML representation of the current notification.
Constructor Summary | |
Notification(java.lang.Object sender)
Constructor for the Notification object |
|
Notification(java.lang.Object sender,
java.lang.Object o)
Constructor for the Notification object |
|
Notification(java.lang.Object sender,
java.lang.Throwable t)
Constructor for the Notification object |
Method Summary | |
void |
addExtraDescription(java.lang.String extraDescriptionDescription,
java.lang.String extraDescription)
Sets the ExtraDescriptions attribute of the Notification object |
void |
appendCauses(java.io.PrintWriter out,
java.lang.Throwable t)
Print recursively all nested causes of a Throwable in a PrintWriter. |
java.lang.String |
getDescription()
Gets the Description attribute of the Notification object |
java.util.HashMap |
getExtraDescriptions()
Gets the ExtraDescriptions attribute of the Notification object |
java.lang.String |
getMessage()
Gets the Message attribute of the Notification object |
java.lang.String |
getSender()
Gets the Sender attribute of the Notification object |
java.lang.String |
getSource()
Gets the Source attribute of the Notification object |
java.lang.String |
getTitle()
Gets the Title attribute of the Notification object |
java.lang.String |
getType()
Gets the Type attribute of the Notification object |
void |
setDescription(java.lang.String description)
Sets the Description attribute of the Notification object |
void |
setMessage(java.lang.String message)
Sets the Message attribute of the Notification object |
void |
setSource(java.lang.String source)
Sets the Source attribute of the Notification object |
void |
setTitle(java.lang.String title)
Sets the Title attribute of the Notification object |
void |
setType(java.lang.String type)
Sets the Type attribute of the Notification object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Notification(java.lang.Object sender)
public Notification(java.lang.Object sender, java.lang.Object o)
o
- Description of Parameterpublic Notification(java.lang.Object sender, java.lang.Throwable t)
t
- Description of ParameterMethod Detail |
public void appendCauses(java.io.PrintWriter out, java.lang.Throwable t)
public void setType(java.lang.String type)
type
- The new Type valuepublic void setTitle(java.lang.String title)
title
- The new Title valuepublic void setSource(java.lang.String source)
source
- The new Source valuepublic void setMessage(java.lang.String message)
message
- The new Message valuepublic void setDescription(java.lang.String description)
description
- The new Description valuepublic void addExtraDescription(java.lang.String extraDescriptionDescription, java.lang.String extraDescription)
extraDescriptions
- The new ExtraDescriptions valuepublic java.lang.String getType()
getType
in interface Notificable
public java.lang.String getTitle()
getTitle
in interface Notificable
public java.lang.String getSource()
getSource
in interface Notificable
public java.lang.String getSender()
getSender
in interface Notificable
public java.lang.String getMessage()
getMessage
in interface Notificable
public java.lang.String getDescription()
getDescription
in interface Notificable
public java.util.HashMap getExtraDescriptions()
getExtraDescriptions
in interface Notificable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |