Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > b3bdfe6d859a3d6920ff2c44b38e9a6f > files > 1844

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:09 GMT 2011 -->
<TITLE>
XPathContext
</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="XPathContext";
    }
}
</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/expr/VennExpression.html" title="class in net.sf.saxon.expr"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../net/sf/saxon/expr/XPathContextMajor.html" title="class in net.sf.saxon.expr"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?net/sf/saxon/expr/XPathContext.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="XPathContext.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;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&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.expr</FONT>
<BR>
Interface XPathContext</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../net/sf/saxon/expr/EarlyEvaluationContext.html" title="class in net.sf.saxon.expr">EarlyEvaluationContext</A>, <A HREF="../../../../net/sf/saxon/expr/XPathContextMajor.html" title="class in net.sf.saxon.expr">XPathContextMajor</A>, <A HREF="../../../../net/sf/saxon/expr/XPathContextMinor.html" title="class in net.sf.saxon.expr">XPathContextMinor</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>XPathContext</B></DL>
</PRE>

<P>
This class represents a context in which an XPath expression is evaluated.
<P>

<P>
<HR>

<P>

<!-- ========== 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;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#changeOutputDestination(net.sf.saxon.event.Receiver, int, net.sf.saxon.type.SchemaType)">changeOutputDestination</A></B>(<A HREF="../../../../net/sf/saxon/event/Receiver.html" title="interface in net.sf.saxon.event">Receiver</A>&nbsp;receiver,
                        int&nbsp;validation,
                        <A HREF="../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A>&nbsp;schemaType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a new output destination, supplying the output format details.</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/ValueRepresentation.html" title="interface in net.sf.saxon.om">ValueRepresentation</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#evaluateLocalVariable(int)">evaluateLocalVariable</A></B>(int&nbsp;slotnumber)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the value of a local variable, identified by its slot number</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/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCaller()">getCaller</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the calling XPathContext (the next one down the stack).</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/expr/XPathContext.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/Configuration.html" title="class in net.sf.saxon">Configuration</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getConfiguration()">getConfiguration</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get 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/Item.html" title="interface in net.sf.saxon.om">Item</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getContextItem()">getContextItem</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the context item</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/Controller.html" title="class in net.sf.saxon">Controller</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getController()">getController</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the Controller.</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/DateTimeValue.html" title="class in net.sf.saxon.value">DateTimeValue</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCurrentDateTime()">getCurrentDateTime</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current date and time</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCurrentException()">getCurrentException</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current exception (in saxon:catch)</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/sort/GroupIterator.html" title="interface in net.sf.saxon.expr.sort">GroupIterator</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCurrentGroupIterator()">getCurrentGroupIterator</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current group iterator.</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/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCurrentIterator()">getCurrentIterator</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current iterator.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/trans/Mode.html" title="class in net.sf.saxon.trans">Mode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCurrentMode()">getCurrentMode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current mode.</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/regex/RegexIterator.html" title="interface in net.sf.saxon.functions.regex">RegexIterator</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCurrentRegexIterator()">getCurrentRegexIterator</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current regex iterator.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/trans/Rule.html" title="class in net.sf.saxon.trans">Rule</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCurrentTemplateRule()">getCurrentTemplateRule</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current template rule.</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/expr/XPathContext.html#getImplicitTimezone()">getImplicitTimezone</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the implicit timezone</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/expr/XPathContext.html#getLast()">getLast</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the context size (the position of the last item in the current node list)</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/ParameterSet.html" title="class in net.sf.saxon.expr.instruct">ParameterSet</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getLocalParameters()">getLocalParameters</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the local (non-tunnel) parameters that were passed to the current function or template</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/expr/XPathContext.html#getNamePool()">getNamePool</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the Name Pool</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/sf/saxon/event/SequenceReceiver.html" title="class in net.sf.saxon.event">SequenceReceiver</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getReceiver()">getReceiver</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the Receiver to which output is currently being written.</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/StackFrame.html" title="class in net.sf.saxon.expr">StackFrame</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getStackFrame()">getStackFrame</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a reference to the local stack frame for variables.</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/ParameterSet.html" title="class in net.sf.saxon.expr.instruct">ParameterSet</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getTunnelParameters()">getTunnelParameters</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the tunnel parameters that were passed to the current function or template.</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/expr/XPathContext.html#isAtLast()">isAtLast</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determine whether the context position is the same as the context size
 that is, whether position()=last().</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/expr/XPathContext.html#isTemporaryOutputState()">isTemporaryOutputState</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ask whether the XSLT output state is "temporary" or "final"</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/expr/XPathContext.html#iterateStackFrames()">iterateStackFrames</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the context stack.</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/XPathContextMajor.html" title="class in net.sf.saxon.expr">XPathContextMajor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#newCleanContext()">newCleanContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new context without copying (used for the context in a function call)</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/XPathContextMajor.html" title="class in net.sf.saxon.expr">XPathContextMajor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#newContext()">newContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new context as a copy of another.</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/XPathContextMinor.html" title="class in net.sf.saxon.expr">XPathContextMinor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#newMinorContext()">newMinorContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new minor context.</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/expr/XPathContext.html#setCaller(net.sf.saxon.expr.XPathContext)">setCaller</A></B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;caller)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the calling XPathContext</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/expr/XPathContext.html#setCurrentIterator(net.sf.saxon.om.SequenceIterator)">setCurrentIterator</A></B>(<A HREF="../../../../net/sf/saxon/om/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A>&nbsp;iter)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a new sequence iterator.</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/expr/XPathContext.html#setLocalVariable(int, net.sf.saxon.om.ValueRepresentation)">setLocalVariable</A></B>(int&nbsp;slotnumber,
                 <A HREF="../../../../net/sf/saxon/om/ValueRepresentation.html" title="interface in net.sf.saxon.om">ValueRepresentation</A>&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the value of a local variable, identified by its slot number</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/expr/XPathContext.html#setReceiver(net.sf.saxon.event.SequenceReceiver)">setReceiver</A></B>(<A HREF="../../../../net/sf/saxon/event/SequenceReceiver.html" title="class in net.sf.saxon.event">SequenceReceiver</A>&nbsp;receiver)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Change the SequenceReceiver to which output is written</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/expr/XPathContext.html#useLocalParameter(int, int, boolean)">useLocalParameter</A></B>(int&nbsp;parameterId,
                  int&nbsp;slotNumber,
                  boolean&nbsp;isTunnel)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use local parameter.</TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ 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="newContext()"><!-- --></A><H3>
