Version 9.6
 —  CentraSite API for JAXR  —

Direct XQuery Access to the Stored Data

A CentraSite JAXR client can call XQJ (XQuery API for Java technology) functionality directly in order to access the registry data. JAXR itself also uses XQJ to access the registry. For more information about XQJ, please refer to the specification (JSR 225), which you can download from this URL: http://jcp.org/en/jsr/detail?id=225.

The CentraSite CentraSiteConnection maintains an XQConnection object which it uses for its own purposes as well as for direct client access. The client can get this object as follows, assuming he already has a JAXR-based connection:

Connection jaxrCon = ...;
XQConnection xqjCon = ((CentraSiteConnection)jaxrCon).getXQConnection();

As both the client and JAXR use the same XQJ connection, the following restrictions apply (assuming the client uses JAXR and XQJ in parallel):

Top of page