public class StaticQueryContextPE extends StaticQueryContext
Constructor and Description |
---|
StaticQueryContextPE(Configuration config)
Create a StaticQueryContext using a given Configuration.
|
StaticQueryContextPE(ProfessionalConfiguration config,
boolean initialize) |
Modifier and Type | Method and Description |
---|---|
FunctionLibrary |
getExtensionFunctionLibrary()
Get any function library that was previously set using
setExtensionFunctionLibrary(net.sf.saxon.functions.FunctionLibrary) . |
void |
setExtensionFunctionLibrary(FunctionLibrary library)
Set a library of extension functions.
|
buildDocument, clearDeclaredGlobalVariables, clearNamespaces, compileLibrary, compileLibrary, compileLibrary, compileQuery, compileQuery, compileQuery, copyFrom, declareCollation, declareCollation, declareDefaultCollation, declareGlobalVariable, declareNamespace, getBaseURI, getCodeInjector, getCollation, getCompiledLibraries, getCompiledLibrary, getConfiguration, getConstructionMode, getDefaultCollationName, getDefaultElementNamespace, getDefaultFunctionNamespace, getErrorListener, getExternalNamespaceResolver, getLanguageVersion, getModuleLocation, getModuleURIResolver, getNamePool, getNamespaceForPrefix, getOptimizerOptions, getRequiredContextItemType, getSystemId, getUserDeclaredNamespaces, isCompileWithTracing, isEmptyLeast, isInheritNamespaces, isPreserveBoundarySpace, isPreserveNamespaces, isSchemaAware, isStreaming, isUpdating, isUpdatingEnabled, iterateDeclaredGlobalVariables, iterateDeclaredPrefixes, makeDefaultStaticQueryContext, makeExecutable, reset, setBaseURI, setCodeInjector, setCompileWithTracing, setConfiguration, setConstructionMode, setDefaultElementNamespace, setDefaultFunctionNamespace, setEmptyLeast, setErrorListener, setExternalNamespaceResolver, setInheritNamespaces, setLanguageVersion, setModuleLocation, setModuleURIResolver, setOptimizerOptions, setPreserveBoundarySpace, setPreserveNamespaces, setRequiredContextItemType, setSchemaAware, setStreaming, setUpdatingEnabled
public StaticQueryContextPE(Configuration config)
config
- the Saxon Configurationpublic StaticQueryContextPE(ProfessionalConfiguration config, boolean initialize)
public void setExtensionFunctionLibrary(FunctionLibrary library)
library
- the function library to be added (replacing any that has previously been set).
May be null to clear a previously-set librarypublic FunctionLibrary getExtensionFunctionLibrary()
setExtensionFunctionLibrary(net.sf.saxon.functions.FunctionLibrary)
.getExtensionFunctionLibrary
in class StaticQueryContext
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.