Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > b3bdfe6d859a3d6920ff2c44b38e9a6f > files > 2401

saxon-manual-9.4.0.9-2.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Fri Dec 09 20:48:25 GMT 2011 -->
<TITLE>
StaticQueryContext
</TITLE>

<META NAME="date" CONTENT="2011-12-09">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="StaticQueryContext";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../net/sf/saxon/query/SequenceWrapper.html" title="class in net.sf.saxon.query"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../net/sf/saxon/query/UnboundFunctionLibrary.html" title="class in net.sf.saxon.query"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?net/sf/saxon/query/StaticQueryContext.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="StaticQueryContext.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
net.sf.saxon.query</FONT>
<BR>
Class StaticQueryContext</H2>
<PRE>
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.saxon.query.StaticQueryContext</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/saxonica/expr/StaticQueryContextPE.html" title="class in com.saxonica.expr">StaticQueryContextPE</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>StaticQueryContext</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
</PRE>

<P>
StaticQueryContext contains information used to build a StaticContext for use when processing XQuery
 expressions.

 <p>Despite its name, <code>StaticQueryContext</code> no longer implements the <code>StaticContext</code>
 interface, which means it cannot be used directly by Saxon when parsing a query. Instead it is first copied
 to create a <code>QueryModule</code> object, which does implement the <code>StaticContext</code> interface.

 <p>The application constructs a StaticQueryContext
 and initializes it with information about the context, for example, default namespaces, base URI, and so on.
 When a query is compiled using this StaticQueryContext, the query parser makes a copy of the StaticQueryContext
 and uses this internally, modifying it with information obtained from the query prolog, as well as information
 such as namespace and variable declarations that can occur at any point in the query. The query parser does
 not modify the original StaticQueryContext supplied by the calling application, which may therefore be used
 for compiling multiple queries, serially or even in multiple threads.</p>

 <p>This class forms part of Saxon's published XQuery API. Methods that
 are considered stable are labelled with the JavaDoc "since" tag.
 The value 8.4 indicates a method introduced at or before Saxon 8.4; other
 values indicate the version at which the method was introduced.</p>

 <p>In the longer term, this entire API may at some stage be superseded by a proposed
 standard Java API for XQuery.</p>
<P>

<P>
<DL>
<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
<HR>

