org.oXML.engine.template
Class DynamicFunction

java.lang.Object
  extended byorg.oXML.type.Function
      extended byorg.oXML.engine.template.DynamicFunction

public class DynamicFunction
extends Function


Constructor Summary
DynamicFunction(Name name, Parameter[] params, Template body)
           
 
Method Summary
 Node evaluate(Node[] args, RuntimeContext env)
           
protected static Type[] getSignature(Parameter[] params)
           
 Node invoke(Node[] args, RuntimeContext ctxt)
           
 Node invoke(Node target, Node[] args, RuntimeContext ctxt)
           
 Node process(Node[] args, RuntimeContext env)
           
 
Methods inherited from class org.oXML.type.Function
getDeclaringType, getKey, getName, getSignature, print, printSignature, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DynamicFunction

public DynamicFunction(Name name,
                       Parameter[] params,
                       Template body)
Method Detail

getSignature

protected static final Type[] getSignature(Parameter[] params)

invoke

public Node invoke(Node target,
                   Node[] args,
                   RuntimeContext ctxt)
            throws ObjectBoxException
Specified by:
invoke in class Function
Throws:
ObjectBoxException

invoke

public Node invoke(Node[] args,
                   RuntimeContext ctxt)
            throws ObjectBoxException
Specified by:
invoke in class Function
Throws:
ObjectBoxException

process

public Node process(Node[] args,
                    RuntimeContext env)
             throws ObjectBoxException
Throws:
ObjectBoxException

evaluate

public Node evaluate(Node[] args,
                     RuntimeContext env)
              throws ObjectBoxException
Throws:
ObjectBoxException