public class StaticQueryContextFactory
extends java.lang.Object
Constructor and Description |
---|
StaticQueryContextFactory() |
Modifier and Type | Method and Description |
---|---|
StaticQueryContext |
newStaticQueryContext(Configuration config)
Create a new instance of
StaticQueryContext . |
public StaticQueryContext newStaticQueryContext(Configuration config)
StaticQueryContext
. The default implementation
creates a new StaticQueryContext
as a copy of the Configuration
's
default static query context. User implementations are encouraged to do the same,
but this is not mandatory. If the Configuration
's default static query context
is ignored, then configuration settings specific to XQuery (construction mode,
default element namespace, default function namespace, etc) are ignored for
queries created under this StaticQueryContext
config
- the configurationStaticQueryContext
instanceCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.