<P>

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#StaticQueryContext()">StaticQueryContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Private constructor used when copying a context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#StaticQueryContext(net.sf.saxon.Configuration)">StaticQueryContext</A></B>(<A HREF="../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A>&nbsp;config)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>since 9.2. Use config.newStaticQueryContext(). This will create a StaticQueryContext with
 capabilities appropriate to the configuration (for example, offering XQuery 1.1 support).</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#StaticQueryContext(net.sf.saxon.Configuration, boolean)">StaticQueryContext</A></B>(<A HREF="../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A>&nbsp;config,
                   boolean&nbsp;initial)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a StaticQueryContext using a given Configuration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#StaticQueryContext(net.sf.saxon.query.StaticQueryContext)">StaticQueryContext</A></B>(<A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html" title="class in net.sf.saxon.query">StaticQueryContext</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a copy of a supplied StaticQueryContext</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/om/DocumentInfo.html" title="interface in net.sf.saxon.om">DocumentInfo</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#buildDocument(javax.xml.transform.Source)">buildDocument</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform">Source</A>&nbsp;source)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>since 9.2: use <A HREF="../../../../net/sf/saxon/Configuration.html#buildDocument(javax.xml.transform.Source)"><CODE>Configuration.buildDocument(javax.xml.transform.Source)</CODE></A></I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#clearDeclaredGlobalVariables()">clearDeclaredGlobalVariables</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clear all declared global variables</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#clearNamespaces()">clearNamespaces</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clear all the user-declared namespaces</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#clearPassiveNamespaces()">clearPassiveNamespaces</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>since 9.0 - use <A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#clearNamespaces()"><CODE>clearNamespaces()</CODE></A></I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#compileLibrary(java.io.InputStream, java.lang.String)">compileLibrary</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;source,
               <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prepare an XQuery library module for subsequent evaluation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#compileLibrary(java.io.Reader)">compileLibrary</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;source)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prepare an XQuery library module for subsequent evaluation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#compileLibrary(java.lang.String)">compileLibrary</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;query)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile an XQuery library module for subsequent evaluation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/query/XQueryExpression.html" title="class in net.sf.saxon.query">XQueryExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#compileQuery(java.io.InputStream, java.lang.String)">compileQuery</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;source,
             <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prepare an XQuery query for subsequent evaluation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/query/XQueryExpression.html" title="class in net.sf.saxon.query">XQueryExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#compileQuery(java.io.Reader)">compileQuery</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;source)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prepare an XQuery query for subsequent evaluation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/query/XQueryExpression.html" title="class in net.sf.saxon.query">XQueryExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#compileQuery(java.lang.String)">compileQuery</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;query)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prepare an XQuery query for subsequent evaluation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#declareCollation(java.lang.String, java.util.Comparator)">declareCollation</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
                 <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</A>&nbsp;comparator)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Declare a named collation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#declareCollation(java.lang.String, net.sf.saxon.lib.StringCollator)">declareCollation</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
                 <A HREF="../../../../net/sf/saxon/lib/StringCollator.html" title="interface in net.sf.saxon.lib">StringCollator</A>&nbsp;comparator)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Declare a named collation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#declareDefaultCollation(java.lang.String)">declareDefaultCollation</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the default collation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#declareGlobalVariable(net.sf.saxon.om.StructuredQName, net.sf.saxon.value.SequenceType, net.sf.saxon.om.ValueRepresentation, boolean)">declareGlobalVariable</A></B>(<A HREF="../../../../net/sf/saxon/om/StructuredQName.html" title="class in net.sf.saxon.om">StructuredQName</A>&nbsp;qName,
                      <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A>&nbsp;type,
                      <A HREF="../../../../net/sf/saxon/om/ValueRepresentation.html" title="interface in net.sf.saxon.om">ValueRepresentation</A>&nbsp;value,
                      boolean&nbsp;external)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Declare a global variable.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#declareNamespace(java.lang.String, java.lang.String)">declareNamespace</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix,
                 <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;uri)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Declare a namespace whose prefix can be used in expressions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#declarePassiveNamespace(java.lang.String, java.lang.String, boolean)">declarePassiveNamespace</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix,
                        <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;uri,
                        boolean&nbsp;explicit)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>since 9.0. Use <A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#declareNamespace(java.lang.String, java.lang.String)"><CODE>declareNamespace(java.lang.String, java.lang.String)</CODE></A></I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/expr/CollationMap.html" title="class in net.sf.saxon.expr">CollationMap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getAllCollations()">getAllCollations</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a CollationMap that maps all registered collations to Comparators.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getBaseURI()">getBaseURI</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the Base URI of the query, for resolving any relative URI's used
 in the expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/expr/parser/CodeInjector.html" title="interface in net.sf.saxon.expr.parser">CodeInjector</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getCodeInjector()">getCodeInjector</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get any CodeInjector that has been registered</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/lib/StringCollator.html" title="interface in net.sf.saxon.lib">StringCollator</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getCollation(java.lang.String)">getCollation</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a named collation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/expr/CollationMap.html" title="class in net.sf.saxon.expr">CollationMap</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getCollationMap()">getCollationMap</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the collation map</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/query/QueryLibrary.html" title="class in net.sf.saxon.query">QueryLibrary</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getCompiledLibrary(java.lang.String)">getCompiledLibrary</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;namespace)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a previously compiled library module</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getConfiguration()">getConfiguration</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the Configuration options</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getConstructionMode()">getConstructionMode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current construction mode</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getDefaultCollationName()">getDefaultCollationName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the name of the default collation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getDefaultElementNamespace()">getDefaultElementNamespace</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the default namespace for elements and types</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getDefaultFunctionNamespace()">getDefaultFunctionNamespace</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the default function namespace</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/ErrorListener.html?is-external=true" title="class or interface in javax.xml.transform">ErrorListener</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getErrorListener()">getErrorListener</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the ErrorListener in use for this static context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/expr/instruct/Executable.html" title="class in net.sf.saxon.expr.instruct">Executable</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getExecutable()">getExecutable</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the executable containing this query</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/functions/FunctionLibrary.html" title="interface in net.sf.saxon.functions">FunctionLibrary</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getExtensionFunctionLibrary()">getExtensionFunctionLibrary</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get any extension function library that was previously set.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getExternalNamespaceResolver()">getExternalNamespaceResolver</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the external namespace resolver that has been registered using
 setExternalNamespaceResolver(), if any.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/value/DecimalValue.html" title="class in net.sf.saxon.value">DecimalValue</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getLanguageVersion()">getLanguageVersion</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the language version</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/lib/ModuleURIResolver.html" title="interface in net.sf.saxon.lib">ModuleURIResolver</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getModuleURIResolver()">getModuleURIResolver</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the user-defined ModuleURIResolver for resolving URIs used in "import module"
 declarations in the XQuery prolog; returns null if none has been explicitly set either
 on the StaticQueryContext or on the Configuration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/om/NamePool.html" title="class in net.sf.saxon.om">NamePool</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getNamePool()">getNamePool</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the NamePool used for compiling expressions</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getNamespaceForPrefix(java.lang.String)">getNamespaceForPrefix</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the namespace URI for a given prefix, which must have been declared using the method
 <A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#declareNamespace(java.lang.String, java.lang.String)"><CODE>declareNamespace(java.lang.String, java.lang.String)</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getRequiredContextItemType()">getRequiredContextItemType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the required type of the context item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getSystemId()">getSystemId</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the system ID of the container of the expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#getUserDeclaredNamespaces()">getUserDeclaredNamespaces</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the map of user-declared namespaces</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#isCompileWithTracing()">isCompileWithTracing</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ask whether compile-time generation of trace code was requested</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#isEmptyLeast()">isEmptyLeast</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ask where an empty sequence should appear in the collation order, if not otherwise
 specified in the "order by" clause</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#isGeneratingJavaCode()">isGeneratingJavaCode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ask whether this query is to be optimized with a view to generating Java code.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#isInheritNamespaces()">isInheritNamespaces</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the namespace inheritance mode</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#isPreserveBoundarySpace()">isPreserveBoundarySpace</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ask whether the policy for boundary space is "preserve" or "strip"</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#isPreserveNamespaces()">isPreserveNamespaces</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the namespace copy mode</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#isSchemaAware()">isSchemaAware</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ask whether this query is schema-aware</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#isUpdating()">isUpdating</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ask whether XQuery Update is allowed</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#isUpdatingEnabled()">isUpdatingEnabled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ask whether the query is allowed to be updating</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#iterateDeclaredGlobalVariables()">iterateDeclaredGlobalVariables</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Iterate over all the declared global variables</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#iterateDeclaredPrefixes()">iterateDeclaredPrefixes</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the namespace prefixes that have been declared using the method <A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#declareNamespace(java.lang.String, java.lang.String)"><CODE>declareNamespace(java.lang.String, java.lang.String)</CODE></A></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#reset()">reset</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reset the state of this StaticQueryContext to an uninitialized state</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setBaseURI(java.lang.String)">setBaseURI</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;baseURI)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the Base URI of the query</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setCodeInjector(net.sf.saxon.expr.parser.CodeInjector)">setCodeInjector</A></B>(<A HREF="../../../../net/sf/saxon/expr/parser/CodeInjector.html" title="interface in net.sf.saxon.expr.parser">CodeInjector</A>&nbsp;injector)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Request that the parser should insert custom code into the expression tree
 by calling a supplied CodeInjector to process each expression as it is parsed,
 for example for tracing or performance measurement</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setCompileWithTracing(boolean)">setCompileWithTracing</A></B>(boolean&nbsp;trace)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Request compile-time generation of trace code (or not)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setConfiguration(net.sf.saxon.Configuration)">setConfiguration</A></B>(<A HREF="../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A>&nbsp;config)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the Configuration options</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setConstructionMode(int)">setConstructionMode</A></B>(int&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the construction mode for this module</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setDefaultElementNamespace(java.lang.String)">setDefaultElementNamespace</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;uri)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the default element namespace</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setDefaultFunctionNamespace(java.lang.String)">setDefaultFunctionNamespace</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;defaultFunctionNamespace)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the default function namespace</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setEmptyLeast(boolean)">setEmptyLeast</A></B>(boolean&nbsp;least)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the option for where an empty sequence appears in the collation order, if not otherwise
 specified in the "order by" clause</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setErrorListener(javax.xml.transform.ErrorListener)">setErrorListener</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/ErrorListener.html?is-external=true" title="class or interface in javax.xml.transform">ErrorListener</A>&nbsp;listener)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the ErrorListener to be used to report compile-time errors in a query.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setExternalNamespaceResolver(net.sf.saxon.om.NamespaceResolver)">setExternalNamespaceResolver</A></B>(<A HREF="../../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A>&nbsp;resolver)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set an external namespace resolver.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setGeneratingJavaCode(boolean)">setGeneratingJavaCode</A></B>(boolean&nbsp;generateCode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate that the query should be optimized with a view to generating Java code.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setInheritNamespaces(boolean)">setInheritNamespaces</A></B>(boolean&nbsp;inherit)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the namespace inheritance mode</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setLanguageVersion(net.sf.saxon.value.DecimalValue)">setLanguageVersion</A></B>(<A HREF="../../../../net/sf/saxon/value/DecimalValue.html" title="class in net.sf.saxon.value">DecimalValue</A>&nbsp;version)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the language version.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setModuleURIResolver(net.sf.saxon.lib.ModuleURIResolver)">setModuleURIResolver</A></B>(<A HREF="../../../../net/sf/saxon/lib/ModuleURIResolver.html" title="interface in net.sf.saxon.lib">ModuleURIResolver</A>&nbsp;resolver)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a user-defined ModuleURIResolver for resolving URIs used in "import module"
 declarations in the XQuery prolog.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setPreserveBoundarySpace(boolean)">setPreserveBoundarySpace</A></B>(boolean&nbsp;preserve)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the policy for preserving boundary space</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setPreserveNamespaces(boolean)">setPreserveNamespaces</A></B>(boolean&nbsp;inherit)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the namespace copy mode</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setRequiredContextItemType(net.sf.saxon.type.ItemType)">setRequiredContextItemType</A></B>(<A HREF="../../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A>&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Declare the static type of the context item.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setSchemaAware(boolean)">setSchemaAware</A></B>(boolean&nbsp;aware)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Say whether this query is schema-aware</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#setUpdatingEnabled(boolean)">setUpdatingEnabled</A></B>(boolean&nbsp;updating)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Say whether the query is allowed to be updating.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="StaticQueryContext()"><!-- --></A><H3>
