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 TypeMethodDescriptionvoidcallback(XmlRegExecCtxt exec, String token, Object transdata, Object inputdata) Called when a transition is taken.
-
Method Details
-
callback
Called when a transition is taken.- Parameters:
exec- the exec context (exec.data is the C first argument)token- the transition tokentransdata- the data of the transitioninputdata- the data pushed with the token
-