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
public abstract class Event extends Object
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 Classes Modifier and Type Class Description static classEvent.AppendEvent representing an arbitrary item being sent to the event stream in composed form.static classEvent.AttributeEvent representing an attribute nodestatic classEvent.CommentEvent representing a comment nodestatic classEvent.EndDocumentEvent representing end of documentstatic classEvent.EndElementEvent representing the end of an elementstatic classEvent.NamespaceEvent representing a set of namespace bindingsstatic classEvent.ProcessingInstructionEvent representing a processing instruction nodestatic classEvent.StartContentEvent representing the end of a start tag, that is, indicating that no more attributes or namespaces are expected for the current elementstatic classEvent.StartDocumentEvent representing start of documentstatic classEvent.StartElementEvent representing the start of an element (not including attributes or namespaces)static classEvent.TextEvent representing a text node
-
Constructor Summary
Constructors Constructor Description Event()
-
-
-
Method Detail
-
replay
public abstract 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
-
-