StaticQueryContext</H3>
<PRE>
protected <B>StaticQueryContext</B>()</PRE>
<DL>
<DD>Private constructor used when copying a context
<P>
</DL>
<HR>

<A NAME="StaticQueryContext(net.sf.saxon.Configuration)"><!-- --></A><H3>
StaticQueryContext</H3>
<PRE>
public <B>StaticQueryContext</B>(<A HREF="../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A>&nbsp;config)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>since 9.2. Use config.newStaticQueryContext(). This will create a StaticQueryContext with
 capabilities appropriate to the configuration (for example, offering XQuery 1.1 support).</I>
<P>
<DD>Create a StaticQueryContext using a given Configuration. This creates a StaticQueryContext for a main module
 (that is, a module that is not a library module).
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - the Saxon Configuration<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DL>
<HR>

<A NAME="StaticQueryContext(net.sf.saxon.Configuration, boolean)"><!-- --></A><H3>
StaticQueryContext</H3>
<PRE>
public <B>StaticQueryContext</B>(<A HREF="../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A>&nbsp;config,
                          boolean&nbsp;initial)</PRE>
<DL>
<DD>Create a StaticQueryContext using a given Configuration. This creates a StaticQueryContext for a main module
 (that is, a module that is not a library module).

 <p>This method is primarily for internal use. The recommended way to create a StaticQueryContext is by
 using the factory method Configuration.newStaticQueryContext().</p>
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - the Saxon Configuration<DD><CODE>initial</CODE> - if set, this is the StaticQueryContext owned by the Configuration</DL>
</DL>
<HR>

<A NAME="StaticQueryContext(net.sf.saxon.query.StaticQueryContext)"><!-- --></A><H3>
StaticQueryContext</H3>
<PRE>
public <B>StaticQueryContext</B>(<A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html" title="class in net.sf.saxon.query">StaticQueryContext</A>&nbsp;c)</PRE>
<DL>
<DD>Create a copy of a supplied StaticQueryContext
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the StaticQueryContext to be copied</DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="reset()"><!-- --></A><H3>
reset</H3>
<PRE>
public void <B>reset</B>()</PRE>
<DL>
<DD>Reset the state of this StaticQueryContext to an uninitialized state
<P>
<DD><DL>
<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="setConfiguration(net.sf.saxon.Configuration)"><!-- --></A><H3>
setConfiguration</H3>
<PRE>
public void <B>setConfiguration</B>(<A HREF="../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A>&nbsp;config)</PRE>
<DL>
<DD>Set the Configuration options
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - the Saxon Configuration
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the configuration supplied is different from the existing
                                  configuration<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getConfiguration()"><!-- --></A><H3>
getConfiguration</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A> <B>getConfiguration</B>()</PRE>
<DL>
<DD>Get the Configuration options
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the Saxon configuration<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getExecutable()"><!-- --></A><H3>
getExecutable</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/expr/instruct/Executable.html" title="class in net.sf.saxon.expr.instruct">Executable</A> <B>getExecutable</B>()</PRE>
<DL>
<DD>Get the executable containing this query
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the executable (which is newly created by this method)</DL>
</DD>
</DL>
<HR>

<A NAME="setSchemaAware(boolean)"><!-- --></A><H3>
setSchemaAware</H3>
<PRE>
public void <B>setSchemaAware</B>(boolean&nbsp;aware)</PRE>
<DL>
<DD>Say whether this query is schema-aware
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aware</CODE> - true if this query is schema-aware<DT><B>Since:</B></DT>
  <DD>9.2.1.2</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="isSchemaAware()"><!-- --></A><H3>
isSchemaAware</H3>
<PRE>
public boolean <B>isSchemaAware</B>()</PRE>
<DL>
<DD>Ask whether this query is schema-aware
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true if this query is schema-aware<DT><B>Since:</B></DT>
  <DD>9.2.1.2</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="setBaseURI(java.lang.String)"><!-- --></A><H3>
setBaseURI</H3>
<PRE>
public void <B>setBaseURI</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;baseURI)</PRE>
<DL>
<DD>Set the Base URI of the query
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>baseURI</CODE> - the base URI of the query<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="buildDocument(javax.xml.transform.Source)"><!-- --></A><H3>
buildDocument</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/om/DocumentInfo.html" title="interface in net.sf.saxon.om">DocumentInfo</A> <B>buildDocument</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform">Source</A>&nbsp;source)
                           throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>since 9.2: use <A HREF="../../../../net/sf/saxon/Configuration.html#buildDocument(javax.xml.transform.Source)"><CODE>Configuration.buildDocument(javax.xml.transform.Source)</CODE></A></I>
<P>
<DD>Convenience method for building Saxon's internal representation of a source XML
 document. The document will be built using Configuration (and NamePool) associated
 with this StaticQueryContext.

 <p>This method is retained for backwards compatibility; however, it is merely a wrapper
 around the method <A HREF="../../../../net/sf/saxon/Configuration.html#buildDocument(javax.xml.transform.Source)"><CODE>Configuration.buildDocument(javax.xml.transform.Source)</CODE></A>, which should be called in preference.</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - Any javax.xml.transform.Source object representing the document against
               which queries will be executed. Note that a Saxon <A HREF="../../../../net/sf/saxon/om/DocumentInfo.html" title="interface in net.sf.saxon.om"><CODE>DocumentInfo</CODE></A>
               (indeed any <A HREF="../../../../net/sf/saxon/om/NodeInfo.html" title="interface in net.sf.saxon.om"><CODE>NodeInfo</CODE></A>)
               can be used as a Source. To use a third-party DOM Document as a source, create an instance of
               <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/dom/DOMSource.html?is-external=true" title="class or interface in javax.xml.transform.dom"><CODE>DOMSource</CODE></A> to wrap it.
               <p>For additional control over the way in which the source document is processed,
               supply an <A HREF="../../../../net/sf/saxon/lib/AugmentedSource.html" title="class in net.sf.saxon.lib"><CODE>AugmentedSource</CODE></A> object and set appropriate
               options on the object.</p>
<DT><B>Returns:</B><DD>the DocumentInfo representing the root node of the resulting document object.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE><DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="setLanguageVersion(net.sf.saxon.value.DecimalValue)"><!-- --></A><H3>
setLanguageVersion</H3>
<PRE>
public void <B>setLanguageVersion</B>(<A HREF="../../../../net/sf/saxon/value/DecimalValue.html" title="class in net.sf.saxon.value">DecimalValue</A>&nbsp;version)</PRE>
<DL>
<DD>Set the language version.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>version</CODE> - The XQuery language version. Must be "1.0" or "3.0" (the value 1.1 is also
 accepted temporarily).
 Note that XQuery 3.0 language features cannot be used with XQuery Updates. The Query
 Prolog must also specify version="3.0".<DT><B>Since:</B></DT>
  <DD>9.2; changed in 9.3 to expect a DecimalValue rather than a string</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getLanguageVersion()"><!-- --></A><H3>
getLanguageVersion</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/value/DecimalValue.html" title="class in net.sf.saxon.value">DecimalValue</A> <B>getLanguageVersion</B>()</PRE>
<DL>
<DD>Get the language version
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the language version. Either "1.0" or "1.1". Default is "1.0".<DT><B>Since:</B></DT>
  <DD>9.2; changed in 9.3 to return a DecimalValue rather than a string.</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getExtensionFunctionLibrary()"><!-- --></A><H3>
getExtensionFunctionLibrary</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/functions/FunctionLibrary.html" title="interface in net.sf.saxon.functions">FunctionLibrary</A> <B>getExtensionFunctionLibrary</B>()</PRE>
<DL>
<DD>Get any extension function library that was previously set.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the extension function library, or null if none has been set. The result will always be null if called
 in Saxon-HE; setting an extension function library requires the Saxon-PE or Saxon-EE versions of this class.<DT><B>Since:</B></DT>
  <DD>9.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="isCompileWithTracing()"><!-- --></A><H3>
isCompileWithTracing</H3>
<PRE>
public boolean <B>isCompileWithTracing</B>()</PRE>
<DL>
<DD>Ask whether compile-time generation of trace code was requested
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true if compile-time generation of code was requested<DT><B>Since:</B></DT>
  <DD>9.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="setCompileWithTracing(boolean)"><!-- --></A><H3>
setCompileWithTracing</H3>
<PRE>
public void <B>setCompileWithTracing</B>(boolean&nbsp;trace)</PRE>
<DL>
<DD>Request compile-time generation of trace code (or not)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>trace</CODE> - true if compile-time generation of trace code is required<DT><B>Since:</B></DT>
  <DD>9.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="setCodeInjector(net.sf.saxon.expr.parser.CodeInjector)"><!-- --></A><H3>
setCodeInjector</H3>
<PRE>
public void <B>setCodeInjector</B>(<A HREF="../../../../net/sf/saxon/expr/parser/CodeInjector.html" title="interface in net.sf.saxon.expr.parser">CodeInjector</A>&nbsp;injector)</PRE>
<DL>
<DD>Request that the parser should insert custom code into the expression tree
 by calling a supplied CodeInjector to process each expression as it is parsed,
 for example for tracing or performance measurement
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>injector</CODE> - the CodeInjector to be used. May be null, in which case
 no code is injected<DT><B>Since:</B></DT>
  <DD>9.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getCodeInjector()"><!-- --></A><H3>
getCodeInjector</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/expr/parser/CodeInjector.html" title="interface in net.sf.saxon.expr.parser">CodeInjector</A> <B>getCodeInjector</B>()</PRE>
<DL>
<DD>Get any CodeInjector that has been registered
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the registered CodeInjector, or null<DT><B>Since:</B></DT>
  <DD>9.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="isUpdating()"><!-- --></A><H3>
isUpdating</H3>
<PRE>
public boolean <B>isUpdating</B>()</PRE>
<DL>
<DD>Ask whether XQuery Update is allowed
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setGeneratingJavaCode(boolean)"><!-- --></A><H3>
setGeneratingJavaCode</H3>
<PRE>
public void <B>setGeneratingJavaCode</B>(boolean&nbsp;generateCode)</PRE>
<DL>
<DD>Indicate that the query should be optimized with a view to generating Java code.
 This inhibits some rewrites to constructs for which code generation is not possible.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>generateCode</CODE> - true if Java code is to be generated as the final output</DL>
</DD>
</DL>
<HR>

<A NAME="isGeneratingJavaCode()"><!-- --></A><H3>
isGeneratingJavaCode</H3>
<PRE>
public boolean <B>isGeneratingJavaCode</B>()</PRE>
<DL>
<DD>Ask whether this query is to be optimized with a view to generating Java code.
 This inhibits some rewrites to constructs for which code generation is not possible.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true if Java code is to be generated as the final output</DL>
</DD>
</DL>
<HR>

<A NAME="setInheritNamespaces(boolean)"><!-- --></A><H3>
setInheritNamespaces</H3>
<PRE>
public void <B>setInheritNamespaces</B>(boolean&nbsp;inherit)</PRE>
<DL>
<DD>Set the namespace inheritance mode
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>inherit</CODE> - true if namespaces are inherited, false if not<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="isInheritNamespaces()"><!-- --></A><H3>
isInheritNamespaces</H3>
<PRE>
public boolean <B>isInheritNamespaces</B>()</PRE>
<DL>
<DD>Get the namespace inheritance mode
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true if namespaces are inherited, false if not<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="setPreserveNamespaces(boolean)"><!-- --></A><H3>
setPreserveNamespaces</H3>
<PRE>
public void <B>setPreserveNamespaces</B>(boolean&nbsp;inherit)</PRE>
<DL>
<DD>Set the namespace copy mode
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>inherit</CODE> - true if namespaces are preserved, false if not<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="isPreserveNamespaces()"><!-- --></A><H3>
isPreserveNamespaces</H3>
<PRE>
public boolean <B>isPreserveNamespaces</B>()</PRE>
<DL>
<DD>Get the namespace copy mode
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true if namespaces are preserved, false if not<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="setConstructionMode(int)"><!-- --></A><H3>
setConstructionMode</H3>
<PRE>
public void <B>setConstructionMode</B>(int&nbsp;mode)</PRE>
<DL>
<DD>Set the construction mode for this module
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>mode</CODE> - one of <A HREF="../../../../net/sf/saxon/lib/Validation.html#STRIP"><CODE>Validation.STRIP</CODE></A>, <A HREF="../../../../net/sf/saxon/lib/Validation.html#PRESERVE"><CODE>Validation.PRESERVE</CODE></A><DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getConstructionMode()"><!-- --></A><H3>
getConstructionMode</H3>
<PRE>
public int <B>getConstructionMode</B>()</PRE>
<DL>
<DD>Get the current construction mode
<P>
<DD><DL>

<DT><B>Returns:</B><DD>one of <A HREF="../../../../net/sf/saxon/lib/Validation.html#STRIP"><CODE>Validation.STRIP</CODE></A>, <A HREF="../../../../net/sf/saxon/lib/Validation.html#PRESERVE"><CODE>Validation.PRESERVE</CODE></A><DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="compileQuery(java.lang.String)"><!-- --></A><H3>
compileQuery</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/query/XQueryExpression.html" title="class in net.sf.saxon.query">XQueryExpression</A> <B>compileQuery</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;query)
                              throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Prepare an XQuery query for subsequent evaluation. The source text of the query
 is supplied as a String. The base URI of the query is taken from the static context,
 and defaults to the current working directory.

 <p>Note that this interface makes the caller responsible for decoding the query and
 presenting it as a string of characters. This means it is likely that any encoding
 specified in the query prolog will be ignored.</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>query</CODE> - The XQuery query to be evaluated, supplied as a string.
<DT><B>Returns:</B><DD>an XQueryExpression object representing the prepared expression
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - if the syntax of the expression is wrong,
          or if it references namespaces, variables, or functions that have not been declared,
          or contains other static errors.<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="compileQuery(java.io.Reader)"><!-- --></A><H3>
compileQuery</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/query/XQueryExpression.html" title="class in net.sf.saxon.query">XQueryExpression</A> <B>compileQuery</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;source)
                              throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A>,
                                     <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>Prepare an XQuery query for subsequent evaluation. The Query is supplied
 in the form of a Reader. The base URI of the query is taken from the static context,
 and defaults to the current working directory.

 <p>Note that this interface makes the Reader responsible for decoding the query and
 presenting it as a stream of characters. This means it is likely that any encoding
 specified in the query prolog will be ignored. Also, some implementations of Reader
 cannot handle a byte order mark.</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - A Reader giving access to the text of the XQuery query to be compiled.
<DT><B>Returns:</B><DD>an XPathExpression object representing the prepared expression.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - if the syntax of the expression is wrong, or if it references namespaces,
                             variables, or functions that have not been declared, or any other static error is reported.
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - if a failure occurs reading the supplied input.<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="compileQuery(java.io.InputStream, java.lang.String)"><!-- --></A><H3>
compileQuery</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/query/XQueryExpression.html" title="class in net.sf.saxon.query">XQueryExpression</A> <B>compileQuery</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;source,
                                     <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)
                              throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A>,
                                     <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>Prepare an XQuery query for subsequent evaluation. The Query is supplied
 in the form of a InputStream, with an optional encoding. If the encoding is not specified,
 the query parser attempts to obtain the encoding by inspecting the input stream: it looks specifically
 for a byte order mark, and for the encoding option in the version declaration of an XQuery prolog.
 The encoding defaults to UTF-8.
 The base URI of the query is taken from the static context,
 and defaults to the current working directory.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - An InputStream giving access to the text of the XQuery query to be compiled, as a stream
                 of octets<DD><CODE>encoding</CODE> - The encoding used to translate characters to octets in the query source. The parameter
                 may be null: in this case the query parser attempts to infer the encoding by inspecting the source,
                 and if that fails, it assumes UTF-8 encoding
