public class JSObject extends JSFunction
COLON, COMMA, DOT, EMPTY_STRING, EQUALS, FUNCTION, LEFT_CURLY_BRACKET, LEFT_ROUND_BRACKET, LEFT_SQUARE_BRACKET, RIGHT_CURLY_BRACKET, RIGHT_ROUND_BRACKET, RIGHT_SQUARE_BRACKET
Constructor and Description |
---|
JSObject(String name,
Object... parameters) |
Modifier and Type | Method and Description |
---|---|
void |
appendScript(Appendable target)
Append JavaScript code to @link
Appendable |
addParameter, getParameters
appendScriptToStringBuilder, toScript, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendScriptToStringBuilder, toScript
public void appendScript(Appendable target) throws IOException
ScriptString
Appendable
appendScript
in interface ScriptString
appendScript
in class JSFunction
IOException
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.