public static enum TokenOperatorDX.Operator extends Enum<TokenOperatorDX.Operator>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic char character()
Copyright © 2016 Allette Systems. All rights reserved.