<DT><B>Returns:</B><DD>an XPathExpression object representing the prepared expression.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - if the syntax of the expression is wrong, or if it references namespaces,
                             variables, or functions that have not been declared, or any other static error is reported.
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - if a failure occurs reading the supplied input.<DT><B>Since:</B></DT>
  <DD>8.5</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="compileLibrary(java.lang.String)"><!-- --></A><H3>
compileLibrary</H3>
<PRE>
public void <B>compileLibrary</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;query)
                    throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Compile an XQuery library module for subsequent evaluation. This method is supported
 only in Saxon-EE
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE><DT><B>Since:</B></DT>
  <DD>9.2 (changed in 9.3 to return void)</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="compileLibrary(java.io.Reader)"><!-- --></A><H3>
compileLibrary</H3>
<PRE>
public void <B>compileLibrary</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;source)
                    throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A>,
                           <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>Prepare an XQuery library module for subsequent evaluation. This method is supported
 only in Saxon-EE. The effect of the method is that subsequent query compilations using this static
 context can import the module URI without specifying a location hint; the import then takes effect
 without requiring the module to be compiled each time it is imported.
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE><DT><B>Since:</B></DT>
  <DD>9.2 (changed in 9.3 to return void)</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="compileLibrary(java.io.InputStream, java.lang.String)"><!-- --></A><H3>
