JavaScript is disabled on your browser.
Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Gets the action ByteBuffer
for executing the given JavaScript
byte[]
static byte[]
Gets the action bytes for executing the given JavaScript in the browser.
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Method Details
values
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name
- the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException
- if this enum class has no constant with the specified name
NullPointerException
- if the argument is null
getActionBytes
public byte[] getActionBytes ()
Returns:
the bytes for the browser action
Since:
2.0.3
getActionByteBuffer
Returns:
the action ByteBuffer
for the browser action
Since:
2.0.3
getActionByteBufferForExecuteJS
Gets the action ByteBuffer
for executing the given JavaScript
Parameters:
js
- JavaScript to execute in the browser
Returns:
the action ByteBuffer
for executing the given JavaScript in
the browser.
Since:
2.1.0 initial implementation., 3.0.15 throwing UnsupportedEncodingException is removed as announced
in 3.0.1 release.
getActionBytesForExecuteJS
public static byte[] getActionBytesForExecuteJS (String js)
Gets the action bytes for executing the given JavaScript in the browser.
Parameters:
js
- JavaScript to execute in the browser
Returns:
the action bytes for executing the given JavaScript in the browser.
Since:
2.1.0 initial implementation., 3.0.15 throwing UnsupportedEncodingException is removed as announced
in 3.0.1 release.