public enum ResultRule extends java.lang.Enum<ResultRule>
Enum Constant and Description |
---|
A
This uses the value from input A if it exists, otherwise no value is output.
|
AB
This uses the value from input A if it exists, otherwise uses the value from input B.
|
B
This uses the value from input B if it exists, otherwise no value is output.
|
BA
Default.
|
DELETE
No value is given in the output under any circumstances, but still processes the subtree if present.
|
Modifier and Type | Method and Description |
---|---|
static ResultRule |
getResultRuleValue(java.lang.String val) |
static ResultRule |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResultRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultRule BA
public static final ResultRule AB
public static final ResultRule A
public static final ResultRule B
public static final ResultRule DELETE
public static ResultRule[] values()
for (ResultRule c : ResultRule.values()) System.out.println(c);
public static ResultRule 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 static ResultRule getResultRuleValue(java.lang.String val)