compileLibrary</H3>
<PRE>
public void <B>compileLibrary</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;source,
                           <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;encoding)
                    throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A>,
                           <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>Prepare an XQuery library module for subsequent evaluation. This method is supported
 only in Saxon-EE. The effect of the method is that subsequent query compilations using this static
 context can import the module URI without specifying a location hint; the import then takes effect
 without requiring the module to be compiled each time it is imported.
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE><DT><B>Since:</B></DT>
  <DD>9.2 (changed in 9.3 to return void)</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getCompiledLibrary(java.lang.String)"><!-- --></A><H3>
getCompiledLibrary</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/query/QueryLibrary.html" title="class in net.sf.saxon.query">QueryLibrary</A> <B>getCompiledLibrary</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;namespace)</PRE>
<DL>
<DD>Get a previously compiled library module
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>namespace</CODE> - the module namespace
<DT><B>Returns:</B><DD>the QueryLibrary if a module with this namespace has been compiled as a library module;
 otherwise null. Always null when not using Saxon-EE.<DT><B>Since:</B></DT>
  <DD>9.3</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="declareNamespace(java.lang.String, java.lang.String)"><!-- --></A><H3>
declareNamespace</H3>
<PRE>
public void <B>declareNamespace</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix,
                             <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;uri)</PRE>
<DL>
<DD>Declare a namespace whose prefix can be used in expressions. This is
 equivalent to declaring a prefix in the Query prolog.
 Any namespace declared in the Query prolog overrides a namespace declared using
 this API.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The namespace prefix. Must not be null. Setting this to "" means that the
                 namespace will be used as the default namespace for elements and types.<DD><CODE>uri</CODE> - The namespace URI. Must not be null. The value "" (zero-length string) is used
                 to undeclare a namespace; it is not an error if there is no existing binding for
                 the namespace prefix.
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if either the prefix or URI is null
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the prefix is "xml" and the namespace is not the XML namespace, or vice
 versa; or if the prefix is "xmlns", or the URI is "http://www.w3.org/2000/xmlns/"<DT><B>Since:</B></DT>
  <DD>9.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="declarePassiveNamespace(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
