Class SaxonXQDataSource

  • All Implemented Interfaces:
    XQDataFactory, XQDataSource

    public class SaxonXQDataSource
    extends SaxonXQDataFactory
    implements XQDataSource
    Saxon implementation of the XQJ XQDataSource interface. The first action of a client application is to instantiate a SaxonXQDataSource. This is done directly: there is no factory class as with JAXP. An application that does not want compile-time references to the Saxon XQJ implementation can instantiate this class dynamically using the reflection API (class.newInstance()).

    For full Javadoc descriptions of the public methods, see the XQJ specification.

    • Constructor Detail

      • SaxonXQDataSource

        public SaxonXQDataSource()
        Create a SaxonXQDataSource using a default configuration. A schema-aware configuration will be created if Saxon-SA can be loaded from the classpath; otherwise a basic (non-schema-aware) configuration is created
      • SaxonXQDataSource

        public SaxonXQDataSource​(Configuration config)
        Create a Saxon XQDataSource with a specific configuration
        Parameters:
        config - The Saxon configuration to be used