T
- public interface Callback<T>
Callback
interface for the Action
class. Callback.handle
is invoked when the Action
parser the Callback
is associated with fires.Action
void handle(char[] buf, int start, int end, T udata)
Action
fires.buf
- The buffer being parsedstart
- The start offset of the match.end
- The end offset of the match. If start == end
, an
empty match occurred.udata
- The user specified object that was passed to
Parser.parse
.