|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TokenOperatorPS.Operator>
org.mule.module.apikit.uri.TokenOperatorPS.Operator
public static enum TokenOperatorPS.Operator
The list of operators currently supported.
| Enum Constant Summary | |
|---|---|
PATH_PARAMETER
The ';' operator for path parameters. |
|
PATH_SEGMENT
The '/' operator for path segments. |
|
QUERY_PARAMETER
The '?' operator for query parameters. |
|
URI_INSERT
The '+' operator for URI inserts. |
|
| Method Summary | |
|---|---|
char |
character()
Returns the character. |
static TokenOperatorPS.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TokenOperatorPS.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 TokenOperatorPS.Operator QUERY_PARAMETER
undef = null;
empty = "";
x = "1024";
y = "768";
{?x,y} ?x=1024&y=768
{?x,y,empty} ?x=1024&y=768&empty=
{?x,y,undef} ?x=1024&y=768
public static final TokenOperatorPS.Operator PATH_PARAMETER
undef = null;
empty = "";
x = "1024";
y = "768";
{;x,y} ;x=1024;y=768
{;x,y,empty} ;x=1024;y=768;empty
{;x,y,undef} ;x=1024;y=768
public static final TokenOperatorPS.Operator PATH_SEGMENT
list = [ "val1", "val2", "val3" ];
x = "1024";
{/list,x} /val1/val2/val3/1024
public static final TokenOperatorPS.Operator URI_INSERT
empty = ""
path = "/foo/bar"
x = "1024"
{+path}/here /foo/bar/here
{+path,x}/here /foo/bar,1024/here
{+path}{x}/here /foo/bar1024/here
{+empty}/here /here
| Method Detail |
|---|
public static TokenOperatorPS.Operator[] values()
for (TokenOperatorPS.Operator c : TokenOperatorPS.Operator.values()) System.out.println(c);
public static TokenOperatorPS.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 nullpublic char character()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||