onig4j
Interface OnigRegex.Callback

Enclosing class:
OnigRegex

public static interface OnigRegex.Callback

Callback interface for onig_foreach_name() function.

See Also:
OnigRegex.foreachName(onig4j.OnigRegex.Callback), Oniguruma, Oniguruma API, 鬼車, 鬼車インターフェース

Method Summary
 int call(java.lang.String name, int[] groups, OnigRegex regex)
          Called from onig_foreach_name() function.
 

Method Detail

call

int call(java.lang.String name,
         int[] groups,
         OnigRegex regex)
Called from onig_foreach_name() function.

Parameters:
name - The group name
groups - The group number's list
regex - The regex object
Returns:
if func does not return 0, then iteration is stopped