Interface XmlRegexp.ExecCallback

Enclosing class:
XmlRegexp

public static interface XmlRegexp.ExecCallback
Called when a transition is taken by regExecPushString(2) (XmlRegExecCallbacks). The C callback receives the data given to xml_reg_exec_new as first argument, here the exec context is passed, its data is in exec.data.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    callback(XmlRegExecCtxt exec, String token, Object transdata, Object inputdata)
    Called when a transition is taken.
  • Method Details

    • callback

      void callback(XmlRegExecCtxt exec, String token, Object transdata, Object inputdata)
      Called when a transition is taken.
      Parameters:
      exec - the exec context (exec.data is the C first argument)
      token - the transition token
      transdata - the data of the transition
      inputdata - the data pushed with the token