public enum HostAPIs extends Enum<HostAPIs> implements HostAPI
| Enum Constant and Description |
|---|
DOCUMENT_OBJECT_MODEL |
DSL_OBJECT_MODEL |
ECMASCRIPT_NATIVE |
| Modifier and Type | Method and Description |
|---|---|
static Value |
evaluate(HostObject hostobject,
FunctionCalls.CallInfo call,
State state,
GenericSolver.SolverInterface c) |
String |
getShortName()
Returns the short name of this host API.
|
String |
toString()
Returns the full name of this host API.
|
static HostAPIs |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostAPIs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostAPIs DOCUMENT_OBJECT_MODEL
public static final HostAPIs DSL_OBJECT_MODEL
public static final HostAPIs ECMASCRIPT_NATIVE
public static Value evaluate(HostObject hostobject, FunctionCalls.CallInfo call, State state, GenericSolver.SolverInterface c)
public String getShortName()
HostAPIgetShortName in interface HostAPIpublic String toString()
HostAPIpublic static HostAPIs 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 static HostAPIs[] values()
for (HostAPIs c : HostAPIs.values()) System.out.println(c);
Copyright © 2012 Aarhus University