public interface PatternConsumer
This interface is used to connect the XML pattern file parser to the hyphenation tree.
This work was authored by Carlos Villegas (cav@uniscope.co.jp).
Modifier and Type | Method and Description |
---|---|
void |
addClass(java.lang.String chargroup)
Add a character class.
|
void |
addException(java.lang.String word,
java.util.ArrayList hyphenatedword)
Add a hyphenation exception.
|
void |
addPattern(java.lang.String pattern,
java.lang.String values)
Add hyphenation patterns.
|
void addClass(java.lang.String chargroup)
chargroup
- character groupvoid addException(java.lang.String word, java.util.ArrayList hyphenatedword)
Hyphen
instancesword
- word to add as an exceptionhyphenatedword
- pre-hyphenated wordvoid addPattern(java.lang.String pattern, java.lang.String values)
pattern
- the patternvalues
- interletter values expressed as a string of
digit characters.Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.