public enum Operator extends Enum<Operator>
An enum representing an operator in a URI Template.
.------------------------------------------------------------------. | NUL + . / ; ? & # | |------------------------------------------------------------------| | first | "" "" "." "/" ";" "?" "&" "#" | | sep | "," "," "." "/" ";" "&" "&" "," | | named | false false false false true true true false | | ifemp | "" "" "" "" "" "=" "=" "" | | allow | U U+R U U U U U U+R | `------------------------------------------------------------------'
| Enum Constant and Description |
|---|
CONTINUATION |
FRAGMENT |
MATRIX |
NAME_LABEL |
NUL |
PATH |
QUERY |
RESERVED |
| Modifier and Type | Method and Description |
|---|---|
static Operator |
fromOpCode(String opCode)
FIXME Comment this
|
UriTemplate.Encoding |
getEncoding() |
String |
getListSeparator() |
String |
getOperator() |
String |
getPrefix() |
String |
getSeparator() |
String |
ifEmptyString() |
boolean |
isNamed() |
boolean |
useVarNameWhenExploded()
When the variable is a Collection, this flag determines if we use
the VarSpec name to prefix values.
|
static Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operator NUL
public static final Operator RESERVED
public static final Operator NAME_LABEL
public static final Operator PATH
public static final Operator MATRIX
public static final Operator QUERY
public static final Operator CONTINUATION
public static final Operator FRAGMENT
public static Operator[] values()
for (Operator c : Operator.values()) System.out.println(c);
public static 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 String getOperator()
public String getSeparator()
public UriTemplate.Encoding getEncoding()
public boolean isNamed()
public String ifEmptyString()
public String getListSeparator()
public boolean useVarNameWhenExploded()
public String getPrefix()
Copyright © April 30, 2012-2012 Ryan J. McDonough. All Rights Reserved.