Class OutputterEvent

java.lang.Object
net.sf.saxon.event.OutputterEvent
Direct Known Subclasses:
OutputterEvent.Append, OutputterEvent.Attribute, OutputterEvent.Comment, OutputterEvent.EndDocument, OutputterEvent.EndElement, OutputterEvent.Namespace, OutputterEvent.ProcessingInstruction, OutputterEvent.StartContent, OutputterEvent.StartDocument, OutputterEvent.StartElement, OutputterEvent.Text

public abstract class OutputterEvent extends Object
An outputter event is an object representing one of the events that can be passed to an Outputter : for example, a startElement, attribute, namespace endElement, characters, or comment event. Sufficient information is retained in order to enable a stored event to be "replayed" later.
  • Constructor Details

    • OutputterEvent

      public OutputterEvent()
  • Method Details

    • replay

      public void replay(Outputter 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