org.apache.slide.event
Class ResourceEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.apache.slide.event.ResourceEvent
All Implemented Interfaces:
RemoteInformation, java.io.Serializable
Direct Known Subclasses:
ContentEvent

public class ResourceEvent
extends java.util.EventObject
implements RemoteInformation

Version:
$Revision: 1.3 $
See Also:
Serialized Form

Field Summary
protected static java.lang.String URI_KEY
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ResourceEvent(java.lang.Object source, java.lang.String uri)
           
 
Method Summary
 java.lang.String[][] getInformation()
          The returned String[][] is assumed to be a String[?]
 java.lang.String getUri()
           
 
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
 

Field Detail

URI_KEY

protected static final java.lang.String URI_KEY
See Also:
Constant Field Values
Constructor Detail

ResourceEvent

public ResourceEvent(java.lang.Object source,
                     java.lang.String uri)
Method Detail

getUri

public java.lang.String getUri()

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.