| com.lowagie.text.pdf.hyphenation.PatternConsumer
All known Subclasses: com.lowagie.text.pdf.hyphenation.HyphenationTree, com.lowagie.text.pdf.hyphenation.SimplePatternParser,
PatternConsumer | public interface PatternConsumer (Code) | | This interface is used to connect the XML pattern file parser to
the hyphenation tree.
author: Carlos Villegas |
Method Summary | |
void | addClass(String chargroup) Add a character class.
A character class defines characters that are considered
equivalent for the purpose of hyphenation (e.g. | void | addException(String word, ArrayList hyphenatedword) Add a hyphenation exception. | void | addPattern(String pattern, String values) Add hyphenation patterns. |
addClass | void addClass(String chargroup)(Code) | | Add a character class.
A character class defines characters that are considered
equivalent for the purpose of hyphenation (e.g. "aA"). It
usually means to ignore case.
Parameters: chargroup - character group |
addException | void addException(String word, ArrayList hyphenatedword)(Code) | | Add a hyphenation exception. An exception replaces the
result obtained by the algorithm for cases for which this
fails or the user wants to provide his own hyphenation.
A hyphenatedword is a vector of alternating String's and
Hyphen Hyphen instances
|
addPattern | void addPattern(String pattern, String values)(Code) | | Add hyphenation patterns.
Parameters: pattern - the pattern Parameters: values - interletter values expressed as a string ofdigit characters. |
|
|