public enum NewlineEnum extends java.lang.Enum<NewlineEnum>
NewlineEnum
class is the enumerated list of chars defining ends of line in the
output XSL stylesheet.Modifier and Type | Method and Description |
---|---|
static boolean |
containsNewline(java.lang.String encodKey)
Specifies if the input end of line is among predefined ends of line
NewlineEnum . |
java.lang.String |
getKey() |
java.lang.String |
getMessage() |
static NewlineEnum |
getNewline(java.lang.String newLineKey)
Returns
NewlineEnum object for the corresponding key. |
java.lang.String |
toString() |
static NewlineEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NewlineEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NewlineEnum CRLF
public static final NewlineEnum LF
public static final NewlineEnum CR
public static NewlineEnum[] values()
for (NewlineEnum c : NewlineEnum.values()) System.out.println(c);
public static NewlineEnum 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 getMessage()
public java.lang.String toString()
toString
in class java.lang.Enum<NewlineEnum>
public static NewlineEnum getNewline(java.lang.String newLineKey)
NewlineEnum
object for the corresponding key.newLineKey
- the key of the end of line.public static boolean containsNewline(java.lang.String encodKey)
NewlineEnum
.encodKey
- the key of the end of line.NewlineEnum
.public java.lang.String getKey()