ClassificationProducer
, java.lang.Cloneable
LineBreakProducer
, WordBreakProducer
public interface BreakOpportunityProducer extends ClassificationProducer
Modifier and Type | Field | Description |
---|---|---|
static int |
BREAK_CHAR |
Breaks allowed, it is an generic position.
|
static int |
BREAK_LINE |
Break allowed, this is after a line is complete or a forced linebreak has
been encountered.
|
static int |
BREAK_NEVER |
Never do any breaking.
|
static int |
BREAK_SYLLABLE |
Break allowed, this is after a syllable is complete.
|
static int |
BREAK_WORD |
Break allowed, this is after a word is complete or a whitespace has been
encountered.
|
END_OF_TEXT, START_OF_TEXT
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
clone() |
|
int |
createBreakOpportunity(int codepoint) |
|
void |
reset() |
static final int BREAK_NEVER
static final int BREAK_CHAR
static final int BREAK_SYLLABLE
static final int BREAK_WORD
static final int BREAK_LINE
int createBreakOpportunity(int codepoint)
java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface ClassificationProducer
java.lang.CloneNotSupportedException
void reset()