Enum Constant and Description |
---|
DOCUMENT_OBJECT_MODEL |
ECMASCRIPT_NATIVE |
PARTIAL_HOST_MODEL |
TAJS |
Modifier and Type | Method and Description |
---|---|
static Value |
evaluate(HostObject hostobject,
FunctionCalls.CallInfo call,
GenericSolver.SolverInterface c) |
java.lang.String |
getShortName()
Returns the short name of this host API.
|
java.lang.String |
toString()
Returns the full name of this host API.
|
static HostAPIs |
valueOf(java.lang.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 ECMASCRIPT_NATIVE
public static final HostAPIs PARTIAL_HOST_MODEL
public static final HostAPIs TAJS
public static Value evaluate(HostObject hostobject, FunctionCalls.CallInfo call, GenericSolver.SolverInterface c)
public java.lang.String getShortName()
HostAPI
getShortName
in interface HostAPI
public java.lang.String toString()
HostAPI
public static HostAPIs 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 static HostAPIs[] values()
for (HostAPIs c : HostAPIs.values()) System.out.println(c);
Copyright © 2009-2019 Aarhus University