Package org.zkoss.json
Class JavaScriptValue
- java.lang.Object
-
- org.zkoss.json.JavaScriptValue
-
- All Implemented Interfaces:
java.io.Serializable
,JSONAware
public class JavaScriptValue extends java.lang.Object implements JSONAware, java.io.Serializable
Used to generate a snippet of the JavaScript code.- Since:
- 6.0.0
- Author:
- tomyeh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JavaScriptValue(java.lang.String js)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toJSONString()
-
-
-
Method Detail
-
toJSONString
public java.lang.String toJSONString()
- Specified by:
toJSONString
in interfaceJSONAware
- Returns:
- JSON text
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-