|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TokenOperatorDX.Operator>
org.weborganic.furi.TokenOperatorDX.Operator
public static enum TokenOperatorDX.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. |
|
SUBSTITUTION
The substitution operator is only used to aggregate variables. |
|
URI_INSERT
The '+' operator for URI inserts. |
Method Summary | |
---|---|
char |
character()
Returns the character. |
static TokenOperatorDX.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TokenOperatorDX.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 |
---|
compareTo, equals, 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 TokenOperatorDX.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 TokenOperatorDX.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 TokenOperatorDX.Operator PATH_SEGMENT
list = [ "val1", "val2", "val3" ]; x = "1024"; {/list,x} /val1/val2/val3/1024
public static final TokenOperatorDX.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
public static final TokenOperatorDX.Operator SUBSTITUTION
Method Detail |
---|
public static TokenOperatorDX.Operator[] values()
for (TokenOperatorDX.Operator c : TokenOperatorDX.Operator.values()) System.out.println(c);
public static TokenOperatorDX.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 |