clark.xpath
Class Executor

java.lang.Object
  |
  +--clark.xpath.Executor

public class Executor
extends java.lang.Object


Constructor Summary
Executor()
           
 
Method Summary
static clark.xpath.AtomicObject execute(short functor, clark.xpath.AtomicObject[] args, w3c.dom.Node context)
          Calls a function from the function library of XParh and returns the result from it.
static void testArgumets(java.lang.String functor, java.util.LinkedList args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Executor

public Executor()
Method Detail

execute

public static clark.xpath.AtomicObject execute(short functor,
                                               clark.xpath.AtomicObject[] args,
                                               w3c.dom.Node context)
                                        throws ParseException
Calls a function from the function library of XParh and returns the result from it.

Parameters:
functor - An identifier for the name of the function to be executed. All identifiers are in Defs.java.
args - An array of AtomicObjects representing the evaluated arguments for the function.
Returns:
The result of the applied function.
ParseException

testArgumets

public static void testArgumets(java.lang.String functor,
                                java.util.LinkedList args)
                         throws ParseException
ParseException