org.apache.fop.hyphenation

Interface PatternConsumer

Known Implementing Classes:
HyphenationTree, PatternParser

public interface PatternConsumer

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.
void
addException(String word, ArrayList hyphenatedword)
Add a hyphenation exception.
void
addPattern(String pattern, String values)
Add hyphenation patterns.

Method Details

addClass

public void addClass(String chargroup)
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

public void addException(String word,
                         ArrayList hyphenatedword)

addPattern

public void addPattern(String pattern,
                       String values)
Add hyphenation patterns.
Parameters:
pattern - the pattern
values - interletter values expressed as a string of digit characters.

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.