org.oXML.extras.java
Class ConvertingMethod

java.lang.Object
  extended byorg.oXML.type.Function
      extended byorg.oXML.type.TypeFunction
          extended byorg.oXML.extras.java.ConvertingFunction
              extended byorg.oXML.extras.java.ConvertingMethod

public class ConvertingMethod
extends ConvertingFunction


Constructor Summary
ConvertingMethod(Name name, ReflectionType type, ReflectionType[] sig, java.lang.reflect.Method method)
           
 
Method Summary
 Node invoke(Node[] args, RuntimeContext ctxt)
           
 Node invoke(Node node, Node[] args, RuntimeContext ctxt)
           
 java.lang.String toString()
           
 
Methods inherited from class org.oXML.extras.java.ConvertingFunction
convert, convert, getType
 
Methods inherited from class org.oXML.type.TypeFunction
getDeclaringType, print
 
Methods inherited from class org.oXML.type.Function
getKey, getName, getSignature, printSignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConvertingMethod

public ConvertingMethod(Name name,
                        ReflectionType type,
                        ReflectionType[] sig,
                        java.lang.reflect.Method method)
Method Detail

invoke

public Node invoke(Node[] args,
                   RuntimeContext ctxt)
            throws ObjectBoxException
Overrides:
invoke in class TypeFunction
Throws:
ObjectBoxException

invoke

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

toString

public java.lang.String toString()
Overrides:
toString in class Function