public enum BreakStrength extends java.lang.Enum<BreakStrength>
| Enum Constant and Description |
|---|
MEDIUM
Treat adjacent words as if separated by a single comma.
|
NONE
No pause should be outputted.
|
STRONG
Make a sentence break (equivalent to using the s tag).
|
WEAK
Treat adjacent words as if separated by a single comma (equivalent to medium).
|
X_STRONG
Make a paragraph break (equivalent to using the p tag).
|
X_WEAK
No pause should be outputted (same as none).
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static BreakStrength |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BreakStrength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BreakStrength NONE
public static final BreakStrength X_WEAK
public static final BreakStrength WEAK
public static final BreakStrength MEDIUM
public static final BreakStrength STRONG
public static final BreakStrength X_STRONG
public static BreakStrength[] values()
for (BreakStrength c : BreakStrength.values()) System.out.println(c);
public static BreakStrength valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<BreakStrength>