org.foray.hyphen
Class MutatingHyphenationBreak4a

java.lang.Object
  extended by org.foray.hyphen.MutatingHyphenationBreak4a
All Implemented Interfaces:
Serializable, org.axsl.hyphen.MutatingHyphenationBreak

public class MutatingHyphenationBreak4a
extends Object
implements Serializable, org.axsl.hyphen.MutatingHyphenationBreak

Specialized information about a specific hyphenation break opportunity in a word. This handles "hard" hyphenation cases, such as those where the word changes spelling when it is hyphenated. See MutatingHyphenationBreak for more information about the general use of this class.

A 'full' hyphen is made of 3 parts: the pre-break text, post-break text and no-break. If no line-break is generated at this position, the no-break text is used, otherwise, pre-break and post-break are used. Typically, pre-break is equal to the hyphen character and the others are empty.

See Also:
Serialized Form

Method Summary
 String getNoBreak()
          Returns the "no break" String.
 String postDelete()
           
 String postInsert()
           
 String preDelete()
           
 String preInsert()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public String toString()
Overrides:
toString in class Object

getNoBreak

public String getNoBreak()
Returns the "no break" String.

Returns:
Returns the noBreak.

preDelete

public String preDelete()
Specified by:
preDelete in interface org.axsl.hyphen.MutatingHyphenationBreak

preInsert

public String preInsert()
Specified by:
preInsert in interface org.axsl.hyphen.MutatingHyphenationBreak

postDelete

public String postDelete()
Specified by:
postDelete in interface org.axsl.hyphen.MutatingHyphenationBreak

postInsert

public String postInsert()
Specified by:
postInsert in interface org.axsl.hyphen.MutatingHyphenationBreak


Copyright © 2017. All rights reserved.