org.foray.hyphen
Class HyphenationConsumer4a
java.lang.Object
org.foray.hyphen.HyphenationConsumer4a
- All Implemented Interfaces:
- org.axsl.hyphen.HyphenationConsumer
public class HyphenationConsumer4a
- extends Object
- implements org.axsl.hyphen.HyphenationConsumer
FOray implementation of HyphenationConsumer
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HyphenationConsumer4a
public HyphenationConsumer4a(HyphenationServer4a server)
- Constructor.
- Parameters:
server
- The parent server.
hyphenate
public org.axsl.hyphen.Word hyphenate(CharSequence word,
int offset,
int len,
org.axsl.common.i18n.Orthography orthography)
throws org.axsl.hyphen.HyphenationException
- Specified by:
hyphenate
in interface org.axsl.hyphen.HyphenationConsumer
- Throws:
org.axsl.hyphen.HyphenationException
getUnexpectedWords
public List<org.axsl.hyphen.Word> getUnexpectedWords()
- Specified by:
getUnexpectedWords
in interface org.axsl.hyphen.HyphenationConsumer
getServer
public HyphenationServer4a getServer()
- Returns the parent server.
- Returns:
- The parent server.
parseWordSequence
public WordSequence4a parseWordSequence(CharSequence characters,
int startIndex,
int length,
org.axsl.common.i18n.Orthography orthography)
- Specified by:
parseWordSequence
in interface org.axsl.hyphen.HyphenationConsumer
Copyright © 2017. All rights reserved.