newContext</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/expr/XPathContextMajor.html" title="class in net.sf.saxon.expr">XPathContextMajor</A> <B>newContext</B>()</PRE>
<DL>
<DD>Construct a new context as a copy of another. The new context is effectively added
 to the top of a stack, and contains a pointer to the previous context
<P>
<DD><DL>

<DT><B>Returns:</B><DD>a new context, created as a copy of this context</DL>
</DD>
</DL>
<HR>

<A NAME="newCleanContext()"><!-- --></A><H3>
newCleanContext</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/expr/XPathContextMajor.html" title="class in net.sf.saxon.expr">XPathContextMajor</A> <B>newCleanContext</B>()</PRE>
<DL>
<DD>Construct a new context without copying (used for the context in a function call)
<P>
<DD><DL>

<DT><B>Returns:</B><DD>a new clean context</DL>
</DD>
</DL>
<HR>

<A NAME="newMinorContext()"><!-- --></A><H3>
newMinorContext</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/expr/XPathContextMinor.html" title="class in net.sf.saxon.expr">XPathContextMinor</A> <B>newMinorContext</B>()</PRE>
<DL>
<DD>Construct a new minor context. A minor context can only hold new values of the focus
 (currentIterator) and current output destination.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>a new minor context</DL>
</DD>
</DL>
<HR>

<A NAME="getLocalParameters()"><!-- --></A><H3>
getLocalParameters</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/expr/instruct/ParameterSet.html" title="class in net.sf.saxon.expr.instruct">ParameterSet</A> <B>getLocalParameters</B>()</PRE>
<DL>
<DD>Get the local (non-tunnel) parameters that were passed to the current function or template
<P>
<DD><DL>

<DT><B>Returns:</B><DD>a ParameterSet containing the local parameters</DL>
</DD>
</DL>
<HR>

<A NAME="getTunnelParameters()"><!-- --></A><H3>
getTunnelParameters</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/expr/instruct/ParameterSet.html" title="class in net.sf.saxon.expr.instruct">ParameterSet</A> <B>getTunnelParameters</B>()</PRE>
<DL>
<DD>Get the tunnel parameters that were passed to the current function or template. This includes all
 active tunnel parameters whether the current template uses them or not.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>a ParameterSet containing the tunnel parameters</DL>
