|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TokenOperatorD3.Operator>
org.mule.module.apikit.uri.TokenOperatorD3.Operator
public static enum TokenOperatorD3.Operator
The list of operators currently supported.
| Enum Constant Summary | |
|---|---|
JOIN
4.4.6 The 'join' operator. |
|
LIST
4.4.7 The 'list' operator. |
|
NEG
4.4.3 The 'neg' operator. |
|
OPT
4.4.2 The 'opt' operator. |
|
PREFIX
4.4.4 The 'prefix' operator. |
|
SUFFIX
4.4.5 The 'suffix' operator. |
|
| Method Summary | |
|---|---|
static TokenOperatorD3.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TokenOperatorD3.Operator[] |
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 TokenOperatorD3.Operator OPT
foo := "fred"
"{-opt|fred@example.org|foo}" -> "fred@example.org"
"{-opt|fred@example.org|bar}" -> ""
public static final TokenOperatorD3.Operator NEG
foo := "fred"
"{-neg|fred@example.org|foo}" -> ""
"{-neg|fred@example.org|bar}" -> "fred@example.org"
public static final TokenOperatorD3.Operator PREFIX
foo := "fred"
bar := ["fee", "fi", "fo", "fum"]
baz := []
"{-prefix|/|foo}" -> "/fred"
"{-prefix|/|bar}" -> "/fee/fi/fo/fum"
"{-prefix|/|baz}" -> ""
"{-prefix|/|qux}" -> ""
public static final TokenOperatorD3.Operator SUFFIX
foo := "fred"
bar := ["fee", "fi", "fo", "fum"]
baz := []
"{-suffix|/|foo}" -> "fred/"
"{-suffix|/|bar}" -> "fee/fi/fo/fum/"
"{-suffix|/|baz}" -> ""
"{-suffix|/|qux}" -> ""
public static final TokenOperatorD3.Operator JOIN
foo := "fred"
bar := "barney"
baz := ""
"{-join|&|foo,bar,baz,qux}" -> "foo=fred&bar=barney&baz="
"{-join|&|bar}" -> "bar=barney"
"{-join|&|qux}" -> ""
public static final TokenOperatorD3.Operator LIST
foo := ["fred", "barney", "wilma"]
bar := ["a", "", "c"]
baz := ["betty"]
qux := []
"{-list|/|foo}" -> "fred/barney/wilma"
"{-list|/|bar}" -> "a//c"
"{-list|/|baz}" -> "betty"
"{-list|/|qux}" -> ""
"{-list|/|corge}" -> ""
| Method Detail |
|---|
public static TokenOperatorD3.Operator[] values()
for (TokenOperatorD3.Operator c : TokenOperatorD3.Operator.values()) System.out.println(c);
public static TokenOperatorD3.Operator 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 null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||