org.extex.interpreter.context.observer.tokens
Interface TokensObserver

All Known Implementing Classes:
LanguageObserver

public interface TokensObserver

This interface describes the ability to receive a notification about the change of a tokens register.

Version:
$Revision:4399 $
Author:
Gerd Neugebauer

Method Summary
 void receiveTokensChange(ContextInternals context, java.lang.String name, Tokens value)
          Receive a notification on a tokens change.
 

Method Detail

receiveTokensChange

void receiveTokensChange(ContextInternals context,
                         java.lang.String name,
                         Tokens value)
                         throws java.lang.Exception
Receive a notification on a tokens change.

Parameters:
context - the interpreter context
name - the token containing the name of the changed tokens.
value - the new value assigned to the name. In case of null the name is unbound.
Throws:
java.lang.Exception - in case of a problem