|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.interpreter.type.AbstractCode
org.extex.unit.tex.hyphen.AbstractHyphenationCode
public abstract class AbstractHyphenationCode
This is the abstract base class for all hyphenation related primitives. It provides common methods.
In
This base class implements an extension to this scheme. First the toks register lang is sought. If this register is defined and not empty then the contents is used as name of the current language. Otherwise the count register language is used for this purpose.
The tokens register \lang is the primary source of information to determine the current language. If this register is not defined or has the empty value then the count register \language is used instead.
〈lang〉
→ \lang 〈equals〉 〈tokens〉
\lang={de}
The count register \language is the secondary source of information to determine the current language. If this tokens register \lang is not defined or has the empty value then this is used instead.
〈language〉
→ \language 〈equals〉 〈number〉
\language=1
| Constructor Summary | |
|---|---|
AbstractHyphenationCode(CodeToken token)
Creates a new object. |
|
| Method Summary | |
|---|---|
protected Language |
getHyphenationTable(Context context)
Getter for the current hyphenation table. |
| Methods inherited from class org.extex.interpreter.type.AbstractCode |
|---|
execute, getLocalizer, getName, getToken, isIf, isOuter, readResolve, toString, toText, toText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractHyphenationCode(CodeToken token)
token - the initial token for the primitive| Method Detail |
|---|
protected Language getHyphenationTable(Context context)
throws HelpingException
context - the interpreter context
HelpingException - in case of an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||