public class StaticQueryContextFactory
extends java.lang.Object
| Constructor and Description |
|---|
StaticQueryContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
StaticQueryContext |
newStaticQueryContext(Configuration config,
boolean copyFromDefault)
Create a new instance of
StaticQueryContext. |
public StaticQueryContext newStaticQueryContext(Configuration config, boolean copyFromDefault)
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 StaticQueryContextconfig - the configurationcopyFromDefault - true if the properties of the new static query context object
are to be copied from the default query context object held
in the ConfigurationStaticQueryContext instanceCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.