org.foray.hyphen
Class MutatingWord4a

java.lang.Object
  extended by org.foray.hyphen.Word4a
      extended by 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

Method Summary
 void addSpecialBreak(int index, MutatingHyphenationBreak4a specialBreak)
          Add a special break to this hyphenation.
 org.axsl.hyphen.MutatingHyphenationBreak getMutatingBreak(org.axsl.hyphen.HyphenationFilter filter, int index)
           
 
Methods inherited from class org.foray.hyphen.Word4a
charAt, convertLiangToWeight, getLiangWeight, getNormalizedWord, getOffset, getSegmentChar, getSegmentLength, getWeight, length, normalizeException, qtyHyphenationPoints, qtyLayoutOptions, qtySegments, subSequence, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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.