|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Url.StringMode>
org.apache.wicket.request.Url.StringMode
public static enum Url.StringMode
Modes with which urls can be stringized
| Enum Constant Summary | |
|---|---|
FULL
full urls are written with hostname. if the hostname is not set or one of segments is .. an IllegalStateException is thrown. |
|
LOCAL
local urls are rendered without the host name |
|
| Method Summary | |
|---|---|
static Url.StringMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Url.StringMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Url.StringMode LOCAL
public static final Url.StringMode FULL
IllegalStateException is thrown.
| Method Detail |
|---|
public static final Url.StringMode[] values()
for(Url.StringMode c : Url.StringMode.values())
System.out.println(c);
public static Url.StringMode 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||