|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NewlineEnum>
cz.zcu.fav.kiv.editor.controller.options.NewlineEnum
public enum NewlineEnum
The NewlineEnum class is the enumerated list of chars defining ends of line in the
output XSL stylesheet.
| Enum Constant Summary | |
|---|---|
CR
|
|
CRLF
|
|
LF
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NewlineEnum CRLF
public static final NewlineEnum LF
public static final NewlineEnum CR
| Method Detail |
|---|
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 name
java.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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||