org.oXML.engine.template
Class DynamicTypeFunction

java.lang.Object
  extended byorg.oXML.type.Function
      extended byorg.oXML.type.TypeFunction
          extended byorg.oXML.engine.template.DynamicTypeFunction

public class DynamicTypeFunction
extends TypeFunction


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

Constructor Detail

DynamicTypeFunction

public DynamicTypeFunction(Type type,
                           Name name,
                           Parameter[] params,
                           Template body)
Parameters:
type - the Type that defines this function
Method Detail

invoke

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

invoke

public Node invoke(DynamicNode node,
                   Node[] args,
                   RuntimeContext env)
            throws ObjectBoxException
Throws:
ObjectBoxException

evaluate

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