Package net.sf.saxon.event
Class Event
- java.lang.Object
-
- net.sf.saxon.event.Event
-
- Direct Known Subclasses:
Event.Append,Event.Comment,Event.EndDocument,Event.EndElement,Event.ProcessingInstruction,Event.StartDocument,Event.StartElement,Event.Text
public abstract class Event extends java.lang.ObjectAn 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 Classes Modifier and Type Class Description static classEvent.AppendEvent representing an arbitrary item being sent to the event stream in composed form.static classEvent.CommentEvent representing a comment nodestatic classEvent.EndDocumentEvent representing end of documentstatic classEvent.EndElementEvent representing the end of an elementstatic classEvent.ProcessingInstructionEvent representing a processing instruction nodestatic classEvent.StartDocumentEvent representing start of documentstatic classEvent.StartElementEvent representing the start of an element (including attributes or namespaces)static classEvent.TextEvent representing a text node
-
Constructor Summary
Constructors Constructor Description Event()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreplay(Receiver out)Send the event to a receiver
-
-
-
Method Detail
-
replay
public void replay(Receiver out) throws XPathException
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
-
-