declarePassiveNamespace</H3>
<PRE>
public void <B>declarePassiveNamespace</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix,
                                    <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;uri,
                                    boolean&nbsp;explicit)
                             throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>since 9.0. Use <A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#declareNamespace(java.lang.String, java.lang.String)"><CODE>declareNamespace(java.lang.String, java.lang.String)</CODE></A></I>
<P>
<DD>Declare a namespace whose prefix can be used in expressions. This is
 equivalent to declaring a prefix in the Query prolog. The term "passive"
 was a term from a draft XQuery proposal indicating a namespace that won't
 be copied into the result tree. Passive namespaces are never undeclared.
 Any namespace declared in the Query prolog overrides a namespace declared using
 this API.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The namespace prefix. Must not be null.<DD><CODE>uri</CODE> - The namespace URI. Must not be null. The value "" (zero-length string) is used
                 to undeclare a namespace; it is not an error if there is no existing binding for
                 the namespace prefix.<DD><CODE>explicit</CODE> - Must be false (the value true was previously reserved for internal use, but is
                 no longer permitted)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE><DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="clearNamespaces()"><!-- --></A><H3>
clearNamespaces</H3>
<PRE>
public void <B>clearNamespaces</B>()</PRE>
<DL>
<DD>Clear all the user-declared namespaces
<P>
<DD><DL>
<DT><B>Since:</B></DT>
  <DD>9.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getUserDeclaredNamespaces()"><!-- --></A><H3>
getUserDeclaredNamespaces</H3>
<PRE>
protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&gt; <B>getUserDeclaredNamespaces</B>()</PRE>
<DL>
<DD>Get the map of user-declared namespaces
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the user-declared namespaces</DL>
</DD>
</DL>
<HR>

<A NAME="clearPassiveNamespaces()"><!-- --></A><H3>
clearPassiveNamespaces</H3>
<PRE>
public void <B>clearPassiveNamespaces</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>since 9.0 - use <A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#clearNamespaces()"><CODE>clearNamespaces()</CODE></A></I>
<P>
<DD>Clear all the declared passive namespaces, except for the standard ones (xml, saxon, etc)
<P>
<DD><DL>
<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="iterateDeclaredPrefixes()"><!-- --></A><H3>
iterateDeclaredPrefixes</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&lt;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&gt; <B>iterateDeclaredPrefixes</B>()</PRE>
<DL>
<DD>Get the namespace prefixes that have been declared using the method <A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#declareNamespace(java.lang.String, java.lang.String)"><CODE>declareNamespace(java.lang.String, java.lang.String)</CODE></A>
<P>
<DD><DL>

<DT><B>Returns:</B><DD>an iterator that returns the namespace prefixes that have been explicitly declared, as
 strings. The default namespace for elements and types will be included, using the prefix "".<DT><B>Since:</B></DT>
  <DD>9.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getNamespaceForPrefix(java.lang.String)"><!-- --></A><H3>
getNamespaceForPrefix</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getNamespaceForPrefix</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;prefix)</PRE>
<DL>
<DD>Get the namespace URI for a given prefix, which must have been declared using the method
 <A HREF="../../../../net/sf/saxon/query/StaticQueryContext.html#declareNamespace(java.lang.String, java.lang.String)"><CODE>declareNamespace(java.lang.String, java.lang.String)</CODE></A>. Note that this method will not call the external namespace resolver
 to resolve the prefix.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - the namespace prefix, or "" to represent the null prefix
<DT><B>Returns:</B><DD>the namespace URI. Returns "" to represent the non-namespace,
 null to indicate that the prefix has not been declared</DL>
</DD>
</DL>
<HR>

<A NAME="setExternalNamespaceResolver(net.sf.saxon.om.NamespaceResolver)"><!-- --></A><H3>
setExternalNamespaceResolver</H3>
<PRE>
public void <B>setExternalNamespaceResolver</B>(<A HREF="../../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A>&nbsp;resolver)</PRE>
<DL>
<DD>Set an external namespace resolver. If a namespace prefix cannot be resolved using any
 other mechanism, then as a last resort the external namespace resolver is called to
 obtain a URI for the given prefix.

 <p><i>Changed in Saxon 9.0 so that the namespaces resolved by the external namespace resolver
 are available at run-time, just like namespaces declared in the query prolog. In consequence,
 the supplied NamespaceResolver must now implement the
 <A HREF="../../../../net/sf/saxon/om/NamespaceResolver.html#iteratePrefixes()"><CODE>NamespaceResolver.iteratePrefixes()</CODE></A> method.</i></p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resolver</CODE> - the external namespace resolver</DL>
</DD>
</DL>
<HR>

<A NAME="getExternalNamespaceResolver()"><!-- --></A><H3>
getExternalNamespaceResolver</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/om/NamespaceResolver.html" title="interface in net.sf.saxon.om">NamespaceResolver</A> <B>getExternalNamespaceResolver</B>()</PRE>
<DL>
<DD>Get the external namespace resolver that has been registered using
 setExternalNamespaceResolver(), if any.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the external namespace resolver</DL>
</DD>
</DL>
<HR>

<A NAME="getDefaultFunctionNamespace()"><!-- --></A><H3>
getDefaultFunctionNamespace</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getDefaultFunctionNamespace</B>()</PRE>
<DL>
<DD>Get the default function namespace
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the default function namespace (defaults to the fn: namespace)<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="setDefaultFunctionNamespace(java.lang.String)"><!-- --></A><H3>
setDefaultFunctionNamespace</H3>
<PRE>
public void <B>setDefaultFunctionNamespace</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;defaultFunctionNamespace)</PRE>
<DL>
<DD>Set the default function namespace
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>defaultFunctionNamespace</CODE> - The namespace to be used for unprefixed function calls<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="setDefaultElementNamespace(java.lang.String)"><!-- --></A><H3>
setDefaultElementNamespace</H3>
<PRE>
public void <B>setDefaultElementNamespace</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;uri)</PRE>
<DL>
<DD>Set the default element namespace
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - the namespace URI to be used as the default namespace for elements and types<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDefaultElementNamespace()"><!-- --></A><H3>
getDefaultElementNamespace</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getDefaultElementNamespace</B>()</PRE>
<DL>
<DD>Get the default namespace for elements and types
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the namespace URI to be used as the default namespace for elements and types<DT><B>Since:</B></DT>
  <DD>8.9 Modified in 8.9 to return the namespace URI as a string rather than an integer code</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="declareGlobalVariable(net.sf.saxon.om.StructuredQName, net.sf.saxon.value.SequenceType, net.sf.saxon.om.ValueRepresentation, boolean)"><!-- --></A><H3>
