org.oXML.engine
Class AbstractUserFunction

java.lang.Object
  extended byorg.oXML.engine.AbstractUserFunction
All Implemented Interfaces:
UserFunction

public abstract class AbstractUserFunction
extends java.lang.Object
implements UserFunction


Constructor Summary
AbstractUserFunction(java.lang.String name, Type type, Type[] sig)
           
 
Method Summary
abstract  Node eval(Node[] args, RuntimeContext env)
           
 Name getName()
           
 Type[] getSignature()
           
 Type getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractUserFunction

public AbstractUserFunction(java.lang.String name,
                            Type type,
                            Type[] sig)
Method Detail

getName

public Name getName()
Specified by:
getName in interface UserFunction

getType

public Type getType()
Specified by:
getType in interface UserFunction

getSignature

public Type[] getSignature()
Specified by:
getSignature in interface UserFunction

eval

public abstract Node eval(Node[] args,
                          RuntimeContext env)
                   throws ObjectBoxException
Specified by:
eval in interface UserFunction
Throws:
ObjectBoxException