Interface NGCCEventSource

All Known Implementing Classes:
NGCCInterleaveFilter, NGCCRuntime, NGCCRuntimeEx

public interface NGCCEventSource

Auto-generated, do not edit.

Author:
Kohsuke Kawaguchi ([email protected])
  • Method Details

    • replace

      int replace(NGCCEventReceiver _old, NGCCEventReceiver _new)
      Replaces an old handler with a new handler, and returns ID of the EventReceiver thread.
      Parameters:
      _old - old handler
      _new - new handler
      Returns:
      Thread ID of the receiver that can handle this event, or -1 if none.
    • sendEnterElement

      void sendEnterElement(int receiverThreadId, String uri, String local, String qname, Attributes atts) throws SAXException
      Sends an enter element event to the specified EventReceiver thread.
      Parameters:
      receiverThreadId - Thread ID of the receiver that can handle this event
      uri - element uri
      local - element local name
      qname - element qname
      atts - element attributes
      Throws:
      SAXException - for errors
    • sendLeaveElement

      void sendLeaveElement(int receiverThreadId, String uri, String local, String qname) throws SAXException
      Throws:
      SAXException
    • sendEnterAttribute

      void sendEnterAttribute(int receiverThreadId, String uri, String local, String qname) throws SAXException
      Throws:
      SAXException
    • sendLeaveAttribute

      void sendLeaveAttribute(int receiverThreadId, String uri, String local, String qname) throws SAXException
      Throws:
      SAXException
    • sendText

      void sendText(int receiverThreadId, String value) throws SAXException
      Throws:
      SAXException