|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.json.JavaScriptValue
public class JavaScriptValue
Used to generate a snippet of the JavaScript code.
| Constructor Summary | |
|---|---|
JavaScriptValue(java.lang.String js)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
java.lang.String |
toJSONString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaScriptValue(java.lang.String js)
js - the snippet of the JavaScript code.
For example, "{what: 123, another: 'a'}".
The content is generated directly to the AU response, so it must be
a valid JavaScript code.| Method Detail |
|---|
public java.lang.String toJSONString()
toJSONString in interface JSONAwarepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||