| |
|
| java.lang.Object org.cyberneko.pull.util.EventDispatcher
EventDispatcher | public class EventDispatcher implements XMLDocumentSource(Code) | | This class converts pull parser event objects into XNI document handler
callbacks. The user of this class is responsible for queueing of the
event objects and should call dispatchEvent for each event
to be delivered via the XNI document handler callbacks.
See Also: EventCollector author: Andy Clark version: $Id$ |
Inner Class :public static class ResourceIdentifierProxy implements XMLResourceIdentifier | |
Field Summary | |
protected XMLDocumentHandler | fDocumentHandler The document handler. |
fDocumentHandler | protected XMLDocumentHandler fDocumentHandler(Code) | | The document handler.
|
dispatchEvent | public void dispatchEvent(XMLEvent event) throws XNIException(Code) | | Dispatches a pull parser event object by calling the appropriate
Parameters: event - The pull parser event to deliver. throws: XNIException - Thrown by the handler to signal an error. |
getDocumentHandler | public XMLDocumentHandler getDocumentHandler()(Code) | | Returns the document handler.
|
setDocumentHandler | public void setDocumentHandler(XMLDocumentHandler handler)(Code) | | Sets the document handler.
|
|
|
|