org.extex.engine
Class ContextawareInteractionIndicator

java.lang.Object
  extended by org.extex.engine.ContextawareInteractionIndicator
All Implemented Interfaces:
InteractionIndicator

public class ContextawareInteractionIndicator
extends java.lang.Object
implements InteractionIndicator

This internal interface extends the interaction provider by the ability to set a context as final source of information.

Version:
$Revision: 5692 $
Author:
Gerd Neugebauer

Constructor Summary
ContextawareInteractionIndicator()
           
 
Method Summary
 boolean isInteractive()
          Getter for the interaction mode.
 void setContext(Context context)
          Setter for the interpreter context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextawareInteractionIndicator

public ContextawareInteractionIndicator()
Method Detail

isInteractive

public boolean isInteractive()
Getter for the interaction mode.

Specified by:
isInteractive in interface InteractionIndicator
Returns:
true iff interaction with the user is desirable
See Also:
InteractionIndicator.isInteractive()

setContext

public void setContext(Context context)
Setter for the interpreter context.

Parameters:
context - the interpreter context