public enum WhiteSpaceTreatment extends java.lang.Enum<WhiteSpaceTreatment>
Enum Constant and Description |
---|
IGNORE
Any character classified as white space, except U+000A (linefeed) shall
be deleted.
|
IGNORE_IF_AFTER_LINEFEED
Any character with a suppress-at-line-break value of "suppress" shall
be deleted if it would be the first character in the line.
|
IGNORE_IF_BEFORE_LINEFEED
Any character with a suppress-at-line-break value of "suppress" shall
be deleted if it would be the last character in the line.
|
IGNORE_IF_SURROUNDING_LINEFEED
Any character with a suppress-at-line-break value of "suppress" shall
be deleted if it would be the first or last character in the line.
|
PRESERVE
Any character classified as white space shall not be deleted.
|
Modifier and Type | Method and Description |
---|---|
static WhiteSpaceTreatment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WhiteSpaceTreatment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WhiteSpaceTreatment IGNORE
public static final WhiteSpaceTreatment PRESERVE
public static final WhiteSpaceTreatment IGNORE_IF_BEFORE_LINEFEED
public static final WhiteSpaceTreatment IGNORE_IF_AFTER_LINEFEED
public static final WhiteSpaceTreatment IGNORE_IF_SURROUNDING_LINEFEED
public static WhiteSpaceTreatment[] values()
for (WhiteSpaceTreatment c : WhiteSpaceTreatment.values()) System.out.println(c);
public static WhiteSpaceTreatment 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.