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 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.
  • Constructor Details

    • Event

      public Event()
  • Method Details

    • 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 - if the receiver reports an error