Package net.sf.saxon.event
Class Event
java.lang.Object
net.sf.saxon.event.Event
- Direct Known Subclasses:
Event.Append,Event.Attribute,Event.Comment,Event.EndDocument,Event.EndElement,Event.Namespace,Event.ProcessingInstruction,Event.StartContent,Event.StartDocument,Event.StartElement,Event.Text
An event is an object representing one of the events that can be passed to a receiver: for example, a startElement,
endElement, characters, or comment event. Sufficient information is retained in order to enable a stored event to
be "replayed" later.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEvent representing an arbitrary item being sent to the event stream in composed form.static classEvent representing an attribute nodestatic classEvent representing a comment nodestatic classEvent representing end of documentstatic classEvent representing the end of an elementstatic classEvent representing a set of namespace bindingsstatic classEvent representing a processing instruction nodestatic classEvent representing the end of a start tag, that is, indicating that no more attributes or namespaces are expected for the current elementstatic classEvent representing start of documentstatic classEvent representing the start of an element (not including attributes or namespaces)static classEvent representing a text node -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Event
public Event()
-
-
Method Details
-
replay
Send the event to a receiver- Parameters:
out- the receiver to which the event is to be sent- Throws:
XPathException- the the receiver reports an error
-