au.id.pbw.hyfo.hyph
Class HyphenInhibitor
java.lang.Object
au.id.pbw.hyfo.hyph.HyphenBreak
au.id.pbw.hyfo.hyph.HyphenInhibitor
- All Implemented Interfaces:
- Serializable
public class HyphenInhibitor
- extends HyphenBreak
- implements Serializable
Represents an inhibiting value for a hyphenation break point. In the
Liang/TeX algorithm, such points have even weights in the range 0 .. 8.
- Author:
- Peter B. West
- See Also:
- Serialized Form
HyphenInhibitor
public HyphenInhibitor(Byte weight,
Alphabet alphabet)
throws HyphenationException
- Creates a new instance of HyphenInhibitor
- Parameters:
weight
- the relative strength of hyphen inhibition. Values are
small positive even numbers.alphabet
- the Alphabet
this object is defined with respect to.
- Throws:
HyphenationException
- if the weight is invalid
for inhibition.
Copyright © 2005-2006 Peter B. West.