declareGlobalVariable</H3>
<PRE>
public void <B>declareGlobalVariable</B>(<A HREF="../../../../net/sf/saxon/om/StructuredQName.html" title="class in net.sf.saxon.om">StructuredQName</A>&nbsp;qName,
                                  <A HREF="../../../../net/sf/saxon/value/SequenceType.html" title="class in net.sf.saxon.value">SequenceType</A>&nbsp;type,
                                  <A HREF="../../../../net/sf/saxon/om/ValueRepresentation.html" title="interface in net.sf.saxon.om">ValueRepresentation</A>&nbsp;value,
                                  boolean&nbsp;external)
                           throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Declare a global variable. This has the same effect as including a global variable declaration
 in the Query Prolog of the main query module. A static error occurs when compiling the query if the
 query prolog contains a declaration of the same variable.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>qName</CODE> - the qualified name of the variable<DD><CODE>type</CODE> - the declared type of the variable<DD><CODE>value</CODE> - the initial value of the variable. May be null if the variable is external.<DD><CODE>external</CODE> - true if the variable is external, that is, if its value may be set at run-time.
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the value is null, unless the variable is external
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE> - if the value of the variable is not consistent with its type.<DT><B>Since:</B></DT>
  <DD>9.1</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="iterateDeclaredGlobalVariables()"><!-- --></A><H3>
iterateDeclaredGlobalVariables</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A> <B>iterateDeclaredGlobalVariables</B>()</PRE>
<DL>
<DD>Iterate over all the declared global variables
<P>
<DD><DL>

<DT><B>Returns:</B><DD>an iterator over all the global variables that have been declared. They are returned
 as instances of class <A HREF="../../../../net/sf/saxon/query/GlobalVariableDefinition.html" title="class in net.sf.saxon.query"><CODE>GlobalVariableDefinition</CODE></A><DT><B>Since:</B></DT>
  <DD>9.1</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="clearDeclaredGlobalVariables()"><!-- --></A><H3>
clearDeclaredGlobalVariables</H3>
<PRE>
public void <B>clearDeclaredGlobalVariables</B>()</PRE>
<DL>
<DD>Clear all declared global variables
<P>
<DD><DL>
<DT><B>Since:</B></DT>
  <DD>9.1</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="setModuleURIResolver(net.sf.saxon.lib.ModuleURIResolver)"><!-- --></A><H3>
setModuleURIResolver</H3>
<PRE>
public void <B>setModuleURIResolver</B>(<A HREF="../../../../net/sf/saxon/lib/ModuleURIResolver.html" title="interface in net.sf.saxon.lib">ModuleURIResolver</A>&nbsp;resolver)</PRE>
<DL>
<DD>Set a user-defined ModuleURIResolver for resolving URIs used in "import module"
 declarations in the XQuery prolog.
 This will be used for resolving URIs in XQuery "import module" declarations, overriding
 any ModuleURIResolver that was specified as part of the configuration.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resolver</CODE> - the ModuleURIResolver to be used</DL>
</DD>
</DL>
<HR>

<A NAME="getModuleURIResolver()"><!-- --></A><H3>
getModuleURIResolver</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/lib/ModuleURIResolver.html" title="interface in net.sf.saxon.lib">ModuleURIResolver</A> <B>getModuleURIResolver</B>()</PRE>
<DL>
<DD>Get the user-defined ModuleURIResolver for resolving URIs used in "import module"
 declarations in the XQuery prolog; returns null if none has been explicitly set either
 on the StaticQueryContext or on the Configuration.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the registered ModuleURIResolver</DL>
</DD>
</DL>
<HR>

<A NAME="declareCollation(java.lang.String, java.util.Comparator)"><!-- --></A><H3>
declareCollation</H3>
<PRE>
public void <B>declareCollation</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
                             <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</A>&nbsp;comparator)</PRE>
<DL>
<DD>Declare a named collation. Collations are only available in a query if this method
 has been called externally to declare the collation and associate it with an
 implementation, in the form of a Java Comparator. The default collation is the
 Unicode codepoint collation, unless otherwise specified.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the collation (technically, a URI)<DD><CODE>comparator</CODE> - The Java Comparator used to implement the collating sequence<DT><B>Since:</B></DT>
  <DD>8.4.</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="declareCollation(java.lang.String, net.sf.saxon.lib.StringCollator)"><!-- --></A><H3>
declareCollation</H3>
<PRE>
public void <B>declareCollation</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
                             <A HREF="../../../../net/sf/saxon/lib/StringCollator.html" title="interface in net.sf.saxon.lib">StringCollator</A>&nbsp;comparator)</PRE>
<DL>
<DD>Declare a named collation. Collations are only available in a query if this method
 has been called externally to declare the collation and associate it with an
 implementation, in the form of a Java StringCollator. The default collation is the
 Unicode codepoint collation, unless otherwise specified.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the collation (technically, a URI)<DD><CODE>comparator</CODE> - The Java Comparator used to implement the collating sequence<DT><B>Since:</B></DT>
  <DD>8.9.                               ge</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="declareDefaultCollation(java.lang.String)"><!-- --></A><H3>
declareDefaultCollation</H3>
<PRE>
public void <B>declareDefaultCollation</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
<DL>
<DD>Set the default collation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The collation name, as specified in the query prolog. The name
 is not validated until it is used.
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the supplied value is null<DT><B>Since:</B></DT>
  <DD>8.4. Changed in 8.6 so it no longer validates the collation name: this is
 because the base URI is not necessarily known at the point where the default
 collation is declared.</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getCollation(java.lang.String)"><!-- --></A><H3>
getCollation</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/lib/StringCollator.html" title="interface in net.sf.saxon.lib">StringCollator</A> <B>getCollation</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
<DL>
<DD>Get a named collation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the collation, as an absolute URI
<DT><B>Returns:</B><DD>the collation identified by the given name, as set previously using declareCollation.
         If no collation with this name has been declared, the method calls the CollationURIResolver
         to locate a collation with this name.
         Return null if no collation with this name is found.
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the collation name argument is null.<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getCollationMap()"><!-- --></A><H3>
getCollationMap</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/expr/CollationMap.html" title="class in net.sf.saxon.expr">CollationMap</A> <B>getCollationMap</B>()</PRE>
<DL>
<DD>Get the collation map
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the collation map, which identifies all the known collations</DL>
</DD>
</DL>
<HR>

<A NAME="getDefaultCollationName()"><!-- --></A><H3>
getDefaultCollationName</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getDefaultCollationName</B>()</PRE>
<DL>
<DD>Get the name of the default collation.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the name of the default collation; or the name of the codepoint collation
         if no default collation has been defined. The name is returned in the form
         it was specified; that is, it is not yet resolved against the base URI. (This
         is because the base URI declaration can follow the default collation declaration
         in the query prolog.) If no default collation has been specified, the "default default"
         (that is, the Unicode codepoint collation) is returned.<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getAllCollations()"><!-- --></A><H3>
