org.oXML.extras.java.function
Class ArrayFunction

java.lang.Object
  extended byorg.oXML.type.Function
      extended byorg.oXML.extras.java.function.ArrayFunction

public class ArrayFunction
extends Function

creates an object representing a Java array. first argument must be the array type, eg char, byte, short etc. second argument is the array length.


Constructor Summary
ArrayFunction(Name name, Type[] sig, ReflectionTypeResolver resolver)
           
 
Method Summary
 Node invoke(Node[] args, RuntimeContext ctxt)
           
 Node invoke(Node node, Node[] args, RuntimeContext ctxt)
           
 
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

ArrayFunction

public ArrayFunction(Name name,
                     Type[] sig,
                     ReflectionTypeResolver resolver)
Method Detail

invoke

public Node invoke(Node node,
                   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