</DD>
</DL>
<HR>

<A NAME="getController()"><!-- --></A><H3>
getController</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/Controller.html" title="class in net.sf.saxon">Controller</A> <B>getController</B>()</PRE>
<DL>
<DD>Get the Controller. May return null when running outside XSLT or XQuery
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the controller for this query or transformation</DL>
</DD>
</DL>
<HR>

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

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

<A NAME="getNamePool()"><!-- --></A><H3>
getNamePool</H3>
<PRE>
<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 Name Pool
<P>
<DD><DL>

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

<A NAME="setCaller(net.sf.saxon.expr.XPathContext)"><!-- --></A><H3>
setCaller</H3>
<PRE>
void <B>setCaller</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A>&nbsp;caller)</PRE>
<DL>
<DD>Set the calling XPathContext
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>caller</CODE> - the XPathContext of the calling expression</DL>
</DD>
</DL>
<HR>

<A NAME="getCaller()"><!-- --></A><H3>
getCaller</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A> <B>getCaller</B>()</PRE>
<DL>
<DD>Get the calling XPathContext (the next one down the stack). This will be null if unknown, or
 if the bottom of the stack has been reached.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the XPathContext of the calling expression</DL>
</DD>
</DL>
<HR>

<A NAME="setCurrentIterator(net.sf.saxon.om.SequenceIterator)"><!-- --></A><H3>
setCurrentIterator</H3>
<PRE>
void <B>setCurrentIterator</B>(<A HREF="../../../../net/sf/saxon/om/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A>&nbsp;iter)</PRE>
<DL>
<DD>Set a new sequence iterator.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>iter</CODE> - the current iterator. The context item, position, and size are determined by reference
 to the current iterator.</DL>
</DD>
</DL>
<HR>

<A NAME="getCurrentIterator()"><!-- --></A><H3>
getCurrentIterator</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/om/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A> <B>getCurrentIterator</B>()</PRE>
<DL>
<DD>Get the current iterator.
 This encapsulates the context item, context position, and context size.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the current iterator, or null if there is no current iterator
 (which means the context item, position, and size are undefined).</DL>
</DD>
</DL>
<HR>

<A NAME="getContextItem()"><!-- --></A><H3>
getContextItem</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/om/Item.html" title="interface in net.sf.saxon.om">Item</A> <B>getContextItem</B>()</PRE>
<DL>
<DD>Get the context item
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the context item, or null if the context item is undefined</DL>
</DD>
</DL>
<HR>

<A NAME="getLast()"><!-- --></A><H3>
getLast</H3>
<PRE>
int <B>getLast</B>()
            throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Get the context size (the position of the last item in the current node list)
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the context size
<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 context position is undefined</DL>
</DD>
</DL>
<HR>

<A NAME="isAtLast()"><!-- --></A><H3>
isAtLast</H3>
<PRE>
boolean <B>isAtLast</B>()
                 throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Determine whether the context position is the same as the context size
 that is, whether position()=last(). In many cases this has better performance
 than a direct comparison, because it does not require reading to the end of the
 sequence.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true if the context position is the same as the context size.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getCollation(java.lang.String)"><!-- --></A><H3>
getCollation</H3>
<PRE>
<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)
                            throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Get a named collation.
 <p>Note: although collations are defined in the specification as being part of the static
 context, Saxon assumes that all available collations have global scope for a transformation
 or query, so that a collation URI can be translated into an actual collation without knowing
 where in the source code the collation URI was used. The default collation, however, can vary
 in different parts of a query or stylesheet, and expressions using the default collation must
 therefore get it from the static context.</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name (URI) of the required collation
<DT><B>Returns:</B><DD>a StringCollator representing the collation
<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 collation is not recognized</DL>
</DD>
</DL>
<HR>

<A NAME="useLocalParameter(int, int, boolean)"><!-- --></A><H3>
useLocalParameter</H3>
<PRE>
int <B>useLocalParameter</B>(int&nbsp;parameterId,
                      int&nbsp;slotNumber,
                      boolean&nbsp;isTunnel)
                      throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Use local parameter. This is called when a local xsl:param element is processed.
 If a parameter of the relevant name was supplied, it is bound to the xsl:param element.
 Otherwise the method returns false, so the xsl:param default will be evaluated
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parameterId</CODE> - Globally-unique parameter identifier<DD><CODE>slotNumber</CODE> - Slot number of the parameter within the stack frame of the called template<DD><CODE>isTunnel</CODE> - True if a tunnel parameter is required, else false
<DT><B>Returns:</B><DD>ParameterSet.NOT_SUPPLIED, ParameterSet.SUPPLIED, or ParameterSet.SUPPLIED_AND_CHECKED
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getStackFrame()"><!-- --></A><H3>
getStackFrame</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/expr/StackFrame.html" title="class in net.sf.saxon.expr">StackFrame</A> <B>getStackFrame</B>()</PRE>
<DL>
<DD>Get a reference to the local stack frame for variables. Note that it's
 the caller's job to make a local copy of this. This is used for creating
 a Closure containing a retained copy of the variables for delayed evaluation.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>array of variables.</DL>
</DD>
</DL>
<HR>

<A NAME="evaluateLocalVariable(int)"><!-- --></A><H3>
evaluateLocalVariable</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/om/ValueRepresentation.html" title="interface in net.sf.saxon.om">ValueRepresentation</A> <B>evaluateLocalVariable</B>(int&nbsp;slotnumber)</PRE>
<DL>
<DD>Get the value of a local variable, identified by its slot number
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>slotnumber</CODE> - the slot number allocated at compile time to the variable,
 which identifies its position within the local stack frame
<DT><B>Returns:</B><DD>the value of the variable.</DL>
</DD>
</DL>
<HR>

<A NAME="setLocalVariable(int, net.sf.saxon.om.ValueRepresentation)"><!-- --></A><H3>
setLocalVariable</H3>
<PRE>
void <B>setLocalVariable</B>(int&nbsp;slotnumber,
                      <A HREF="../../../../net/sf/saxon/om/ValueRepresentation.html" title="interface in net.sf.saxon.om">ValueRepresentation</A>&nbsp;value)</PRE>
<DL>
<DD>Set the value of a local variable, identified by its slot number
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>slotnumber</CODE> - the slot number allocated at compile time to the variable,
 which identifies its position within the local stack frame<DD><CODE>value</CODE> - the value of the variable</DL>
</DD>
</DL>
<HR>

<A NAME="changeOutputDestination(net.sf.saxon.event.Receiver, int, net.sf.saxon.type.SchemaType)"><!-- --></A><H3>
changeOutputDestination</H3>
<PRE>
void <B>changeOutputDestination</B>(<A HREF="../../../../net/sf/saxon/event/Receiver.html" title="interface in net.sf.saxon.event">Receiver</A>&nbsp;receiver,
                             int&nbsp;validation,
                             <A HREF="../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A>&nbsp;schemaType)
                             throws <A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A></PRE>
<DL>
<DD>Set a new output destination, supplying the output format details. <BR>
 Note that it is the caller's responsibility to close the Writer after use.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>receiver</CODE> - the new output destination<DD><CODE>validation</CODE> - validation mode: strict, lax, preserve, or strip<DD><CODE>schemaType</CODE> - type against which the output must be validated; null if not applicable
<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 any dynamic error occurs; and
     specifically, if an attempt is made to switch to a final output
     destination while writing a temporary tree or sequence</DL>
</DD>
</DL>
<HR>

<A NAME="isTemporaryOutputState()"><!-- --></A><H3>
isTemporaryOutputState</H3>
<PRE>
boolean <B>isTemporaryOutputState</B>()</PRE>
<DL>
<DD>Ask whether the XSLT output state is "temporary" or "final"
<P>
<DD><DL>

<DT><B>Returns:</B><DD>true to set temporary output state; false to set final output state</DL>
</DD>
</DL>
<HR>

<A NAME="setReceiver(net.sf.saxon.event.SequenceReceiver)"><!-- --></A><H3>
setReceiver</H3>
<PRE>
void <B>setReceiver</B>(<A HREF="../../../../net/sf/saxon/event/SequenceReceiver.html" title="class in net.sf.saxon.event">SequenceReceiver</A>&nbsp;receiver)</PRE>
<DL>
<DD>Change the SequenceReceiver to which output is written
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>receiver</CODE> - the SequenceReceiver to be used</DL>
</DD>
</DL>
<HR>

<A NAME="getReceiver()"><!-- --></A><H3>
getReceiver</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/event/SequenceReceiver.html" title="class in net.sf.saxon.event">SequenceReceiver</A> <B>getReceiver</B>()</PRE>
<DL>
<DD>Get the Receiver to which output is currently being written.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the current SequenceReceiver</DL>
</DD>
</DL>
<HR>

<A NAME="getCurrentMode()"><!-- --></A><H3>
getCurrentMode</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/trans/Mode.html" title="class in net.sf.saxon.trans">Mode</A> <B>getCurrentMode</B>()</PRE>
<DL>
<DD>Get the current mode.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the current mode</DL>
</DD>
</DL>
<HR>

<A NAME="getCurrentTemplateRule()"><!-- --></A><H3>
getCurrentTemplateRule</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/trans/Rule.html" title="class in net.sf.saxon.trans">Rule</A> <B>getCurrentTemplateRule</B>()</PRE>
<DL>
<DD>Get the current template rule. This is used to support xsl:apply-imports and xsl:next-match
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the current template rule</DL>
</DD>
</DL>
<HR>

<A NAME="getCurrentGroupIterator()"><!-- --></A><H3>
getCurrentGroupIterator</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/expr/sort/GroupIterator.html" title="interface in net.sf.saxon.expr.sort">GroupIterator</A> <B>getCurrentGroupIterator</B>()</PRE>
<DL>
<DD>Get the current group iterator. This supports the current-group() and
 current-grouping-key() functions in XSLT 2.0
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the current grouped collection</DL>
</DD>
</DL>
<HR>

<A NAME="getCurrentRegexIterator()"><!-- --></A><H3>
getCurrentRegexIterator</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/functions/regex/RegexIterator.html" title="interface in net.sf.saxon.functions.regex">RegexIterator</A> <B>getCurrentRegexIterator</B>()</PRE>
<DL>
<DD>Get the current regex iterator. This supports the functionality of the regex-group()
 function in XSLT 2.0.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the current regular expressions iterator</DL>
</DD>
</DL>
<HR>

<A NAME="getCurrentDateTime()"><!-- --></A><H3>
getCurrentDateTime</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/value/DateTimeValue.html" title="class in net.sf.saxon.value">DateTimeValue</A> <B>getCurrentDateTime</B>()
                                 throws <A HREF="../../../../net/sf/saxon/trans/NoDynamicContextException.html" title="class in net.sf.saxon.trans">NoDynamicContextException</A></PRE>
<DL>
<DD>Get the current date and time
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the current date and time. All calls within a single query or transformation
 will return the same value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/NoDynamicContextException.html" title="class in net.sf.saxon.trans">NoDynamicContextException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getImplicitTimezone()"><!-- --></A><H3>
getImplicitTimezone</H3>
<PRE>
int <B>getImplicitTimezone</B>()
                        throws <A HREF="../../../../net/sf/saxon/trans/NoDynamicContextException.html" title="class in net.sf.saxon.trans">NoDynamicContextException</A></PRE>
<DL>
<DD>Get the implicit timezone
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the implicit timezone. This will be the timezone of the current date and time, and
 all calls within a single query or transformation will return the same value. The result is
 expressed as an offset from UTC in minutes.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/saxon/trans/NoDynamicContextException.html" title="class in net.sf.saxon.trans">NoDynamicContextException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="iterateStackFrames()"><!-- --></A><H3>
iterateStackFrames</H3>
<PRE>
<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>iterateStackFrames</B>()</PRE>
<DL>
<DD>Get the context stack. This method returns an iterator whose items are instances of
 <A HREF="../../../../net/sf/saxon/trace/ContextStackFrame.html" title="class in net.sf.saxon.trace"><CODE>ContextStackFrame</CODE></A>, starting with the top-most stackframe and
 ending at the point the query or transformation was invoked by a calling application.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>an iterator over a copy of the run-time call stack</DL>
</DD>
</DL>
<HR>

<A NAME="getCurrentException()"><!-- --></A><H3>
getCurrentException</H3>
<PRE>
<A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A> <B>getCurrentException</B>()</PRE>
<DL>
<DD>Get the current exception (in saxon:catch)
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the current exception, or null if there is none defined</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/expr/VennExpression.html" title="class in net.sf.saxon.expr"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../net/sf/saxon/expr/XPathContextMajor.html" title="class in net.sf.saxon.expr"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?net/sf/saxon/expr/XPathContext.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="XPathContext.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;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&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>