Implementation of adapter Interface

In this section we will describe what methods your adapter (yourApiAdapter) must provide in order to work with the XQuery plugin. First of all it has to implement Adapter. This interface can be found in XQuery.jar which you will need if you're going to write an adapter. You can always take a look at the source code of the Saxon or Galax Adapter.

If one of these functions is not available then the XQueryplugin will throw an exception. If for example you do not wish to implement the ability to set the baseURI you till have to provide this method but it can be empty or give a message stating it is not implemented.