public static enum Script.Type extends java.lang.Enum<Script.Type>
| Enum Constant and Description |
|---|
application_ecmascript |
application_javascript |
text_ecmascript |
text_javascript |
text_vbscript |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static Script.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Script.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Script.Type text_ecmascript
public static final Script.Type text_javascript
public static final Script.Type application_ecmascript
public static final Script.Type application_javascript
public static final Script.Type text_vbscript
public static Script.Type[] values()
for (Script.Type c : Script.Type.values()) System.out.println(c);
public static Script.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<Script.Type>