Xerces 1.0.0

org.apache.xerces.domx.events
Interface DocumentEvent

All Known Implementing Classes:
DocumentImpl

public interface DocumentEvent

The DocumentEvent interface provides a mechanism by which the a user can create an Event of a type supported by the implementation.

Since:
DOM Level 2

Method Summary
 Event createEvent(java.lang.String type)
           
 

Method Detail

createEvent

public Event createEvent(java.lang.String type)
                  throws DOMException
Parameters:
type - The type paramater specifies the type of Event to be created. If the Event type specified is supported by the implementation this method will return a new Event of the type requested. If the Event is to be dispatched via the dispatchEvent method the appropriate event init method must be called after creation in order to initialize the Event's values.
Returns:
The newly created Event
Throws:
DOMException - UNSUPPORTED_EVENT_TYPE: Raised if the implementation does not support the type of Event requested

Xerces 1.0.0