<!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:47:41 GMT 2011 --> <TITLE> StaticQueryContextPE </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="StaticQueryContextPE"; } } </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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/saxonica/expr/ShallowCopyRuleSet.html" title="class in com.saxonica.expr"><B>PREV CLASS</B></A> <A HREF="../../../com/saxonica/expr/SwitchExpression.html" title="class in com.saxonica.expr"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/saxonica/expr/StaticQueryContextPE.html" target="_top"><B>FRAMES</B></A> <A HREF="StaticQueryContextPE.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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"> com.saxonica.expr</FONT> <BR> Class StaticQueryContextPE</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 "><A HREF="../../../net/sf/saxon/query/StaticQueryContext.html" title="class in net.sf.saxon.query">net.sf.saxon.query.StaticQueryContext</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.saxonica.expr.StaticQueryContextPE</B> </PRE> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../com/saxonica/expr/ee/StaticQueryContextEE.html" title="class in com.saxonica.expr.ee">StaticQueryContextEE</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>StaticQueryContextPE</B><DT>extends <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html" title="class in net.sf.saxon.query">StaticQueryContext</A></DL> </PRE> <P> A version of StaticQueryContext for Saxon-PE, that extends the capability by allowing compilation of XQuery 1.1 syntax <P> <P> <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><CODE><B><A HREF="../../../com/saxonica/expr/StaticQueryContextPE.html#StaticQueryContextPE(net.sf.saxon.Configuration)">StaticQueryContextPE</A></B>(<A HREF="../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A> config)</CODE> <BR> Create a StaticQueryContext using a given Configuration.</TD> </TR> </TABLE> <!-- ========== 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> <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="../../../com/saxonica/expr/StaticQueryContextPE.html#getExtensionFunctionLibrary()">getExtensionFunctionLibrary</A></B>()</CODE> <BR> Get any function library that was previously set using <A HREF="../../../com/saxonica/expr/StaticQueryContextPE.html#setExtensionFunctionLibrary(net.sf.saxon.functions.FunctionLibrary)"><CODE>setExtensionFunctionLibrary(net.sf.saxon.functions.FunctionLibrary)</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/StaticQueryContextPE.html#newQueryParser(java.lang.String, boolean, java.lang.String)">newQueryParser</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> language, boolean updating, <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> languageVersion)</CODE> <BR> Get a new QueryParser.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/saxonica/expr/StaticQueryContextPE.html#setExtensionFunctionLibrary(net.sf.saxon.functions.FunctionLibrary)">setExtensionFunctionLibrary</A></B>(<A HREF="../../../net/sf/saxon/functions/FunctionLibrary.html" title="interface in net.sf.saxon.functions">FunctionLibrary</A> library)</CODE> <BR> Set a library of extension functions.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_net.sf.saxon.query.StaticQueryContext"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class net.sf.saxon.query.<A HREF="../../../net/sf/saxon/query/StaticQueryContext.html" title="class in net.sf.saxon.query">StaticQueryContext</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#buildDocument(javax.xml.transform.Source)">buildDocument</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#clearDeclaredGlobalVariables()">clearDeclaredGlobalVariables</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#clearNamespaces()">clearNamespaces</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#clearPassiveNamespaces()">clearPassiveNamespaces</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#compileLibrary(java.io.InputStream, java.lang.String)">compileLibrary</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#compileLibrary(java.io.Reader)">compileLibrary</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#compileLibrary(java.lang.String)">compileLibrary</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#compileQuery(java.io.InputStream, java.lang.String)">compileQuery</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#compileQuery(java.io.Reader)">compileQuery</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#compileQuery(java.lang.String)">compileQuery</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#declareCollation(java.lang.String, java.util.Comparator)">declareCollation</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#declareCollation(java.lang.String, net.sf.saxon.lib.StringCollator)">declareCollation</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#declareDefaultCollation(java.lang.String)">declareDefaultCollation</A>, <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>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#declareNamespace(java.lang.String, java.lang.String)">declareNamespace</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#declarePassiveNamespace(java.lang.String, java.lang.String, boolean)">declarePassiveNamespace</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getAllCollations()">getAllCollations</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getBaseURI()">getBaseURI</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getCodeInjector()">getCodeInjector</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getCollation(java.lang.String)">getCollation</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getCollationMap()">getCollationMap</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getCompiledLibrary(java.lang.String)">getCompiledLibrary</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getConfiguration()">getConfiguration</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getConstructionMode()">getConstructionMode</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getDefaultCollationName()">getDefaultCollationName</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getDefaultElementNamespace()">getDefaultElementNamespace</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getDefaultFunctionNamespace()">getDefaultFunctionNamespace</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getErrorListener()">getErrorListener</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getExecutable()">getExecutable</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getExternalNamespaceResolver()">getExternalNamespaceResolver</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getLanguageVersion()">getLanguageVersion</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getModuleURIResolver()">getModuleURIResolver</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getNamePool()">getNamePool</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getNamespaceForPrefix(java.lang.String)">getNamespaceForPrefix</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getRequiredContextItemType()">getRequiredContextItemType</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getSystemId()">getSystemId</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getUserDeclaredNamespaces()">getUserDeclaredNamespaces</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#isCompileWithTracing()">isCompileWithTracing</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#isEmptyLeast()">isEmptyLeast</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#isGeneratingJavaCode()">isGeneratingJavaCode</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#isInheritNamespaces()">isInheritNamespaces</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#isPreserveBoundarySpace()">isPreserveBoundarySpace</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#isPreserveNamespaces()">isPreserveNamespaces</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#isSchemaAware()">isSchemaAware</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#isUpdating()">isUpdating</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#isUpdatingEnabled()">isUpdatingEnabled</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#iterateDeclaredGlobalVariables()">iterateDeclaredGlobalVariables</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#iterateDeclaredPrefixes()">iterateDeclaredPrefixes</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#reset()">reset</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setBaseURI(java.lang.String)">setBaseURI</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setCodeInjector(net.sf.saxon.expr.parser.CodeInjector)">setCodeInjector</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setCompileWithTracing(boolean)">setCompileWithTracing</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setConfiguration(net.sf.saxon.Configuration)">setConfiguration</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setConstructionMode(int)">setConstructionMode</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setDefaultElementNamespace(java.lang.String)">setDefaultElementNamespace</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setDefaultFunctionNamespace(java.lang.String)">setDefaultFunctionNamespace</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setEmptyLeast(boolean)">setEmptyLeast</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setErrorListener(javax.xml.transform.ErrorListener)">setErrorListener</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setExternalNamespaceResolver(net.sf.saxon.om.NamespaceResolver)">setExternalNamespaceResolver</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setGeneratingJavaCode(boolean)">setGeneratingJavaCode</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setInheritNamespaces(boolean)">setInheritNamespaces</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setLanguageVersion(net.sf.saxon.value.DecimalValue)">setLanguageVersion</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setModuleURIResolver(net.sf.saxon.lib.ModuleURIResolver)">setModuleURIResolver</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setPreserveBoundarySpace(boolean)">setPreserveBoundarySpace</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setPreserveNamespaces(boolean)">setPreserveNamespaces</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setRequiredContextItemType(net.sf.saxon.type.ItemType)">setRequiredContextItemType</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setSchemaAware(boolean)">setSchemaAware</A>, <A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#setUpdatingEnabled(boolean)">setUpdatingEnabled</A></CODE></TD> </TR> </TABLE> <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> <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="StaticQueryContextPE(net.sf.saxon.Configuration)"><!-- --></A><H3> StaticQueryContextPE</H3> <PRE> public <B>StaticQueryContextPE</B>(<A HREF="../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A> config)</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> <DL> <DT><B>Parameters:</B><DD><CODE>config</CODE> - the Saxon Configuration<DT><B>Since:</B></DT> <DD>9.2</DD> </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="newQueryParser(java.lang.String, boolean, java.lang.String)"><!-- --></A><H3> newQueryParser</H3> <PRE> protected <A HREF="../../../net/sf/saxon/query/QueryParser.html" title="class in net.sf.saxon.query">QueryParser</A> <B>newQueryParser</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> language, boolean updating, <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> languageVersion)</PRE> <DL> <DD>Get a new QueryParser. This method is intended primarily for internal use. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>language</CODE> - <DD><CODE>updating</CODE> - indicates whether or not XQuery update syntax may be used.<DD><CODE>languageVersion</CODE> - </DL> </DD> </DL> <HR> <A NAME="setExtensionFunctionLibrary(net.sf.saxon.functions.FunctionLibrary)"><!-- --></A><H3> setExtensionFunctionLibrary</H3> <PRE> public void <B>setExtensionFunctionLibrary</B>(<A HREF="../../../net/sf/saxon/functions/FunctionLibrary.html" title="interface in net.sf.saxon.functions">FunctionLibrary</A> library)</PRE> <DL> <DD>Set a library of extension functions. The functions in this library will be available in all modules of the query. The function library will be searched after language-defined libraries (such as built-in functions, user-defined XQuery functions, and constructor functions) but before extension functions defined at the Configuration level. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>library</CODE> - the function library to be added (replacing any that has previously been set). May be null to clear a previously-set library<DT><B>Since:</B></DT> <DD>9.4</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 function library that was previously set using <A HREF="../../../com/saxonica/expr/StaticQueryContextPE.html#setExtensionFunctionLibrary(net.sf.saxon.functions.FunctionLibrary)"><CODE>setExtensionFunctionLibrary(net.sf.saxon.functions.FunctionLibrary)</CODE></A>. <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE><A HREF="../../../net/sf/saxon/query/StaticQueryContext.html#getExtensionFunctionLibrary()">getExtensionFunctionLibrary</A></CODE> in class <CODE><A HREF="../../../net/sf/saxon/query/StaticQueryContext.html" title="class in net.sf.saxon.query">StaticQueryContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the extension function library, or null if none has been set.<DT><B>Since:</B></DT> <DD>9.4</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/saxonica/expr/ShallowCopyRuleSet.html" title="class in com.saxonica.expr"><B>PREV CLASS</B></A> <A HREF="../../../com/saxonica/expr/SwitchExpression.html" title="class in com.saxonica.expr"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/saxonica/expr/StaticQueryContextPE.html" target="_top"><B>FRAMES</B></A> <A HREF="StaticQueryContextPE.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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>