getAllCollations</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/expr/CollationMap.html" title="class in net.sf.saxon.expr">CollationMap</A> <B>getAllCollations</B>()</PRE>
<DL>
<DD>Get a CollationMap that maps all registered collations to Comparators.
 Note that this returns a snapshot copy of the data held by the static context.
 This method is provided for internal use by the query processor.
 <p/>
 This method is intended for internal use.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the CollationMap containing all the collations defined in this static context</DL>
</DD>
</DL>
<HR>

<A NAME="setRequiredContextItemType(net.sf.saxon.type.ItemType)"><!-- --></A><H3>
setRequiredContextItemType</H3>
<PRE>
public void <B>setRequiredContextItemType</B>(<A HREF="../../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A>&nbsp;type)</PRE>
<DL>
<DD>Declare the static type of the context item. If this type is declared, and if a context item
 is supplied when the query is invoked, then the context item must conform to this type (no
 type conversion will take place to force it into this type).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - the required type of the context item</DL>
</DD>
</DL>
<HR>

<A NAME="getRequiredContextItemType()"><!-- --></A><H3>
getRequiredContextItemType</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/type/ItemType.html" title="interface in net.sf.saxon.type">ItemType</A> <B>getRequiredContextItemType</B>()</PRE>
<DL>
<DD>Get the required type of the context item. If no type has been explicitly declared for the context
 item, an instance of AnyItemType (representing the type item()) is returned.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the required type of the context item</DL>
</DD>
</DL>
<HR>

<A NAME="getNamePool()"><!-- --></A><H3>
getNamePool</H3>
<PRE>
public <A HREF="../../../../net/sf/saxon/om/NamePool.html" title="class in net.sf.saxon.om">NamePool</A> <B>getNamePool</B>()</PRE>
<DL>
<DD>Get the NamePool used for compiling expressions
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the name pool<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getSystemId()"><!-- --></A><H3>
getSystemId</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getSystemId</B>()</PRE>
<DL>
<DD>Get the system ID of the container of the expression. Used to construct error messages.
 Note that the systemID and the Base URI are currently identical, but they might be distinguished
 in the future.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the Base URI<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getBaseURI()"><!-- --></A><H3>
getBaseURI</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getBaseURI</B>()</PRE>
<DL>
<DD>Get the Base URI of the query, for resolving any relative URI's used
 in the expression.
 Note that the systemID and the Base URI are currently identical, but they might be distinguished
 in the future.
 Used by the document() function.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the base URI of the query<DT><B>Since:</B></DT>
  <DD>8.4</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="setPreserveBoundarySpace(boolean)"><!-- --></A><H3>
setPreserveBoundarySpace</H3>
<PRE>
public void <B>setPreserveBoundarySpace</B>(boolean&nbsp;preserve)</PRE>
<DL>
<DD>Set the policy for preserving boundary space
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>preserve</CODE> - true if boundary space is to be preserved, false if it is to be stripped<DT><B>Since:</B></DT>
  <DD>9.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="isPreserveBoundarySpace()"><!-- --></A><H3>
isPreserveBoundarySpace</H3>
<PRE>
public boolean <B>isPreserveBoundarySpace</B>()</PRE>
<DL>
<DD>Ask whether the policy for boundary space is "preserve" or "strip"
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true if the policy is to preserve boundary space, false if it is to strip it<DT><B>Since:</B></DT>
  <DD>9.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="setEmptyLeast(boolean)"><!-- --></A><H3>
setEmptyLeast</H3>
<PRE>
public void <B>setEmptyLeast</B>(boolean&nbsp;least)</PRE>
<DL>
<DD>Set the option for where an empty sequence appears in the collation order, if not otherwise
 specified in the "order by" clause
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>least</CODE> - true if the empty sequence is considered less than any other value (the default),
 false if it is considered greater than any other value<DT><B>Since:</B></DT>
  <DD>9.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="isEmptyLeast()"><!-- --></A><H3>
isEmptyLeast</H3>
<PRE>
public boolean <B>isEmptyLeast</B>()</PRE>
<DL>
<DD>Ask where an empty sequence should appear in the collation order, if not otherwise
 specified in the "order by" clause
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true if the empty sequence is considered less than any other value (the default),
 false if it is considered greater than any other value<DT><B>Since:</B></DT>
  <DD>9.0</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="setErrorListener(javax.xml.transform.ErrorListener)"><!-- --></A><H3>
setErrorListener</H3>
<PRE>
public void <B>setErrorListener</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/ErrorListener.html?is-external=true" title="class or interface in javax.xml.transform">ErrorListener</A>&nbsp;listener)</PRE>
<DL>
<DD>Set the ErrorListener to be used to report compile-time errors in a query. This will also
 be the default for the run-time error listener used to report dynamic errors
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>listener</CODE> - the ErrorListener to be used</DL>
</DD>
</DL>
<HR>

<A NAME="getErrorListener()"><!-- --></A><H3>
getErrorListener</H3>
<PRE>
public <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/ErrorListener.html?is-external=true" title="class or interface in javax.xml.transform">ErrorListener</A> <B>getErrorListener</B>()</PRE>
<DL>
<DD>Get the ErrorListener in use for this static context
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the registered ErrorListener</DL>
</DD>
</DL>
<HR>

<A NAME="setUpdatingEnabled(boolean)"><!-- --></A><H3>
setUpdatingEnabled</H3>
<PRE>
public void <B>setUpdatingEnabled</B>(boolean&nbsp;updating)</PRE>
<DL>
<DD>Say whether the query is allowed to be updating. XQuery update syntax will be rejected
 during query compilation unless this flag is set.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>updating</CODE> - true if the query is allowed to use the XQuery Update facility
 (requires Saxon-EE). If set to false, the query must not be an updating query. If set
 to true, it may be either an updating or a non-updating query.<DT><B>Since:</B></DT>
  <DD>9.1</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="isUpdatingEnabled()"><!-- --></A><H3>
isUpdatingEnabled</H3>
<PRE>
public boolean <B>isUpdatingEnabled</B>()</PRE>
<DL>
<DD>Ask whether the query is allowed to be updating
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true if the query is allowed to use the XQuery Update facility. Note that this
 does not necessarily mean that the query is an updating query; but if the value is false,
 the it must definitely be non-updating.<DT><B>Since:</B></DT>
  <DD>9.1</DD>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../net/sf/saxon/query/SequenceWrapper.html" title="class in net.sf.saxon.query"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../net/sf/saxon/query/UnboundFunctionLibrary.html" title="class in net.sf.saxon.query"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?net/sf/saxon/query/StaticQueryContext.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="StaticQueryContext.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.
</BODY>
</HTML>