|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RuleFormat>
com.izforge.izpack.panels.userinput.field.rule.RuleFormat
public enum RuleFormat
Describes the format of an RuleField.
| Enum Constant Summary | |
|---|---|
DISPLAY_FORMAT
Specifies to return the contents of all fields together with all separators as specified in the field format concatenated into one long string. |
|
PLAIN_STRING
Specifies to return the contents of all fields concatenated into one long string, with separation between each component. |
|
PROCESSED
Specifies to return the contents of all fields using an Processor. |
|
SPECIAL_SEPARATOR
Specifies to return the contents of all fields concatenated into one long string, with a special separator string inserted in between the individual components. |
|
| Method Summary | |
|---|---|
static RuleFormat |
fromString(String value)
Returns a RuleFormat for the specified value. |
String |
toString()
Returns a string representation of this. |
static RuleFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RuleFormat[] |
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 RuleFormat PLAIN_STRING
public static final RuleFormat DISPLAY_FORMAT
public static final RuleFormat SPECIAL_SEPARATOR
public static final RuleFormat PROCESSED
Processor.
| Method Detail |
|---|
public static RuleFormat[] values()
for (RuleFormat c : RuleFormat.values()) System.out.println(c);
public static RuleFormat valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<RuleFormat>public static RuleFormat fromString(String value)
RuleFormat for the specified value.
value - the value
RuleFormat, or null if none is found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||