|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jclientpages.util.JCPUtils
public class JCPUtils
some utilities for internal use
| Constructor Summary | |
|---|---|
JCPUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
box(java.lang.Object object)
if the object is a JSObject, this method boxes it in a ClientPageNode |
static java.lang.String |
quoteString(java.lang.String iString)
quotes a string to be used in a js function |
static java.lang.Object |
unbox(java.lang.Object object)
if the parameter is a ClientPageNode, it returns the corresponding JSObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JCPUtils()
| Method Detail |
|---|
public static java.lang.String quoteString(java.lang.String iString)
iString - the string to be quoted
public static java.lang.Object box(java.lang.Object object)
JSObject, this method boxes it in a ClientPageNode
object - the object to be boxed
ClientPageNode if the parameter is a JSObject,
the input parameter otherwisepublic static java.lang.Object unbox(java.lang.Object object)
ClientPageNode, it returns the corresponding JSObject
object - the object to be unboxed
JSObject if the parameter is a ClientPageNode,
the input parameter otherwise
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||