|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TokenFactory.Syntax>
org.weborganic.furi.TokenFactory.Syntax
public static enum TokenFactory.Syntax
A syntax to use for creating tokens.
Enum Constant Summary | |
---|---|
DRAFT3
Use the syntax defined in Draft 3 of the URI templates. |
|
DRAFTX
Use a syntax based on the draft as of 29 October 2009. |
|
PAGESEEDER
Use a syntax currently used in PageSeeder and based on what was suggested by Roy T Fielding on the W3C URI listing in October 2008. |
Method Summary | |
---|---|
static TokenFactory.Syntax |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TokenFactory.Syntax[] |
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 TokenFactory.Syntax DRAFT3
public static final TokenFactory.Syntax PAGESEEDER
public static final TokenFactory.Syntax DRAFTX
Method Detail |
---|
public static TokenFactory.Syntax[] values()
for (TokenFactory.Syntax c : TokenFactory.Syntax.values()) System.out.println(c);
public static TokenFactory.Syntax 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 |