com.jaxfront.core.jep
Class JavaScriptProtokolFunction

java.lang.Object
  extended by org.nfunk.jep.function.PostfixMathCommand
      extended by com.jaxfront.core.jep.JaxfrontMathCommand
          extended by com.jaxfront.core.jep.JavaScriptProtokolFunction
All Implemented Interfaces:
org.nfunk.jep.function.PostfixMathCommandI

public class JavaScriptProtokolFunction
extends JaxfrontMathCommand

StringCast try to cast the given parameter to an String datatype. Casting is provided for every Object by calling the toString method.


Field Summary
static java.lang.String ARRAY_PARAM_DELIMITER
           
static java.lang.String ESC_ARRAY_PARAM_DELIMITER
           
 
Constructor Summary
JavaScriptProtokolFunction()
          Constructor.
 
Method Summary
static java.lang.Object[] escapeParams(java.lang.Object[] params)
           
 void run(MathEvaluator.MathCommunicator communicator, java.util.Stack stack)
           
 
Methods inherited from class com.jaxfront.core.jep.JaxfrontMathCommand
getDOM, invertParams, run
 
Methods inherited from class org.nfunk.jep.function.PostfixMathCommand
getNumberOfParameters, getRootNode, isFastFailable, run, setCurNumberOfParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARRAY_PARAM_DELIMITER

public static final java.lang.String ARRAY_PARAM_DELIMITER
See Also:
Constant Field Values

ESC_ARRAY_PARAM_DELIMITER

public static final java.lang.String ESC_ARRAY_PARAM_DELIMITER
See Also:
Constant Field Values
Constructor Detail

JavaScriptProtokolFunction

public JavaScriptProtokolFunction()
Constructor.

Method Detail

escapeParams

public static java.lang.Object[] escapeParams(java.lang.Object[] params)

run

public void run(MathEvaluator.MathCommunicator communicator,
                java.util.Stack stack)
         throws org.nfunk.jep.ParseException
Specified by:
run in class JaxfrontMathCommand
Throws:
org.nfunk.jep.ParseException
See Also:
org.nfunk.jep.function.PostfixMathCommandI#run(Stack)