public enum LinefeedTreatment extends java.lang.Enum<LinefeedTreatment>
Enum Constant and Description |
---|
IGNORE
Specifies that any linefeed character (U+000A) shall be discarded.
|
PRESERVE
Specifies no special action.
|
TREAT_AS_SPACE
Specifies that any linefeed character (U+000A) shall be converted to a
space (U+0020).
|
TREAT_AS_ZERO_WIDTH_SPACE
Specifies that any linefeed character (U+000A) shall be converted to a
zero-width space (U+200B).
|
Modifier and Type | Method and Description |
---|---|
static LinefeedTreatment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LinefeedTreatment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinefeedTreatment IGNORE
public static final LinefeedTreatment PRESERVE
public static final LinefeedTreatment TREAT_AS_SPACE
public static final LinefeedTreatment TREAT_AS_ZERO_WIDTH_SPACE
public static LinefeedTreatment[] values()
for (LinefeedTreatment c : LinefeedTreatment.values()) System.out.println(c);
public static LinefeedTreatment 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 nullThis documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.