Package org.daisy.dotify.translator.impl
Class DummyHyphenator
- java.lang.Object
 - 
- org.daisy.dotify.translator.impl.DummyHyphenator
 
 
- 
- All Implemented Interfaces:
 HyphenatorInterface
public class DummyHyphenator extends Object implements HyphenatorInterface
TODO: add java doc. 
- 
- 
Constructor Summary
Constructors Constructor Description DummyHyphenator() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBeginLimit()Gets the begin limit.intgetEndLimit()Gets the end limit.Stringhyphenate(String phrase)Hyphenates the phrase, inserting soft hyphens at all possible breakpoints.voidsetBeginLimit(int beginLimit)Sets the begin limit.voidsetEndLimit(int endLimit)Sets the end limit. 
 - 
 
- 
- 
Method Detail
- 
hyphenate
public String hyphenate(String phrase)
Description copied from interface:HyphenatorInterfaceHyphenates the phrase, inserting soft hyphens at all possible breakpoints.- Specified by:
 hyphenatein interfaceHyphenatorInterface- Parameters:
 phrase- the phrase to hyphenate- Returns:
 - the hyphenated string
 
 
- 
getBeginLimit
public int getBeginLimit()
Description copied from interface:HyphenatorInterfaceGets the begin limit. In other words, the number of unbreakable characters at the beginning of each word.- Specified by:
 getBeginLimitin interfaceHyphenatorInterface- Returns:
 - returns the begin limit
 
 
- 
setBeginLimit
public void setBeginLimit(int beginLimit)
Description copied from interface:HyphenatorInterfaceSets the begin limit. In other words, the number of unbreakable characters at the beginning of each word.- Specified by:
 setBeginLimitin interfaceHyphenatorInterface- Parameters:
 beginLimit- the begin limit
 
- 
getEndLimit
public int getEndLimit()
Description copied from interface:HyphenatorInterfaceGets the end limit. In other words, the number of unbreakable characters at the end of each word.- Specified by:
 getEndLimitin interfaceHyphenatorInterface- Returns:
 - returns the end limit
 
 
- 
setEndLimit
public void setEndLimit(int endLimit)
Description copied from interface:HyphenatorInterfaceSets the end limit. In other words, the number of unbreakable characters at the end of each word.- Specified by:
 setEndLimitin interfaceHyphenatorInterface- Parameters:
 endLimit- the end limit
 
 - 
 
 -