ipipan.spejd.actions
Class Action

java.lang.Object
  extended by ipipan.spejd.actions.Action
Direct Known Subclasses:
AddAction, AgreeAction, DeleteAction, OrthCond, SyntAction

public abstract class Action
extends java.lang.Object

An action to evaluate after finding a match.


Constructor Summary
Action()
           
 
Method Summary
abstract  boolean apply(Match match)
          Apply the action to the match.
abstract  int[] required()
          Entity specifications required by this action.
 void setRule(AbstractRule rule)
          Set a pointer to rule containing this action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Action

public Action()
Method Detail

required

public abstract int[] required()
Entity specifications required by this action.


apply

public abstract boolean apply(Match match)
Apply the action to the match.


setRule

public void setRule(AbstractRule rule)
Set a pointer to rule containing this action. For diagnostic purposes only.