public static enum HTMLFormElement.FormMethod extends Enum<HTMLFormElement.FormMethod>
Modifier and Type | Method and Description |
---|---|
static HTMLFormElement.FormMethod |
get(String method) |
String |
getMethod() |
static HTMLFormElement.FormMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HTMLFormElement.FormMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HTMLFormElement.FormMethod GET
public static final HTMLFormElement.FormMethod POST
public static HTMLFormElement.FormMethod[] values()
for (HTMLFormElement.FormMethod c : HTMLFormElement.FormMethod.values()) System.out.println(c);
public static HTMLFormElement.FormMethod 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 getMethod()
public static HTMLFormElement.FormMethod get(String method)
Copyright © 2018 Xalys. All rights reserved.