public class JSReference extends ScriptStringBase
Modifier and Type | Field and Description |
---|---|
static JSReference |
EVENT |
static JSReference |
FALSE |
static JSReference |
NULL |
static JSReference |
THIS |
static JSReference |
TRUE |
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 |
---|
JSReference(String name) |
JSReference(String name,
Object index) |
Modifier and Type | Method and Description |
---|---|
void |
appendScript(Appendable target)
Append JavaScript code to @link
Appendable |
appendScriptToStringBuilder, toScript, toString
public static final JSReference EVENT
public static final JSReference THIS
public static final JSReference TRUE
public static final JSReference NULL
public static final JSReference FALSE
public JSReference(String name)
name
- public void appendScript(Appendable target) throws IOException
ScriptString
Appendable
IOException
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.