Package net.sf.saxon.query
Class QueryLibrary
java.lang.Object
net.sf.saxon.query.QueryModule
net.sf.saxon.query.QueryLibrary
- All Implemented Interfaces:
StaticContext
- Direct Known Subclasses:
QueryLibraryImpl
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
link
(QueryModule importer) Link this library module to a module that imports itMethods inherited from class net.sf.saxon.query.QueryModule
addImportedModule, addImportedNamespace, addImportedSchema, bindUnboundFunctionCalls, bindUnboundVariables, bindVariable, checkForCircularities, checkURIForPrefix, declareActiveNamespace, declareFunction, declarePrologNamespace, declareVariable, explainGlobalFunctions, fixupGlobalFunctions, fixupGlobalVariables, getAllGlobalVariables, getBuiltInFunctionSet, getCodeInjector, getConfiguration, getConstructionMode, getContainingLocation, getDecimalFormatManager, getDefaultCollationName, getDefaultElementNamespace, getDefaultFunctionNamespace, getExecutable, getForwardReferenceCount, getFunctionLibrary, getGlobalFunctionLibrary, getGlobalStackFrameMap, getImportedFunctionLibrary, getImportedGlobalVariables, getImportedModules, getImportedSchemaNamespaces, getKeyManager, getLiveNamespaceResolver, getLocalFunctionLibrary, getLocationURI, getModuleNamespace, getModuleVariables, getNamespaceResolver, getOptimizerOptions, getPackageData, getRequiredContextItemType, getRevalidationMode, getStaticBaseURI, getSystemId, getTopLevelModule, getUnprefixedElementMatchingPolicy, getUserDefinedFunction, getUserQueryContext, getXPathVersion, importsNamespace, initializeFunctionLibraries, isEmptyLeast, isImportedSchema, isInBackwardsCompatibleMode, isInheritNamespaces, isMainModule, isPreserveBoundarySpace, isPreserveNamespaces, isSchemaAware, issueWarning, isTopLevelModule, isUpdating, makeEarlyEvaluationContext, makeQueryModule, makeRetainedStaticContext, mayImportModule, optimizeGlobalFunctions, reportStaticError, reportStaticError, resolveTypeAlias, setBaseURI, setConstructionMode, setDefaultCollationName, setDefaultElementNamespace, setDefaultFunctionNamespace, setEmptyLeast, setExecutable, setInheritNamespaces, setIsMainModule, setLocationURI, setModuleNamespace, setPackageData, setPreserveBoundarySpace, setPreserveNamespaces, setRevalidationMode, setUnprefixedElementMatchingPolicy, setXPathVersion, typeCheckGlobalVariables, undeclareNamespace
-
Constructor Details
-
QueryLibrary
- Throws:
XPathException
-
-
Method Details
-
link
Link this library module to a module that imports it- Parameters:
importer
- the importing module (a user of the library)- Throws:
XPathException
- if there are errors, for example inconsistencies between the modules
-