|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.higgins.util.jscript.JScriptExecHelper
Random helper functions for dealing with Java - JavaScript conversion and storage.
| Constructor Summary | |
|---|---|
JScriptExecHelper()
|
|
| Method Summary | |
|---|---|
static String |
evaluateToString(JScriptExec exec,
String[] paramNames,
Object[] params)
Allows String Transformation or Retrieval |
static String |
evaluateToString(JScriptExec exec,
String paramName,
Object in)
Allows String Transformation or Retrieval |
static String |
transformString(JScriptExec exec,
String paramName,
String param)
Allows String Transformation |
static URI |
transformURI(JScriptExec exec,
String[] paramNames,
URI in)
Allows URI Transformation |
static URI |
transformURI(JScriptExec exec,
String[] paramNames,
URI[] in)
Allows URI Transformation |
static URI |
transformURI(JScriptExec exec,
String paramName,
URI in)
Allows URI Transformation |
static Iterator |
transformURItoMany(JScriptExec exec,
String paramName,
URI in)
Allows URI Transformation |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JScriptExecHelper()
| Method Detail |
public static String transformString(JScriptExec exec,
String paramName,
String param)
throws JScriptException
exec - The Compiled JavaScript, If null the in param will be the return valueparamName - A string specifying the name of the JavaScript variable
the input String is accessible by.param - The original value
JScriptException
public static URI transformURI(JScriptExec exec,
String[] paramNames,
URI in)
throws JScriptException
exec - The Compiled JavaScript, If null the in param will be the return valueparamNames - A string array specifying the names of the JavaScript variables
the URI accessible by.in - The original URI value
JScriptException
public static URI transformURI(JScriptExec exec,
String[] paramNames,
URI[] in)
throws JScriptException
exec - The Compiled JavaScript, If null the in param will be the return valueparamNames - A string array specifying the names of the JavaScript variables
the URI accessible by.in - The original URI value and other data as needed
JScriptException
public static URI transformURI(JScriptExec exec,
String paramName,
URI in)
throws JScriptException
exec - The Compiled JavaScript, If null the in param will be the return valueparamName - A string specifying the name of the JavaScript variable
the URI will accessible by.in - The original URI value
JScriptException
public static Iterator transformURItoMany(JScriptExec exec,
String paramName,
URI in)
throws JScriptException
exec - The Compiled JavaScript, If null the in param will be the return valueparamName - A string specifying the name of the JavaScript variable
the URI will accessible by.in - The original URI value
JScriptException
public static String evaluateToString(JScriptExec exec,
String[] paramNames,
Object[] params)
throws JScriptException
exec - The Compiled JavaScript, If nul the in param will be the return valueparamNames - An array of strings specifying the names of the JavaScript variablesparams - An object array
JScriptException
public static String evaluateToString(JScriptExec exec,
String paramName,
Object in)
throws JScriptException
exec - The Compiled JavaScript, If nul the in param will be the return valueparamName - A string specifying the names of the JavaScript variablesin - The original URI value
JScriptException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||