public class StaticQueryContextPE extends StaticQueryContext
Constructor and Description |
---|
StaticQueryContextPE(Configuration config)
Create a StaticQueryContext using a given Configuration.
|
StaticQueryContextPE(Configuration config,
boolean initial)
Create the default configuration-level static query context, used as a template for creating
other query contexts
|
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, getCompiledLibrary, getConfiguration, getConstructionMode, getDefaultCollationName, getDefaultElementNamespace, getDefaultFunctionNamespace, getErrorListener, getExternalNamespaceResolver, getLanguageVersion, getModuleURIResolver, getNamePool, getNamespaceForPrefix, getRequiredContextItemType, getSystemId, getUserDeclaredNamespaces, isCompileWithTracing, isEmptyLeast, isInheritNamespaces, isPreserveBoundarySpace, isPreserveNamespaces, isSchemaAware, isStreaming, isUpdating, isUpdatingEnabled, iterateDeclaredGlobalVariables, iterateDeclaredPrefixes, makeExecutable, reset, setBaseURI, setCodeInjector, setCompileWithTracing, setConfiguration, setConstructionMode, setDefaultElementNamespace, setDefaultFunctionNamespace, setEmptyLeast, setErrorListener, setExternalNamespaceResolver, setInheritNamespaces, setLanguageVersion, setModuleURIResolver, setPreserveBoundarySpace, setPreserveNamespaces, setRequiredContextItemType, setSchemaAware, setStreaming, setUpdatingEnabled
public StaticQueryContextPE(Configuration config)
config
- the Saxon Configurationpublic StaticQueryContextPE(Configuration config, boolean initial)
config
- the configurationinitial
- true if creating the default static query contextpublic 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-2014 Saxonica Limited. All rights reserved.