|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PatternConsumer
This interface is used to connect the XML pattern file parser to the hyphenation tree. This class has been taken from the Apache FOP project (http://xmlgraphics.apache.org/fop/). They have been slightly modified.
Method Summary | |
---|---|
void |
addClass(String chargroup)
Add a character class. |
void |
addException(String word,
ArrayList<Object> hyphenatedword)
Add a hyphenation exception. |
void |
addPattern(String pattern,
String values)
Add hyphenation patterns. |
Method Detail |
---|
void addClass(String chargroup)
chargroup
- character groupvoid addException(String word, ArrayList<Object> hyphenatedword)
Hyphen
instances
void addPattern(String pattern, String values)
pattern
- the patternvalues
- interletter values expressed as a string of digit characters.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |