org.apache.fop.messaging
Class MessageEvent
java.lang.Object
java.util.EventObject
org.apache.fop.messaging.MessageEvent
- All Implemented Interfaces:
- Serializable
public class MessageEvent
- extends EventObject
a container for the text and the type of a message
MessageEvents are created by MessageHandler and can be received by any
MessageListener, which is added to MessageHandler;
- See Also:
MessageListener
,
Serialized Form
Field Summary |
static int |
ERROR
|
static int |
LOG
|
LOG
public static final int LOG
- See Also:
- Constant Field Values
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
MessageEvent
public MessageEvent(Object source)
getMessage
public String getMessage()
- retrieves the message
- Returns:
- String containing the message
getMessageType
public int getMessageType()
- returns the type of message as int
- Returns:
- messageType the type of the message as int in the form of MessageEvent.LOG or MessageEvent.ERROR
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.