Package ca.phon.phonex
Annotation Interface PhonexPlugin
Annotation required for phonex plug-ins.
Identifies the name used for matcher
part of the phonex expression.
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
List of argument namesDescription of plug-in
-
Element Details
-
name
String nameThe name used in the phonex expression to identify the matcher.
For example, if the a class FooMatcher implements
PluginProvider
and has the annotation@PhonexPlugin(name="foo")
then FooMatcher will be used to parse phonex matchers identified with the "foo" string.{}:foo(<expression>)
The value of expression will be passed into theinvalid @link
PluginProvider#checkInput(String)
invalid @link
PluginProvider#createMatcher(String)
-
description
String descriptionDescription of plug-in- Default:
""
-
arguments
String[] argumentsList of argument names- Default:
{}
-