public abstract class AbstractHyphenator extends AbstractTransform implements Hyphenator
Modifier and Type | Class and Description |
---|---|
static class |
AbstractHyphenator.util |
Hyphenator.FullHyphenator, Hyphenator.LineBreaker, Hyphenator.LineIterator, Hyphenator.NonStandardHyphenationException
Constructor and Description |
---|
AbstractHyphenator() |
Modifier and Type | Method and Description |
---|---|
Hyphenator.FullHyphenator |
asFullHyphenator()
Indicate all soft wrap opportunities by inserting soft hyphens and zero width
spaces.
|
Hyphenator.LineBreaker |
asLineBreaker()
Break the input into lines of a preferred and maximal length.
|
finalize, getIdentifier, toString, toStringHelper
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIdentifier
public Hyphenator.FullHyphenator asFullHyphenator() throws UnsupportedOperationException
Hyphenator
asFullHyphenator
in interface Hyphenator
UnsupportedOperationException
public Hyphenator.LineBreaker asLineBreaker() throws UnsupportedOperationException
Hyphenator
Hyphenator.LineBreaker
is not required to do any special white space processing, but
it may.
If the Hyphenator.FullHyphenator
returned by Hyphenator.asFullHyphenator()
throws a Hyphenator.NonStandardHyphenationException
, the Hyphenator.asLineBreaker()
method must not throw a UnsupportedOperationException
.asLineBreaker
in interface Hyphenator
UnsupportedOperationException
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.