Package monq.jfa.actions
Interface Action
- All Known Implementing Classes:
ActionSequence,CountAction,MapStoreAction,NotifyMatch,PartitionAction,PickAction,SwitchDfa,TemplateAction
public interface Action
An action to be stored in a DFA to be invoked on the match.
-
Method Summary
Modifier and TypeMethodDescriptionvoidinvoke(StringBuilder out, int start) Will be called with new data appended to the givenStringBuilder.
-
Method Details
-
invoke
Will be called with new data appended to the givenStringBuilder. The method is free to work in any way with the whole text content, not only the new part demarcated by thestartparameter.- Parameters:
out- contains new data at its endstart- where the new data starts- Throws:
CallbackException- if things go wrong.
-