# Package javax.xml.xquery

- Interface Summary
  Interface | Description
  --- | ---
  ConnectionPoolXQDataSource | A factory for `PooledXQConnection` objects.
  PooledXQConnection | An object that provides hooks for connection pool management.
  XQConnection | A connection (session) with a specific XQuery engine.
  XQConnectionEventListener | An object that registers to be notified of events generated by a `PooledXQConnection` object.
  XQDataFactory | This interface represents a factory to obtain sequences, item objects and types.
  XQDataSource | An `XQDataSource` is a factory for `XQConnection` objects.
  XQDynamicContext | `XQDynamicContext` provides access to the dynamic context as defined in 2.1.2 Dynamic Context, XQuery 1.0: An XML Query Language.
  XQExpression | This interface describes the execute immediate functionality for expressions.
  XQItem | This interface represents an item in the XDM.
  XQItemAccessor | This interface represents a common interface for accessing the values of an XQuery item.
  XQItemType | The `XQItemType` interface represents an item type as defined in XQuery 1.0: An XML Query language.
  XQMetaData | `XQMetaData` interface provides information about the data source, in various aspects, such as the product name and version identification, supported features, specific behaviors, user information, product limits and so forth.
  XQPreparedExpression | This interface describes an expression that can be prepared for multiple subsequent executions.
  XQResultItem | This interface represents an immutable item object obtained from an `XQResultSequence` using the `getItem` method.
  XQResultSequence | This interface represents a sequence of items obtained as a result of evaluation XQuery expressions.
  XQSequence | This interface represents a sequence of items as defined in the XDM.
  XQSequenceType | The `XQSequenceType` interface represents a sequence type as XQuery 1.0: An XML Query language.
  XQStaticContext | An `XQStaticContext` represents default values for various XQuery Static Context Components.

- Class Summary
  Class | Description
  --- | ---
  XQConnectionEvent | An event object that provides information about the source of a connection-related event.
  XQConstants | `XQConstants` class provides constants that can be used in the XQJ API.
  XQStackTraceElement | This class represents a frame in a stack trace, akin to the `java.lang.StackTraceElement` but for XQuery callstacks instead of Java.
  XQStackTraceVariable | This class represents the list of variables and their values in an error stack.

- Exception Summary
  Exception | Description
  --- | ---
  XQCancelledException | `XQCancelledException` is an exception to indicate that the current XQuery processing is cancelled by the application through a `cancel()` request.
  XQException | An exception that provides information on XQJ, XQuery or other errors reported by an XQJ implementation.
  XQQueryException | An exception that provides information on errors occurring during the evaluation of an xquery.