A special purpose
with easy configuration options for
mapping from one arbitrary type of object to another via a pattern matcher.
Default constructor, provided as a convenience for people using setter
Set up a classifier with input to the router and output from the matcher.
A convenience method for creating a pattern matching classifier for the
map maps pattern keys with wildcards to output values
A convenience method of creating a router classifier based on a plain old
Java Object. The object provided must have precisely one public method
that either has the
delegate the delegate object used to create a router classifier
- annotation or accepts a single argument
and outputs a String. This will be used to create an input classifier for
the router component.
Classify the input and map to a String, then take that and put it into a
pattern matcher to match to an output value.