|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.interpreter.context.impl.LanguageObserver
This observer is meant for keeping the current typesetting context in sync with the registers \language and \lang.
The tokens register \lang is considered first. Only if this register is not set or it is empty then the count register \language is taken into account.
Constructor Summary | |
LanguageObserver()
Creates a new object. |
Method Summary | |
void |
receiveCountChange(ContextInternals context,
java.lang.String name,
Count value)
Receive a notification on a count change. |
void |
receiveTokensChange(ContextInternals context,
java.lang.String name,
Tokens value)
Receive a notification on a tokens change. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LanguageObserver()
Method Detail |
public void receiveCountChange(ContextInternals context, java.lang.String name, Count value) throws ConfigurationException
CountObserver
receiveCountChange
in interface CountObserver
context
- the interpreter contextname
- the token containing the name of the changed Count.value
- the new value assigned to the name. In case of
null
the name is unbound.
ConfigurationException
CountObserver.receiveCountChange(
de.dante.extex.interpreter.context.ContextInternals,
java.lang.String,
de.dante.extex.interpreter.type.count.Count)
public void receiveTokensChange(ContextInternals context, java.lang.String name, Tokens value) throws ConfigurationException
TokensObserver
receiveTokensChange
in interface TokensObserver
context
- the interpreter contextname
- 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.
ConfigurationException
TokensObserver.receiveTokensChange(
de.dante.extex.interpreter.context.ContextInternals,
java.lang.String,
de.dante.extex.interpreter.type.tokens.Tokens)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |