<!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:36 GMT 2011 --> <TITLE> AbstractStaticContext </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="AbstractStaticContext"; } } </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"> PREV CLASS <A HREF="../../../../net/sf/saxon/sxpath/DedicatedStaticContext.html" title="class in net.sf.saxon.sxpath"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/sxpath/AbstractStaticContext.html" target="_top"><B>FRAMES</B></A> <A HREF="AbstractStaticContext.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <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"> net.sf.saxon.sxpath</FONT> <BR> Class AbstractStaticContext</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.sxpath.AbstractStaticContext</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../net/sf/saxon/sxpath/IndependentContext.html" title="class in net.sf.saxon.sxpath">IndependentContext</A>, <A HREF="../../../../net/sf/saxon/xpath/JAXPXPathStaticContext.html" title="class in net.sf.saxon.xpath">JAXPXPathStaticContext</A>, <A HREF="../../../../net/sf/saxon/style/UseWhenStaticContext.html" title="class in net.sf.saxon.style">UseWhenStaticContext</A></DD> </DL> <HR> <DL> <DT><PRE>public abstract class <B>AbstractStaticContext</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><DT>implements <A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></DL> </PRE> <P> An abstract and configurable implementation of the StaticContext interface, which defines the static context of an XPath expression. <p>This class implements those parts of the functionality of a static context that tend to be common to most implementations: simple-valued properties such as base URI and default element namespace; availability of the standard function library; and support for collations.</p> <P> <P> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_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>Field Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#usingDefaultFunctionLibrary">usingDefaultFunctionLibrary</A></B></CODE> <BR> </TD> </TR> </TABLE> <!-- ======== 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="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#AbstractStaticContext()">AbstractStaticContext</A></B>()</CODE> <BR> </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>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#addFunctionLibrary(net.sf.saxon.functions.FunctionLibrary)">addFunctionLibrary</A></B>(<A HREF="../../../../net/sf/saxon/functions/FunctionLibrary.html" title="interface in net.sf.saxon.functions">FunctionLibrary</A> library)</CODE> <BR> Add a function library to the list of function libraries</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="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#declareCollation(java.lang.String, net.sf.saxon.lib.StringCollator, boolean)">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> name, <A HREF="../../../../net/sf/saxon/lib/StringCollator.html" title="interface in net.sf.saxon.lib">StringCollator</A> comparator, boolean isDefault)</CODE> <BR> Declare a named collation</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/sxpath/AbstractStaticContext.html#getBaseURI()">getBaseURI</A></B>()</CODE> <BR> Get the Base URI, 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> <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/sxpath/AbstractStaticContext.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> name)</CODE> <BR> Get a named collation.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/sxpath/AbstractStaticContext.html#getCollationMap()">getCollationMap</A></B>()</CODE> <BR> Get the collation map in use</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#getColumnNumber()">getColumnNumber</A></B>()</CODE> <BR> Return the character position where the current document event ends.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/sxpath/AbstractStaticContext.html#getConfiguration()">getConfiguration</A></B>()</CODE> <BR> Get the system configuration</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/saxon/trans/DecimalFormatManager.html" title="class in net.sf.saxon.trans">DecimalFormatManager</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#getDecimalFormatManager()">getDecimalFormatManager</A></B>()</CODE> <BR> Get a DecimalFormatManager to resolve the names of decimal formats used in calls to the format-number() function.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/sxpath/AbstractStaticContext.html#getDefaultCollationName()">getDefaultCollationName</A></B>()</CODE> <BR> 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> <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/sxpath/AbstractStaticContext.html#getDefaultElementNamespace()">getDefaultElementNamespace</A></B>()</CODE> <BR> Get the default namespace URI for elements and types Return NamespaceConstant.NULL (that is, the zero-length string) for the non-namespace</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/sxpath/AbstractStaticContext.html#getDefaultFunctionNamespace()">getDefaultFunctionNamespace</A></B>()</CODE> <BR> Get the default function namespace.</TD> </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="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#getFunctionLibrary()">getFunctionLibrary</A></B>()</CODE> <BR> Get the function library containing all the in-scope functions available in this static context.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#getHostLanguage()">getHostLanguage</A></B>()</CODE> <BR> Get the host language (XSLT, XQuery, XPath) used to implement the code in this container</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#getLineNumber()">getLineNumber</A></B>()</CODE> <BR> Get the line number of the expression within that container.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/saxon/expr/instruct/LocationMap.html" title="class in net.sf.saxon.expr.instruct">LocationMap</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#getLocationMap()">getLocationMap</A></B>()</CODE> <BR> Get the location map.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/saxon/event/LocationProvider.html" title="interface in net.sf.saxon.event">LocationProvider</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#getLocationProvider()">getLocationProvider</A></B>()</CODE> <BR> Get the LocationProvider allowing location identifiers to be resolved.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/sxpath/AbstractStaticContext.html#getNamePool()">getNamePool</A></B>()</CODE> <BR> 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> <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/sxpath/AbstractStaticContext.html#getPublicId()">getPublicId</A></B>()</CODE> <BR> Return the public identifier.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/sxpath/AbstractStaticContext.html#getRequiredContextItemType()">getRequiredContextItemType</A></B>()</CODE> <BR> 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> <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/sxpath/AbstractStaticContext.html#getSystemId()">getSystemId</A></B>()</CODE> <BR> 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> <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/sxpath/AbstractStaticContext.html#getXPathLanguageLevel()">getXPathLanguageLevel</A></B>()</CODE> <BR> Get the XPath language level supported, as a string.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#isAllowedBuiltInType(net.sf.saxon.type.BuiltInAtomicType)">isAllowedBuiltInType</A></B>(<A HREF="../../../../net/sf/saxon/type/BuiltInAtomicType.html" title="class in net.sf.saxon.type">BuiltInAtomicType</A> type)</CODE> <BR> Determine whether a built-in type is available in this context.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#isInBackwardsCompatibleMode()">isInBackwardsCompatibleMode</A></B>()</CODE> <BR> Determine whether Backwards Compatible Mode is used</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#isSchemaAware()">isSchemaAware</A></B>()</CODE> <BR> Ask whether this static context is schema-aware</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="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#issueWarning(java.lang.String, javax.xml.transform.SourceLocator)">issueWarning</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> s, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/SourceLocator.html?is-external=true" title="class or interface in javax.xml.transform">SourceLocator</A> locator)</CODE> <BR> Issue a compile-time warning.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#makeEarlyEvaluationContext()">makeEarlyEvaluationContext</A></B>()</CODE> <BR> Construct a dynamic context for early evaluation of constant subexpressions</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="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#setBackwardsCompatibilityMode(boolean)">setBackwardsCompatibilityMode</A></B>(boolean option)</CODE> <BR> Set XPath 1.0 backwards compatibility mode on or off</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="../../../../net/sf/saxon/sxpath/AbstractStaticContext.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> baseURI)</CODE> <BR> Set the base URI in the static context</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="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#setCollationMap(net.sf.saxon.expr.CollationMap)">setCollationMap</A></B>(<A HREF="../../../../net/sf/saxon/expr/CollationMap.html" title="class in net.sf.saxon.expr">CollationMap</A> collationMap)</CODE> <BR> Set a collation map to override use of the default collation map from the configuration</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#setConfiguration(net.sf.saxon.Configuration)">setConfiguration</A></B>(<A HREF="../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A> config)</CODE> <BR> Set the Configuration.</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="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#setDecimalFormatManager(net.sf.saxon.trans.DecimalFormatManager)">setDecimalFormatManager</A></B>(<A HREF="../../../../net/sf/saxon/trans/DecimalFormatManager.html" title="class in net.sf.saxon.trans">DecimalFormatManager</A> manager)</CODE> <BR> Set the DecimalFormatManager used to resolve the names of decimal formats used in calls to the format-number() function.</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="../../../../net/sf/saxon/sxpath/AbstractStaticContext.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> uri)</CODE> <BR> Set 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>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#setDefaultFunctionLibrary()">setDefaultFunctionLibrary</A></B>()</CODE> <BR> Initialize the default function library for XPath.</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="../../../../net/sf/saxon/sxpath/AbstractStaticContext.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> uri)</CODE> <BR> Set the default function namespace</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="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#setFunctionLibrary(net.sf.saxon.functions.FunctionLibraryList)">setFunctionLibrary</A></B>(<A HREF="../../../../net/sf/saxon/functions/FunctionLibraryList.html" title="class in net.sf.saxon.functions">FunctionLibraryList</A> lib)</CODE> <BR> Set the function library to be used</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="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#setLocationMap(net.sf.saxon.expr.instruct.LocationMap)">setLocationMap</A></B>(<A HREF="../../../../net/sf/saxon/expr/instruct/LocationMap.html" title="class in net.sf.saxon.expr.instruct">LocationMap</A> locationMap)</CODE> <BR> Set the location map, which is used for translating location identifiers into URIs and line numbers</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="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#setSchemaAware(boolean)">setSchemaAware</A></B>(boolean aware)</CODE> <BR> Say whether this static context is schema-aware</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="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#setXPathLanguageLevel(net.sf.saxon.value.DecimalValue)">setXPathLanguageLevel</A></B>(<A HREF="../../../../net/sf/saxon/value/DecimalValue.html" title="class in net.sf.saxon.value">DecimalValue</A> level)</CODE> <BR> Set the XPath language level supported, as a string.</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> <A NAME="methods_inherited_from_class_net.sf.saxon.expr.StaticContext"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from interface net.sf.saxon.expr.<A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#bindVariable(net.sf.saxon.om.StructuredQName)">bindVariable</A>, <A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getImportedSchemaNamespaces()">getImportedSchemaNamespaces</A>, <A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getNamespaceResolver()">getNamespaceResolver</A>, <A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getURIForPrefix(java.lang.String)">getURIForPrefix</A>, <A HREF="../../../../net/sf/saxon/expr/StaticContext.html#isImportedSchema(java.lang.String)">isImportedSchema</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_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>Field Detail</B></FONT></TH> </TR> </TABLE> <A NAME="usingDefaultFunctionLibrary"><!-- --></A><H3> usingDefaultFunctionLibrary</H3> <PRE> protected boolean <B>usingDefaultFunctionLibrary</B></PRE> <DL> <DL> </DL> </DL> <!-- ========= 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="AbstractStaticContext()"><!-- --></A><H3> AbstractStaticContext</H3> <PRE> public <B>AbstractStaticContext</B>()</PRE> <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="setConfiguration(net.sf.saxon.Configuration)"><!-- --></A><H3> setConfiguration</H3> <PRE> protected void <B>setConfiguration</B>(<A HREF="../../../../net/sf/saxon/Configuration.html" title="class in net.sf.saxon">Configuration</A> config)</PRE> <DL> <DD>Set the Configuration. This is protected so it can be used only by subclasses; the configuration will normally be set at construction time <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>config</CODE> - the configuration</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 system configuration <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getConfiguration()">getConfiguration</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the Saxon configuration</DL> </DD> </DL> <HR> <A NAME="setCollationMap(net.sf.saxon.expr.CollationMap)"><!-- --></A><H3> setCollationMap</H3> <PRE> public void <B>setCollationMap</B>(<A HREF="../../../../net/sf/saxon/expr/CollationMap.html" title="class in net.sf.saxon.expr">CollationMap</A> collationMap)</PRE> <DL> <DD>Set a collation map to override use of the default collation map from the configuration <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>collationMap</CODE> - the collation map to be used</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 in use <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the collation map</DL> </DD> </DL> <HR> <A NAME="setSchemaAware(boolean)"><!-- --></A><H3> setSchemaAware</H3> <PRE> public void <B>setSchemaAware</B>(boolean aware)</PRE> <DL> <DD>Say whether this static context is schema-aware <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>aware</CODE> - true if this static context is schema-aware</DL> </DD> </DL> <HR> <A NAME="isSchemaAware()"><!-- --></A><H3> isSchemaAware</H3> <PRE> public boolean <B>isSchemaAware</B>()</PRE> <DL> <DD>Ask whether this static context is schema-aware <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#isSchemaAware()">isSchemaAware</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if this context is schema-aware</DL> </DD> </DL> <HR> <A NAME="setDefaultFunctionLibrary()"><!-- --></A><H3> setDefaultFunctionLibrary</H3> <PRE> protected final void <B>setDefaultFunctionLibrary</B>()</PRE> <DL> <DD>Initialize the default function library for XPath. This can be overridden using setFunctionLibrary(). <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="addFunctionLibrary(net.sf.saxon.functions.FunctionLibrary)"><!-- --></A><H3> addFunctionLibrary</H3> <PRE> protected final void <B>addFunctionLibrary</B>(<A HREF="../../../../net/sf/saxon/functions/FunctionLibrary.html" title="interface in net.sf.saxon.functions">FunctionLibrary</A> library)</PRE> <DL> <DD>Add a function library to the list of function libraries <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>library</CODE> - the function library to be added</DL> </DD> </DL> <HR> <A NAME="getHostLanguage()"><!-- --></A><H3> getHostLanguage</H3> <PRE> public int <B>getHostLanguage</B>()</PRE> <DL> <DD>Get the host language (XSLT, XQuery, XPath) used to implement the code in this container <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the value <A HREF="../../../../net/sf/saxon/Configuration.html#XPATH"><CODE>Configuration.XPATH</CODE></A></DL> </DD> </DL> <HR> <A NAME="makeEarlyEvaluationContext()"><!-- --></A><H3> makeEarlyEvaluationContext</H3> <PRE> public <A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A> <B>makeEarlyEvaluationContext</B>()</PRE> <DL> <DD>Construct a dynamic context for early evaluation of constant subexpressions <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#makeEarlyEvaluationContext()">makeEarlyEvaluationContext</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>a newly constructed dynamic context</DL> </DD> </DL> <HR> <A NAME="getLocationMap()"><!-- --></A><H3> getLocationMap</H3> <PRE> public <A HREF="../../../../net/sf/saxon/expr/instruct/LocationMap.html" title="class in net.sf.saxon.expr.instruct">LocationMap</A> <B>getLocationMap</B>()</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getLocationMap()">StaticContext</A></CODE></B></DD> <DD>Get the location map. This is a mapping from short location ids held with each expression or subexpression, to a fully-resolved location in a source stylesheet or query. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getLocationMap()">getLocationMap</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the location map</DL> </DD> </DL> <HR> <A NAME="setLocationMap(net.sf.saxon.expr.instruct.LocationMap)"><!-- --></A><H3> setLocationMap</H3> <PRE> public void <B>setLocationMap</B>(<A HREF="../../../../net/sf/saxon/expr/instruct/LocationMap.html" title="class in net.sf.saxon.expr.instruct">LocationMap</A> locationMap)</PRE> <DL> <DD>Set the location map, which is used for translating location identifiers into URIs and line numbers <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>locationMap</CODE> - the location map to be used</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> baseURI)</PRE> <DL> <DD>Set the base URI in the static context <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>baseURI</CODE> - the base URI of the expression</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, for resolving any relative URI's used in the expression. Used by the document() function, resolve-uri(), etc. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getBaseURI()">getBaseURI</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>"" if no base URI has been set</DL> </DD> </DL> <HR> <A NAME="getFunctionLibrary()"><!-- --></A><H3> getFunctionLibrary</H3> <PRE> public <A HREF="../../../../net/sf/saxon/functions/FunctionLibrary.html" title="interface in net.sf.saxon.functions">FunctionLibrary</A> <B>getFunctionLibrary</B>()</PRE> <DL> <DD>Get the function library containing all the in-scope functions available in this static context. This method is called by the XPath parser when binding a function call in the XPath expression to an implementation of the function. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getFunctionLibrary()">getFunctionLibrary</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the function library</DL> </DD> </DL> <HR> <A NAME="setFunctionLibrary(net.sf.saxon.functions.FunctionLibraryList)"><!-- --></A><H3> setFunctionLibrary</H3> <PRE> public void <B>setFunctionLibrary</B>(<A HREF="../../../../net/sf/saxon/functions/FunctionLibraryList.html" title="class in net.sf.saxon.functions">FunctionLibraryList</A> lib)</PRE> <DL> <DD>Set the function library to be used <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>lib</CODE> - the function library</DL> </DD> </DL> <HR> <A NAME="declareCollation(java.lang.String, net.sf.saxon.lib.StringCollator, boolean)"><!-- --></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> name, <A HREF="../../../../net/sf/saxon/lib/StringCollator.html" title="interface in net.sf.saxon.lib">StringCollator</A> comparator, boolean isDefault)</PRE> <DL> <DD>Declare a named collation <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the collation (technically, a URI)<DD><CODE>comparator</CODE> - The StringCollator used to implement the collating sequence<DD><CODE>isDefault</CODE> - True if this is to be used as the default collation</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> name)</PRE> <DL> <DD>Get a named collation. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getCollation(java.lang.String)">getCollation</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the required collation. Supply null to get the default collation. <DT><B>Returns:</B><DD>the collation identified by the given name, as set previously using declareCollation. Return null if no collation with this name is found.</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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getDefaultCollationName()">getDefaultCollationName</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <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</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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getNamePool()">getNamePool</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the name pool</DL> </DD> </DL> <HR> <A NAME="issueWarning(java.lang.String, javax.xml.transform.SourceLocator)"><!-- --></A><H3> issueWarning</H3> <PRE> public void <B>issueWarning</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> s, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/SourceLocator.html?is-external=true" title="class or interface in javax.xml.transform">SourceLocator</A> locator)</PRE> <DL> <DD>Issue a compile-time warning. This method is used during XPath expression compilation to output warning conditions. The default implementation writes the message to the error listener registered with the Configuration. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#issueWarning(java.lang.String, javax.xml.transform.SourceLocator)">issueWarning</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>s</CODE> - The warning message. This should not contain any prefix such as "Warning".<DD><CODE>locator</CODE> - the location of the construct in question. May be null.</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. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getSystemId()">getSystemId</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>"" always</DL> </DD> </DL> <HR> <A NAME="getLineNumber()"><!-- --></A><H3> getLineNumber</H3> <PRE> public int <B>getLineNumber</B>()</PRE> <DL> <DD>Get the line number of the expression within that container. Used to construct error messages. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getLineNumber()">getLineNumber</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>-1 always</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 URI for elements and types Return NamespaceConstant.NULL (that is, the zero-length string) for the non-namespace <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getDefaultElementNamespace()">getDefaultElementNamespace</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the default namespace for elements and type</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> uri)</PRE> <DL> <DD>Set the default namespace for elements and types <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>uri</CODE> - the namespace to be used for unprefixed element and type names. The value "" (or NamespaceConstant.NULL) represents the non-namespace</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> uri)</PRE> <DL> <DD>Set the default function namespace <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>uri</CODE> - the namespace to be used for unprefixed function names. The value "" (or NamespaceConstant.NULL) represents the non-namespace</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. The value "" (or NamespaceConstant.NULL) represents the non-namespace <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getDefaultFunctionNamespace()">getDefaultFunctionNamespace</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the default namesapce for functions</DL> </DD> </DL> <HR> <A NAME="setXPathLanguageLevel(net.sf.saxon.value.DecimalValue)"><!-- --></A><H3> setXPathLanguageLevel</H3> <PRE> public void <B>setXPathLanguageLevel</B>(<A HREF="../../../../net/sf/saxon/value/DecimalValue.html" title="class in net.sf.saxon.value">DecimalValue</A> level)</PRE> <DL> <DD>Set the XPath language level supported, as a string. The current levels supported are 2.0, and 3.0. The default is 2.0. If running XQuery 1.0, the value is "2.0"; if running XQuery 3.0, it is 3.0. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>level</CODE> - the XPath language level<DT><B>Since:</B></DT> <DD>9.3</DD> </DL> </DD> </DL> <HR> <A NAME="getXPathLanguageLevel()"><!-- --></A><H3> getXPathLanguageLevel</H3> <PRE> public <A HREF="../../../../net/sf/saxon/value/DecimalValue.html" title="class in net.sf.saxon.value">DecimalValue</A> <B>getXPathLanguageLevel</B>()</PRE> <DL> <DD>Get the XPath language level supported, as a string. The current levels supported are "2.0", and "3.0". The default is "2.0". If running XQuery 1.0, the value is "2.0"; if running XQuery 3.0, it is "3.0". <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getXPathLanguageLevel()">getXPathLanguageLevel</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the XPath language level<DT><B>Since:</B></DT> <DD>9.3</DD> </DL> </DD> </DL> <HR> <A NAME="setBackwardsCompatibilityMode(boolean)"><!-- --></A><H3> setBackwardsCompatibilityMode</H3> <PRE> public void <B>setBackwardsCompatibilityMode</B>(boolean option)</PRE> <DL> <DD>Set XPath 1.0 backwards compatibility mode on or off <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>option</CODE> - true if XPath 1.0 compatibility mode is to be set to true; otherwise false</DL> </DD> </DL> <HR> <A NAME="isInBackwardsCompatibleMode()"><!-- --></A><H3> isInBackwardsCompatibleMode</H3> <PRE> public boolean <B>isInBackwardsCompatibleMode</B>()</PRE> <DL> <DD>Determine whether Backwards Compatible Mode is used <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#isInBackwardsCompatibleMode()">isInBackwardsCompatibleMode</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if XPath 1.0 compatibility mode is to be set to true; otherwise false</DL> </DD> </DL> <HR> <A NAME="isAllowedBuiltInType(net.sf.saxon.type.BuiltInAtomicType)"><!-- --></A><H3> isAllowedBuiltInType</H3> <PRE> public boolean <B>isAllowedBuiltInType</B>(<A HREF="../../../../net/sf/saxon/type/BuiltInAtomicType.html" title="class in net.sf.saxon.type">BuiltInAtomicType</A> type)</PRE> <DL> <DD>Determine whether a built-in type is available in this context. This method caters for differences between host languages as to which set of types are built in. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#isAllowedBuiltInType(net.sf.saxon.type.BuiltInAtomicType)">isAllowedBuiltInType</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>type</CODE> - the supposedly built-in type. This will always be a type in the XS namespace. <DT><B>Returns:</B><DD>true if this type can be used in this static context</DL> </DD> </DL> <HR> <A NAME="setDecimalFormatManager(net.sf.saxon.trans.DecimalFormatManager)"><!-- --></A><H3> setDecimalFormatManager</H3> <PRE> public void <B>setDecimalFormatManager</B>(<A HREF="../../../../net/sf/saxon/trans/DecimalFormatManager.html" title="class in net.sf.saxon.trans">DecimalFormatManager</A> manager)</PRE> <DL> <DD>Set the DecimalFormatManager used to resolve the names of decimal formats used in calls to the format-number() function. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>manager</CODE> - the decimal format manager for this static context, or null if no named decimal formats are available in this environment.</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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getRequiredContextItemType()">getRequiredContextItemType</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the required type of the context item<DT><B>Since:</B></DT> <DD>9.3</DD> </DL> </DD> </DL> <HR> <A NAME="getDecimalFormatManager()"><!-- --></A><H3> getDecimalFormatManager</H3> <PRE> public <A HREF="../../../../net/sf/saxon/trans/DecimalFormatManager.html" title="class in net.sf.saxon.trans">DecimalFormatManager</A> <B>getDecimalFormatManager</B>()</PRE> <DL> <DD>Get a DecimalFormatManager to resolve the names of decimal formats used in calls to the format-number() function. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html#getDecimalFormatManager()">getDecimalFormatManager</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/StaticContext.html" title="interface in net.sf.saxon.expr">StaticContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the decimal format manager for this static context; a newly created empty DecimalFormatManager if none has been supplied<DT><B>Since:</B></DT> <DD>9.2</DD> </DL> </DD> </DL> <HR> <A NAME="getLocationProvider()"><!-- --></A><H3> getLocationProvider</H3> <PRE> public <A HREF="../../../../net/sf/saxon/event/LocationProvider.html" title="interface in net.sf.saxon.event">LocationProvider</A> <B>getLocationProvider</B>()</PRE> <DL> <DD>Get the LocationProvider allowing location identifiers to be resolved. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the LocationProvider that translates location identifiers into URIs and line numbers</DL> </DD> </DL> <HR> <A NAME="getPublicId()"><!-- --></A><H3> getPublicId</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>getPublicId</B>()</PRE> <DL> <DD>Return the public identifier. <p/> <p>The return value is the public identifier of the document entity or of the external parsed entity in which the markup that triggered the event appears.</p> <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>null (always).<DT><B>See Also:</B><DD><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#getSystemId()"><CODE>getSystemId()</CODE></A></DL> </DD> </DL> <HR> <A NAME="getColumnNumber()"><!-- --></A><H3> getColumnNumber</H3> <PRE> public int <B>getColumnNumber</B>()</PRE> <DL> <DD>Return the character position where the current document event ends. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>-1 (no column number is available).<DT><B>See Also:</B><DD><A HREF="../../../../net/sf/saxon/sxpath/AbstractStaticContext.html#getLineNumber()"><CODE>getLineNumber()</CODE></A></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"> PREV CLASS <A HREF="../../../../net/sf/saxon/sxpath/DedicatedStaticContext.html" title="class in net.sf.saxon.sxpath"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/sxpath/AbstractStaticContext.html" target="_top"><B>FRAMES</B></A> <A HREF="AbstractStaticContext.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <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>