public interface Hyphenator extends Transform
Modifier and Type | Interface and Description |
---|---|
static interface |
Hyphenator.FullHyphenator |
static interface |
Hyphenator.LineBreaker |
static interface |
Hyphenator.LineIterator |
static class |
Hyphenator.NonStandardHyphenationException
Thrown by
Hyphenator.FullHyphenator if non-standard breaks are present. |
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.
|
getIdentifier
Hyphenator.FullHyphenator asFullHyphenator() throws UnsupportedOperationException
UnsupportedOperationException
Hyphenator.LineBreaker asLineBreaker() throws UnsupportedOperationException
Hyphenator.LineBreaker
is not required to do any special white space processing, but
it may.
If the Hyphenator.FullHyphenator
returned by asFullHyphenator()
throws a Hyphenator.NonStandardHyphenationException
, the asLineBreaker()
method must not throw a UnsupportedOperationException
.UnsupportedOperationException
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.