|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface STJS
this is a wrapper around some of the stjs functions provided in the stjs.js javascript.
| Method Summary | ||
|---|---|---|
Exception |
exception(Object ex)
throw an exception of any type in Javascript. |
|
boolean |
isEnum(Object obj)
|
|
|
parseJSON(String json,
Class<T> clazz)
parse the given json String and build the object hierarchy in a typed-manner: i.e it builds the objects using their corresponding constructors. |
|
| Method Detail |
|---|
boolean isEnum(Object obj)
obj -
Exception exception(Object ex)
ex -
<T> T parseJSON(String json,
Class<T> clazz)
json - clazz -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||