# com.bea.control.DynamicTransformation
XQueryExecutor Class

public class XQueryExecutor
extends `Object`

Hierarchy
  `Object`
  `XQueryExecutor`

## Method Summary

`public static `XQueryExecutor`` | `createXQueryExecutor`(`String` prologue, `String` xquery, `XQueryCompiler.PlanInfo` planInfo, `String`[] validateArgs, boolean validateReturn, `Class` externalFunctionsHandler) Constructs a XQueryExecutor at load time given a XQuery and compiled plan strings.
`public `Object`` | `execute`(`Object`[] args) Execute the loaded query given the runtime values for the arguments.

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Method Detail

### createXQueryExecutor(String, String, XQueryCompiler.PlanInfo, String[], boolean, Class) Method

    public static XQueryExecutor createXQueryExecutor(String prologue,
                                                      String xquery,
                                                      XQueryCompiler.PlanInfo planInfo,
                                                      String[] validateArgs,
                                                      boolean validateReturn,
                                                      Class externalFunctionsHandler)
         throws IOException, ITypeException, XQRLException, TransformException

Constructs a XQueryExecutor at load time given a XQuery and compiled plan strings.

#### Exceptions

``IOException``
``ITypeException``
``XQRLException``
``TransformException``

### execute(Object[]) Method

    public Object execute(Object[] args)
         throws XQRLException, TransformException

Execute the loaded query given the runtime values for the arguments.

#### Exceptions

``XQRLException``
``TransformException``