org.apache.slide.event
Class GenericEvent
java.lang.Object
java.util.EventObject
org.apache.slide.event.GenericEvent
- All Implemented Interfaces:
- RemoteInformation, java.io.Serializable
- public class GenericEvent
- extends java.util.EventObject
- implements RemoteInformation
The GenericEvent class
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
GenericEvent(java.lang.Object source,
java.lang.String[][] information)
|
Method Summary |
java.lang.String[][] |
getInformation()
The returned String[][] is assumed to be a String[?][2], where ? is
greater than or equal to 0. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EVENT_FIRED
public static final GenericEvent.EventFired EVENT_FIRED
VETOABLE_EVENT_FIRED
public static final GenericEvent.VetoableEventFired VETOABLE_EVENT_FIRED
GROUP
public static final java.lang.String GROUP
- See Also:
- Constant Field Values
methods
public static final AbstractEventMethod[] methods
GenericEvent
public GenericEvent(java.lang.Object source,
java.lang.String[][] information)
getInformation
public java.lang.String[][] getInformation()
- Description copied from interface:
RemoteInformation
- The returned String[][] is assumed to be a String[?][2], where ? is
greater than or equal to 0. The format of the returned value is
assumed to be:
{
{ "XML Element Name 1", "XML Element Value 1"},
{ "XML Element Name 2", "XML Element Value 2"},
etc...
}
One noteable value for the element name is "uri". The Slide context path
is preppended to the value of an element with this name before it is
returned to the client.
- Specified by:
getInformation
in interface RemoteInformation
- Returns:
- an array of name = value pairs.