public enum LineBreakStyle extends java.lang.Enum<LineBreakStyle> implements ValueEnum
Enum Constant and Description |
---|
DEFAULT
Use the default line-break style of the server OS
|
DOS
Use DOS-style line-breaks (both CR & LF)
|
MAC
Use MAC-style line-breaks (CR only)
|
UNIX
Use UNIX-style line-breaks (LF only)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static LineBreakStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LineBreakStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineBreakStyle DEFAULT
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "default".
public static final LineBreakStyle UNIX
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "unix".
public static final LineBreakStyle MAC
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "mac".
public static final LineBreakStyle DOS
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "dos".
public static LineBreakStyle[] values()
for (LineBreakStyle c : LineBreakStyle.values()) System.out.println(c);
public static LineBreakStyle 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 null