monq.jfa
.See: Description
Interface | Description |
---|---|
MapProvider |
Objects implementing this interface are needed by some
FaAction callbacks to perform their task. |
Verifier |
used by
If callbacks to get a decision. |
Class | Description |
---|---|
Call | |
Copy |
implements an
FaAction which merely copies matched input to
the output. |
Count |
counts matches and can then be used with
If to perform
conditional actions depending on whether a threshold count is
reached. |
DefaultAction |
provides an action that always returns the other action from
DefaultAction.mergeWith(monq.jfa.FaAction) . |
Drop |
implements an
FaAction which drops (deletes) matched
input. |
Embed |
implements an
FaAction which embeds the matched input
into two fixed strings. |
Fail |
implements an
FaAction which unconditionally throws a
CallbackException with the message specified in the
constructor. |
Hold |
hold back output until a decision can be made whether to ship or
to drop filtered output.
|
If | |
LowerCase |
implements an
FaAction which applies
Character.toLowerCase to every character of the
match. |
Printf |
implements an
FaAction to apply a PrintfFormatter to the matched text. |
Replace |
implements an
FaAction which replaces the matched input
with a fixed string. |
Run |
runs several
FaAction objects, one after another. |
SearchReplace |
implements an
FaAction which scans the matched text for a
given regular expression and replaces those matches by applying a
PrintfFormatter . |
Stop | |
Store |
an
FaAction to store away the match in a
Map . |
SwitchDfa | |
TailContextN |
implements an
FaAction which pushes a trailing context back
into the input and then calls a client action. |
Unmatched |
contains actions to switch the default behaviour of a
DfaRun object. |
UpperCase |
implements an
FaAction which applies
Character.toUpperCase to every character of the
match. |
contains general purpose classes to be used as callbacks in
finite automata created with package
monq.jfa
. All classes in this package implement
FaAction
. Use these classes as callbacks bound to
patterns in a finite automaton, e.g. with Nfa.or(java.lang.CharSequence, monq.jfa.FaAction)
.