|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Variable.Form>
org.mule.module.apikit.uri.Variable.Form
public static enum Variable.Form
Indicate that the variable's value should be processed as a list ("@") or an associative array ("%").
This variable type is an instruction for the template processor. It is not an indication of language or implementation type.
| Enum Constant Summary | |
|---|---|
LIST
Indicate that this variable can be expanded as a list of strings. |
|
MAP
Indicates that this variable can be expanded as an associated array. |
|
STRING
Indicate that this variable can be expanded as a simple string (default). |
|
| Method Summary | |
|---|---|
protected static Variable.Form |
getType(String exp)
Returns the type of this variable from the specified expression. |
static Variable.Form |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Variable.Form[] |
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, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Variable.Form STRING
public static final Variable.Form LIST
public static final Variable.Form MAP
| Method Detail |
|---|
public static Variable.Form[] values()
for (Variable.Form c : Variable.Form.values()) System.out.println(c);
public static Variable.Form 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 nullprotected static Variable.Form getType(String exp)
null
exp - The expression.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||