|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mindoo.xpages2eclipse.tools.JavaScriptPrinter
public class JavaScriptPrinter
Helper class that can be used to get the source code for a SSJS function of IBM's JavaScript engine
Constructor Summary | |
---|---|
JavaScriptPrinter()
|
Method Summary | |
---|---|
static java.lang.String[] |
getJSCode(java.lang.Object o)
The method returns an array of two String: element 1 is the name of the passed JavaScript function, element 2 is the actual source code |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaScriptPrinter()
Method Detail |
---|
public static java.lang.String[] getJSCode(java.lang.Object o) throws InterpretException
func
- JavaScript function
InterpretException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |