com.glaivestone.javax.execution
Class BlockContext

java.lang.Object
  |
  +--com.glaivestone.javax.execution.AbstractEvaluableAction
        |
        +--com.glaivestone.javax.execution.BlockContext
All Implemented Interfaces:
EvaluableAction
Direct Known Subclasses:
NoArgumentBlock, OneArgumentBlock

public abstract class BlockContext
extends AbstractEvaluableAction

Abstract superclass for block expression action implementations.

Concrete expression subclasses must implement the evaluationExpression method to supply the expression. A block expression is typically implemented as an anonymous inner class.

Author:
Deb Lewis

Field Summary
 
Fields inherited from class com.glaivestone.javax.execution.AbstractEvaluableAction
CONTINUABLE_HANDLER, DEFAULT_HANDLER, EMPTY_ARGS, EMPTY_PARM_TYPES, PROPAGATING_HANDLER, TERMINATING_HANDLER
 
Method Summary
 java.lang.String getName()
          Answer the name which describes the expression.
 java.lang.String getSelector()
          Answer the name of the action.
 java.lang.String toString()
          Answer a string describing this action.
 
Methods inherited from class com.glaivestone.javax.execution.AbstractEvaluableAction
evaluate, evaluate, evaluate, evaluate, getArguments, getNumberOfArguments, getOriginalException, getReceiver, setArguments, setExceptionHandler
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Answer the name which describes the expression.


getSelector

public java.lang.String getSelector()
Answer the name of the action.

Specified by:
getSelector in interface EvaluableAction
Specified by:
getSelector in class AbstractEvaluableAction
See Also:
EvaluableAction.getSelector()

toString

public java.lang.String toString()
Answer a string describing this action.

Overrides:
toString in class java.lang.Object

GFL 1.1 API