|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.uky.rch.ept.data.ResourceChangeEvent
Resource change events describe changes to resources.
In order to handle additional event types that may be introduced in future releases of the platform, clients should not write code that presumes the set of event types is closed.
This class is not intended to be instantiated by clients.
| Field Summary | |
static short |
E_CREATE_COLLECTION
Create collection event |
static short |
E_DELETE_COLLECTION
Delete collection event |
static short |
E_DELETE_CXML
Delete XML (with concurrent hierarchies) event |
static short |
E_DELETE_RESOURCE
Delete resource event |
static short |
E_DELETE_XML
Delete XML event |
static short |
E_INSERT_CXML
Insert XML (with concurrent hierarchies) event |
static short |
E_INSERT_TEXT
Insert text event |
static short |
E_INSERT_XML
Insert XML event |
static short |
E_REPLACE_CXML
Replace XML (with concurrent hierarchies) node event |
static short |
E_REPLACE_CXML_CONTENT
Replace XML (with concurrent hierarchies) text event |
static short |
E_REPLACE_TEXT
Replace text event |
static short |
E_REPLACE_XML
Replace XML node event |
static short |
E_REPLACE_XML_CONTENT
Replace XML text event |
static short |
E_STORE_CXML
Store XML (with concurrent hierarchies) event |
static short |
E_STORE_DTD
Store DTD event |
static short |
E_STORE_IMAGE
Store image event |
static short |
E_STORE_RESOURCE
Store Resource event |
static short |
E_STORE_TEXT
Store text event |
static short |
E_STORE_XML
Store XML event |
| Constructor Summary | |
ResourceChangeEvent(short type,
String source)
Creates a new ResourceChangeEvent. |
|
| Method Summary | |
protected void |
addParameter(String name,
Object value)
Add the given parameter's name-value pair to the event. |
Object |
getParameter(String name)
Get the value of the specified parameter. |
String |
getSource()
Returns the address of the resource which generated the event. |
short |
getType()
Returns the type of event. |
protected void |
setSource(String source)
Set the address of the resource on which the event occured. |
protected void |
setType(short type)
Sets the type of event to the given value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final short E_CREATE_COLLECTION
public static final short E_DELETE_COLLECTION
public static final short E_DELETE_RESOURCE
public static final short E_STORE_RESOURCE
public static final short E_STORE_TEXT
public static final short E_INSERT_TEXT
public static final short E_REPLACE_TEXT
public static final short E_STORE_XML
public static final short E_INSERT_XML
public static final short E_REPLACE_XML
public static final short E_REPLACE_XML_CONTENT
public static final short E_DELETE_XML
public static final short E_STORE_DTD
public static final short E_STORE_IMAGE
public static final short E_STORE_CXML
public static final short E_INSERT_CXML
public static final short E_REPLACE_CXML
public static final short E_REPLACE_CXML_CONTENT
public static final short E_DELETE_CXML
| Constructor Detail |
public ResourceChangeEvent(short type,
String source)
type - type of eventsource - source of the event| Method Detail |
public short getType()
protected void setType(short type)
type - The type to set. The Event type constants defined in this class should be used to set the type.public String getSource()
protected void setSource(String source)
source - The source to set.
protected void addParameter(String name,
Object value)
name - name of the parametervalue - value of the parameterpublic Object getParameter(String name)
name - name of the parameter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||