|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.language.word.impl.ExTeXWords
org.extex.language.word.impl.TeXWords
public class TeXWords
This class tokenizes a list of nodes according to the rules of
| Field Summary | |
|---|---|
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
| Constructor Summary | |
|---|---|
TeXWords()
Creates a new object. |
|
| Method Summary | |
|---|---|
int |
findWord(NodeList nodes,
int start,
UnicodeCharList word)
Extract a word from a node list. |
UnicodeCharList |
normalize(UnicodeCharList word,
TypesetterOptions options)
Normalize a word for the lookup. |
| Methods inherited from class org.extex.language.word.impl.ExTeXWords |
|---|
insertShy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.extex.language.word.WordTokenizer |
|---|
insertShy |
| Field Detail |
|---|
protected static final long serialVersionUID
| Constructor Detail |
|---|
public TeXWords()
| Method Detail |
|---|
public int findWord(NodeList nodes,
int start,
UnicodeCharList word)
throws HyphenationException
WordTokenizer
findWord in interface WordTokenizerfindWord in class ExTeXWordsnodes - the nodes to extract the word fromstart - the start indexword - the target list for the letters of the word
HyphenationException - in case of an errorWordTokenizer.findWord(
org.extex.typesetter.type.NodeList,
int,
org.extex.core.UnicodeCharList)
public UnicodeCharList normalize(UnicodeCharList word,
TypesetterOptions options)
throws HyphenationException
WordTokenizer
normalize in interface WordTokenizernormalize in class ExTeXWordsword - the word to normalizeoptions - the options to use
HyphenationException - in case of an errorWordTokenizer.normalize(
org.extex.core.UnicodeCharList,
org.extex.typesetter.TypesetterOptions)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||