net.sf.saxon.query

Class QueryLibrary

public abstract class QueryLibrary extends QueryModule

A QueryLibrary represents an independently compiled set of query modules that does not include a main module. Such a library can be compiled once, and then linked to different main modules without recompilation. The library contains one top-level module (itself a library module) together with the tree of modules that it imports; it is identified by the module URI of the top-level module.

This is an abstract class; the concrete implementation is in Saxon-EE.

Constructor Summary
QueryLibrary(StaticQueryContext sqc)
Method Summary
abstract voidlink(QueryModule importer)
Link this library module to a module that imports it

Constructor Detail

QueryLibrary

public QueryLibrary(StaticQueryContext sqc)

Method Detail

link

public abstract void link(QueryModule importer)
Link this library module to a module that imports it

Parameters: importer the importing module (a user of the library)