org.foray.hyphen
Class MutatingWord4a
java.lang.Object
org.foray.hyphen.Word4a
org.foray.hyphen.MutatingWord4a
- All Implemented Interfaces:
- Serializable, CharSequence, org.axsl.hyphen.Word, org.axsl.hyphen.WordSequenceContent
public class MutatingWord4a
- extends Word4a
- implements Serializable
Extension of Word4a
that allows so-called full hyphenation
breaks.
- See Also:
- Serialized Form
Methods inherited from class org.foray.hyphen.Word4a |
charAt, convertLiangToWeight, getLiangWeight, getNormalizedWord, getOffset, getSegmentChar, getSegmentLength, getWeight, length, normalizeException, qtyHyphenationPoints, qtyLayoutOptions, qtySegments, subSequence, toString |
addSpecialBreak
public void addSpecialBreak(int index,
MutatingHyphenationBreak4a specialBreak)
- Add a special break to this hyphenation.
- Parameters:
index
- The index to the break opportunity for which the new
special break exists.specialBreak
- The special break information.
getMutatingBreak
public org.axsl.hyphen.MutatingHyphenationBreak getMutatingBreak(org.axsl.hyphen.HyphenationFilter filter,
int index)
- Specified by:
getMutatingBreak
in interface org.axsl.hyphen.Word
- Overrides:
getMutatingBreak
in class Word4a
Copyright © 2017. All rights reserved.