Jet.Pat
Class AddFeaturesAction
java.lang.Object
Jet.Pat.Action
Jet.Pat.AddFeaturesAction
- public class AddFeaturesAction
- extends Action
the action (in a when statement) for adding features to an
existing Annotation.
Constructor Summary |
AddFeaturesAction(FeatureSet fs,
Variable sv)
|
AddFeaturesAction(java.io.StreamTokenizer tok)
creates an AddFeaturesAction from the input processed by StreamTokenizer
tok, which should have the form
addfeatures [type feature=value feature=value ...] to annotationVariable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AddFeaturesAction
public AddFeaturesAction(FeatureSet fs,
Variable sv)
AddFeaturesAction
public AddFeaturesAction(java.io.StreamTokenizer tok)
throws java.io.IOException,
PatternSyntaxError
- creates an AddFeaturesAction from the input processed by StreamTokenizer
tok, which should have the form
addfeatures [type feature=value feature=value ...] to annotationVariable
perform
public int perform(Document doc,
PatternApplication patap)
- performs the action, adding the specified Annotation.
Returns the position of the end of the Annotation.
- Specified by:
perform
in class Action
toString
public java.lang.String toString()
- Specified by:
toString
in class Action