Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 455f0c5faba5a18e97e845364ab15c78 > files > 13

saxon-6.5-1mdk.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Sep 18 10:25:34 GMT+01:00 2001 -->
<TITLE>
: Class  Context
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <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="../../../com/icl/saxon/ContentEmitter.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/icl/saxon/Controller.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Context.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.icl.saxon</FONT>
<BR>
Class  Context</H2>
<PRE>
java.lang.Object
  |
  +--<B>com.icl.saxon.Context</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../com/icl/saxon/expr/LastPositionFinder.html">LastPositionFinder</A>, <A HREF="../../../org/w3c/xsl/XSLTContext.html">XSLTContext</A></DD>
</DL>
<HR>
<DL>
<DT>public final class <B>Context</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../org/w3c/xsl/XSLTContext.html">XSLTContext</A>, <A HREF="../../../com/icl/saxon/expr/LastPositionFinder.html">LastPositionFinder</A></DL>

<P>
This class represents a context in which an expression is evaluated or a template is executed
 (as defined in the XSLT specification). It also provides a range of services to node handlers,
 for example access to the outputter and bindery, and the applyTemplates() function.
<P>
<HR>

<P>
<!-- ======== INNER CLASS SUMMARY ======== -->


<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#ALL_DEPENDENCIES">ALL_DEPENDENCIES</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#CONTEXT_DOCUMENT">CONTEXT_DOCUMENT</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#CONTEXT_NODE">CONTEXT_NODE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#CONTROLLER">CONTROLLER</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#CURRENT_NODE">CURRENT_NODE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#LAST">LAST</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#NO_DEPENDENCIES">NO_DEPENDENCIES</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#POSITION">POSITION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#VARIABLES">VARIABLES</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#XSLT_CONTEXT">XSLT_CONTEXT</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#Context()">Context</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a Context for local XPath use (no links to Controller, bindery, etc)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#Context(com.icl.saxon.Controller)">Context</A></B>(<A HREF="../../../com/icl/saxon/Controller.html">Controller</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor should only be called by the Controller, which acts as a Context factory.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/icl/saxon/Bindery.html">Bindery</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getBindery()">getBindery</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the Bindery used by this Context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.w3c.dom.Node</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getContextNode()">getContextNode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the context node, provided it is a DOM Node</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getContextNodeInfo()">getContextNodeInfo</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the context node</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="../../../com/icl/saxon/Context.html#getContextPosition()">getContextPosition</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the context position (the position of the context node in the context node list)</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="../../../com/icl/saxon/Context.html#getContextSize()">getContextSize</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="../../../com/icl/saxon/Controller.html">Controller</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getController()">getController</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the controller for this Context</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.w3c.dom.Node</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getCurrentNode()">getCurrentNode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current node,provided it is a DOM Node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getCurrentNodeInfo()">getCurrentNodeInfo</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/icl/saxon/style/XSLTemplate.html">XSLTemplate</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getCurrentTemplate()">getCurrentTemplate</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current template.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/icl/saxon/expr/XPathException.html">XPathException</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getException()">getException</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the saved exception value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Stack</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getGroupActivationStack()">getGroupActivationStack</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the saxon:group activation stack</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="../../../com/icl/saxon/Context.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;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getLastPosition()">getLastPosition</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the last position, to be used only
 when the context object is being used as the last position finder</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/icl/saxon/Mode.html">Mode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getMode()">getMode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current mode (for use by the built-in handlers)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/icl/saxon/output/Outputter.html">Outputter</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getOutputter()">getOutputter</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the current Outputter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;org.w3c.dom.Document</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getOwnerDocument()">getOwnerDocument</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get owner Document (enabling extension functions to create new Nodes)</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="../../../com/icl/saxon/Context.html#getRememberedNumber(com.icl.saxon.om.NodeInfo)">getRememberedNumber</A></B>(<A HREF="../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A>&nbsp;node)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the number of a node if it is the last remembered one.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/icl/saxon/expr/Value.html">Value</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getReturnValue()">getReturnValue</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the return value from function</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/icl/saxon/expr/StaticContext.html">StaticContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getStaticContext()">getStaticContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the static context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/icl/saxon/ParameterSet.html">ParameterSet</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#getTailRecursion()">getTailRecursion</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get tail recursion parameters</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="../../../com/icl/saxon/Context.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;<A HREF="../../../com/icl/saxon/Context.html">Context</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.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;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#setContextNode(com.icl.saxon.om.NodeInfo)">setContextNode</A></B>(<A HREF="../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A>&nbsp;node)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the context node.</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="../../../com/icl/saxon/Context.html#setController(com.icl.saxon.Controller)">setController</A></B>(<A HREF="../../../com/icl/saxon/Controller.html">Controller</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the controller for this 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="../../../com/icl/saxon/Context.html#setCurrentNode(com.icl.saxon.om.NodeInfo)">setCurrentNode</A></B>(<A HREF="../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A>&nbsp;node)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the current node.</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="../../../com/icl/saxon/Context.html#setCurrentTemplate(com.icl.saxon.style.XSLTemplate)">setCurrentTemplate</A></B>(<A HREF="../../../com/icl/saxon/style/XSLTemplate.html">XSLTemplate</A>&nbsp;template)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the current template.</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="../../../com/icl/saxon/Context.html#setException(com.icl.saxon.expr.XPathException)">setException</A></B>(<A HREF="../../../com/icl/saxon/expr/XPathException.html">XPathException</A>&nbsp;err)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set an exception value.</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="../../../com/icl/saxon/Context.html#setLast(int)">setLast</A></B>(int&nbsp;last)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the context size; this also makes the Context object responisble for returning the last()
 position.</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="../../../com/icl/saxon/Context.html#setLastPositionFinder(com.icl.saxon.expr.LastPositionFinder)">setLastPositionFinder</A></B>(<A HREF="../../../com/icl/saxon/expr/LastPositionFinder.html">LastPositionFinder</A>&nbsp;finder)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the LastPositionFinder, another object that will do the work of returning the last()
 position</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="../../../com/icl/saxon/Context.html#setMode(com.icl.saxon.Mode)">setMode</A></B>(<A HREF="../../../com/icl/saxon/Mode.html">Mode</A>&nbsp;mode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the mode (for use by the built-in handlers)</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="../../../com/icl/saxon/Context.html#setPosition(int)">setPosition</A></B>(int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the context position</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="../../../com/icl/saxon/Context.html#setRememberedNumber(com.icl.saxon.om.NodeInfo, int)">setRememberedNumber</A></B>(<A HREF="../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A>&nbsp;node,
                    int&nbsp;number)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the last remembered node, for node numbering purposes</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="../../../com/icl/saxon/Context.html#setReturnValue(com.icl.saxon.expr.Value)">setReturnValue</A></B>(<A HREF="../../../com/icl/saxon/expr/Value.html">Value</A>&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set return value from function</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="../../../com/icl/saxon/Context.html#setStaticContext(com.icl.saxon.expr.StaticContext)">setStaticContext</A></B>(<A HREF="../../../com/icl/saxon/expr/StaticContext.html">StaticContext</A>&nbsp;sc)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the static 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="../../../com/icl/saxon/Context.html#setTailRecursion(com.icl.saxon.ParameterSet)">setTailRecursion</A></B>(<A HREF="../../../com/icl/saxon/ParameterSet.html">ParameterSet</A>&nbsp;p)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set tail recursion parameters</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#stringValue(org.w3c.dom.Node)">stringValue</A></B>(org.w3c.dom.Node&nbsp;n)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the String value of a node</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/icl/saxon/Context.html#systemProperty(java.lang.String, java.lang.String)">systemProperty</A></B>(java.lang.String&nbsp;namespaceURI,
               java.lang.String&nbsp;localName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the value of a system property</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="VARIABLES"><!-- --></A><H3>
VARIABLES</H3>
<PRE>
public static final int <B>VARIABLES</B></PRE>
<DL>
</DL>
<HR>

<A NAME="CURRENT_NODE"><!-- --></A><H3>
CURRENT_NODE</H3>
<PRE>
public static final int <B>CURRENT_NODE</B></PRE>
<DL>
</DL>
<HR>

<A NAME="CONTEXT_NODE"><!-- --></A><H3>
CONTEXT_NODE</H3>
<PRE>
public static final int <B>CONTEXT_NODE</B></PRE>
<DL>
</DL>
<HR>

<A NAME="POSITION"><!-- --></A><H3>
POSITION</H3>
<PRE>
public static final int <B>POSITION</B></PRE>
<DL>
</DL>
<HR>

<A NAME="LAST"><!-- --></A><H3>
LAST</H3>
<PRE>
public static final int <B>LAST</B></PRE>
<DL>
</DL>
<HR>

<A NAME="CONTROLLER"><!-- --></A><H3>
CONTROLLER</H3>
<PRE>
public static final int <B>CONTROLLER</B></PRE>
<DL>
</DL>
<HR>

<A NAME="CONTEXT_DOCUMENT"><!-- --></A><H3>
CONTEXT_DOCUMENT</H3>
<PRE>
public static final int <B>CONTEXT_DOCUMENT</B></PRE>
<DL>
</DL>
<HR>

<A NAME="NO_DEPENDENCIES"><!-- --></A><H3>
NO_DEPENDENCIES</H3>
<PRE>
public static final int <B>NO_DEPENDENCIES</B></PRE>
<DL>
</DL>
<HR>

<A NAME="ALL_DEPENDENCIES"><!-- --></A><H3>
ALL_DEPENDENCIES</H3>
<PRE>
public static final int <B>ALL_DEPENDENCIES</B></PRE>
<DL>
</DL>
<HR>

<A NAME="XSLT_CONTEXT"><!-- --></A><H3>
XSLT_CONTEXT</H3>
<PRE>
public static final int <B>XSLT_CONTEXT</B></PRE>
<DL>
</DL>

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

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

<A NAME="Context()"><!-- --></A><H3>
Context</H3>
<PRE>
public <B>Context</B>()</PRE>
<DL>
<DD>Construct a Context for local XPath use (no links to Controller, bindery, etc)</DL>
<HR>

<A NAME="Context(com.icl.saxon.Controller)"><!-- --></A><H3>
Context</H3>
<PRE>
public <B>Context</B>(<A HREF="../../../com/icl/saxon/Controller.html">Controller</A>&nbsp;c)</PRE>
<DL>
<DD>Constructor should only be called by the Controller, which acts as a Context factory.</DL>

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

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

<A NAME="newContext()"><!-- --></A><H3>
newContext</H3>
<PRE>
public <A HREF="../../../com/icl/saxon/Context.html">Context</A> <B>newContext</B>()</PRE>
<DL>
<DD>Construct a new context as a copy of another<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setController(com.icl.saxon.Controller)"><!-- --></A><H3>
setController</H3>
<PRE>
public void <B>setController</B>(<A HREF="../../../com/icl/saxon/Controller.html">Controller</A>&nbsp;c)</PRE>
<DL>
<DD>Set the controller for this Context<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getController()"><!-- --></A><H3>
getController</H3>
<PRE>
public <A HREF="../../../com/icl/saxon/Controller.html">Controller</A> <B>getController</B>()</PRE>
<DL>
<DD>Get the controller for this Context<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getBindery()"><!-- --></A><H3>
getBindery</H3>
<PRE>
public <A HREF="../../../com/icl/saxon/Bindery.html">Bindery</A> <B>getBindery</B>()</PRE>
<DL>
<DD>Get the Bindery used by this Context<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getOutputter()"><!-- --></A><H3>
getOutputter</H3>
<PRE>
public <A HREF="../../../com/icl/saxon/output/Outputter.html">Outputter</A> <B>getOutputter</B>()</PRE>
<DL>
<DD>Get the current Outputter. This gives access to the writeStartTag, writeAttribute,
 and writeEndTag methods<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the current Outputter</DL>
</DD>
</DL>
<HR>

<A NAME="setMode(com.icl.saxon.Mode)"><!-- --></A><H3>
setMode</H3>
<PRE>
public void <B>setMode</B>(<A HREF="../../../com/icl/saxon/Mode.html">Mode</A>&nbsp;mode)</PRE>
<DL>
<DD>Set the mode (for use by the built-in handlers)<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getMode()"><!-- --></A><H3>
getMode</H3>
<PRE>
public <A HREF="../../../com/icl/saxon/Mode.html">Mode</A> <B>getMode</B>()</PRE>
<DL>
<DD>Get the current mode (for use by the built-in handlers)<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setContextNode(com.icl.saxon.om.NodeInfo)"><!-- --></A><H3>
setContextNode</H3>
<PRE>
public void <B>setContextNode</B>(<A HREF="../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A>&nbsp;node)</PRE>
<DL>
<DD>Set the context node. <br>
 Note that this has no effect on position() or last(), which must be set separately.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the node that is to be the context node.</DL>
</DD>
</DL>
<HR>

<A NAME="getContextNodeInfo()"><!-- --></A><H3>
getContextNodeInfo</H3>
<PRE>
public <A HREF="../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A> <B>getContextNodeInfo</B>()</PRE>
<DL>
<DD>Get the context node<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the context node</DL>
</DD>
</DL>
<HR>

<A NAME="getContextNode()"><!-- --></A><H3>
getContextNode</H3>
<PRE>
public org.w3c.dom.Node <B>getContextNode</B>()</PRE>
<DL>
<DD>Get the context node, provided it is a DOM Node<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/w3c/xsl/XSLTContext.html#getContextNode()">getContextNode</A></CODE> in interface <CODE><A HREF="../../../org/w3c/xsl/XSLTContext.html">XSLTContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the context node if it is a DOM Node, otherwise null</DL>
</DD>
</DL>
<HR>

<A NAME="setPosition(int)"><!-- --></A><H3>
setPosition</H3>
<PRE>
public void <B>setPosition</B>(int&nbsp;pos)</PRE>
<DL>
<DD>Set the context position<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getContextPosition()"><!-- --></A><H3>
getContextPosition</H3>
<PRE>
public int <B>getContextPosition</B>()</PRE>
<DL>
<DD>Get the context position (the position of the context node in the context node list)<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/w3c/xsl/XSLTContext.html#getContextPosition()">getContextPosition</A></CODE> in interface <CODE><A HREF="../../../org/w3c/xsl/XSLTContext.html">XSLTContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the context position (starting at one)</DL>
</DD>
</DL>
<HR>

<A NAME="setLast(int)"><!-- --></A><H3>
setLast</H3>
<PRE>
public void <B>setLast</B>(int&nbsp;last)</PRE>
<DL>
<DD>Set the context size; this also makes the Context object responisble for returning the last()
 position.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setLastPositionFinder(com.icl.saxon.expr.LastPositionFinder)"><!-- --></A><H3>
setLastPositionFinder</H3>
<PRE>
public void <B>setLastPositionFinder</B>(<A HREF="../../../com/icl/saxon/expr/LastPositionFinder.html">LastPositionFinder</A>&nbsp;finder)</PRE>
<DL>
<DD>Set the LastPositionFinder, another object that will do the work of returning the last()
 position<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getLast()"><!-- --></A><H3>
getLast</H3>
<PRE>
public int <B>getLast</B>()
            throws <A HREF="../../../com/icl/saxon/expr/XPathException.html">XPathException</A></PRE>
<DL>
<DD>Get the context size (the position of the last item in the current node list)<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the context size</DL>
</DD>
</DL>
<HR>

<A NAME="isAtLast()"><!-- --></A><H3>
isAtLast</H3>
<PRE>
public boolean <B>isAtLast</B>()
                 throws <A HREF="../../../com/icl/saxon/expr/XPathException.html">XPathException</A></PRE>
<DL>
<DD>Determine whether the context position is the same as the context size
 that is, whether position()=last()<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getContextSize()"><!-- --></A><H3>
getContextSize</H3>
<PRE>
public int <B>getContextSize</B>()</PRE>
<DL>
<DD>Get the context size (the position of the last item in the current node list).
 This is the XSLTContext method: it differs from getLast() in that it cannot throw
 an exception.
 This method should be called only from within extension functions. If any error occurs,
 it will be accessible via Context#getException().<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/w3c/xsl/XSLTContext.html#getContextSize()">getContextSize</A></CODE> in interface <CODE><A HREF="../../../org/w3c/xsl/XSLTContext.html">XSLTContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the context size</DL>
</DD>
</DL>
<HR>

<A NAME="getLastPosition()"><!-- --></A><H3>
getLastPosition</H3>
<PRE>
public int <B>getLastPosition</B>()</PRE>
<DL>
<DD>Get the last position, to be used only
 when the context object is being used as the last position finder<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../com/icl/saxon/expr/LastPositionFinder.html#getLastPosition()">getLastPosition</A></CODE> in interface <CODE><A HREF="../../../com/icl/saxon/expr/LastPositionFinder.html">LastPositionFinder</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setCurrentNode(com.icl.saxon.om.NodeInfo)"><!-- --></A><H3>
setCurrentNode</H3>
<PRE>
public void <B>setCurrentNode</B>(<A HREF="../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A>&nbsp;node)</PRE>
<DL>
<DD>Set the current node. This is the node in the source document currently being processed
 (e.g. by apply-templates).<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getCurrentNodeInfo()"><!-- --></A><H3>
getCurrentNodeInfo</H3>
<PRE>
public <A HREF="../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A> <B>getCurrentNodeInfo</B>()</PRE>
<DL>
<DD>Get the current node. This is the node in the source document currently being processed
 (e.g. by apply-templates). It is not necessarily the same as the context node: the context
 node can change in a sub-expression, the current node cannot.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getCurrentNode()"><!-- --></A><H3>
getCurrentNode</H3>
<PRE>
public org.w3c.dom.Node <B>getCurrentNode</B>()</PRE>
<DL>
<DD>Get the current node,provided it is a DOM Node.
 This is the node in the source document currently being processed
 (e.g. by apply-templates). It is not necessarily the same as the context node: the context
 node can change in a sub-expression, the current node cannot.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/w3c/xsl/XSLTContext.html#getCurrentNode()">getCurrentNode</A></CODE> in interface <CODE><A HREF="../../../org/w3c/xsl/XSLTContext.html">XSLTContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the current node if it is a DOM Node; otherwise null.</DL>
</DD>
</DL>
<HR>

<A NAME="setCurrentTemplate(com.icl.saxon.style.XSLTemplate)"><!-- --></A><H3>
setCurrentTemplate</H3>
<PRE>
public void <B>setCurrentTemplate</B>(<A HREF="../../../com/icl/saxon/style/XSLTemplate.html">XSLTemplate</A>&nbsp;template)</PRE>
<DL>
<DD>Set the current template. This is used to support xsl:apply-imports<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getCurrentTemplate()"><!-- --></A><H3>
getCurrentTemplate</H3>
<PRE>
public <A HREF="../../../com/icl/saxon/style/XSLTemplate.html">XSLTemplate</A> <B>getCurrentTemplate</B>()</PRE>
<DL>
<DD>Get the current template. This is used to support xsl:apply-imports<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getOwnerDocument()"><!-- --></A><H3>
getOwnerDocument</H3>
<PRE>
public org.w3c.dom.Document <B>getOwnerDocument</B>()</PRE>
<DL>
<DD>Get owner Document (enabling extension functions to create new Nodes)<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/w3c/xsl/XSLTContext.html#getOwnerDocument()">getOwnerDocument</A></CODE> in interface <CODE><A HREF="../../../org/w3c/xsl/XSLTContext.html">XSLTContext</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="systemProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
systemProperty</H3>
<PRE>
public java.lang.Object <B>systemProperty</B>(java.lang.String&nbsp;namespaceURI,
                                       java.lang.String&nbsp;localName)</PRE>
<DL>
<DD>Get the value of a system property<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/w3c/xsl/XSLTContext.html#systemProperty(java.lang.String, java.lang.String)">systemProperty</A></CODE> in interface <CODE><A HREF="../../../org/w3c/xsl/XSLTContext.html">XSLTContext</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="stringValue(org.w3c.dom.Node)"><!-- --></A><H3>
stringValue</H3>
<PRE>
public java.lang.String <B>stringValue</B>(org.w3c.dom.Node&nbsp;n)</PRE>
<DL>
<DD>Return the String value of a node<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../org/w3c/xsl/XSLTContext.html#stringValue(org.w3c.dom.Node)">stringValue</A></CODE> in interface <CODE><A HREF="../../../org/w3c/xsl/XSLTContext.html">XSLTContext</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if it is not a Saxon node</DL>
</DD>
</DL>
<HR>

<A NAME="setStaticContext(com.icl.saxon.expr.StaticContext)"><!-- --></A><H3>
setStaticContext</H3>
<PRE>
public void <B>setStaticContext</B>(<A HREF="../../../com/icl/saxon/expr/StaticContext.html">StaticContext</A>&nbsp;sc)</PRE>
<DL>
<DD>Set the static context<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getStaticContext()"><!-- --></A><H3>
getStaticContext</H3>
<PRE>
public <A HREF="../../../com/icl/saxon/expr/StaticContext.html">StaticContext</A> <B>getStaticContext</B>()</PRE>
<DL>
<DD>Get the static context. This is currently available only while processing an
 extension function<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setException(com.icl.saxon.expr.XPathException)"><!-- --></A><H3>
setException</H3>
<PRE>
public void <B>setException</B>(<A HREF="../../../com/icl/saxon/expr/XPathException.html">XPathException</A>&nbsp;err)</PRE>
<DL>
<DD>Set an exception value. This is useful when an extension function makes a call
 such as getContextSize() that causes an error. The error is saved as part of the
 context, and reported on return from the extension function<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getException()"><!-- --></A><H3>
getException</H3>
<PRE>
public <A HREF="../../../com/icl/saxon/expr/XPathException.html">XPathException</A> <B>getException</B>()</PRE>
<DL>
<DD>Get the saved exception value.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getGroupActivationStack()"><!-- --></A><H3>
getGroupActivationStack</H3>
<PRE>
public java.util.Stack <B>getGroupActivationStack</B>()</PRE>
<DL>
<DD>Get the saxon:group activation stack<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setRememberedNumber(com.icl.saxon.om.NodeInfo, int)"><!-- --></A><H3>
setRememberedNumber</H3>
<PRE>
public void <B>setRememberedNumber</B>(<A HREF="../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A>&nbsp;node,
                                int&nbsp;number)</PRE>
<DL>
<DD>Set the last remembered node, for node numbering purposes<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getRememberedNumber(com.icl.saxon.om.NodeInfo)"><!-- --></A><H3>
getRememberedNumber</H3>
<PRE>
public int <B>getRememberedNumber</B>(<A HREF="../../../com/icl/saxon/om/NodeInfo.html">NodeInfo</A>&nbsp;node)</PRE>
<DL>
<DD>Get the number of a node if it is the last remembered one.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the number of this node if known, else -1.</DL>
</DD>
</DL>
<HR>

<A NAME="setTailRecursion(com.icl.saxon.ParameterSet)"><!-- --></A><H3>
setTailRecursion</H3>
<PRE>
public void <B>setTailRecursion</B>(<A HREF="../../../com/icl/saxon/ParameterSet.html">ParameterSet</A>&nbsp;p)</PRE>
<DL>
<DD>Set tail recursion parameters<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getTailRecursion()"><!-- --></A><H3>
getTailRecursion</H3>
<PRE>
public <A HREF="../../../com/icl/saxon/ParameterSet.html">ParameterSet</A> <B>getTailRecursion</B>()</PRE>
<DL>
<DD>Get tail recursion parameters<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setReturnValue(com.icl.saxon.expr.Value)"><!-- --></A><H3>
setReturnValue</H3>
<PRE>
public void <B>setReturnValue</B>(<A HREF="../../../com/icl/saxon/expr/Value.html">Value</A>&nbsp;value)
                    throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Set return value from function<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getReturnValue()"><!-- --></A><H3>
getReturnValue</H3>
<PRE>
public <A HREF="../../../com/icl/saxon/expr/Value.html">Value</A> <B>getReturnValue</B>()</PRE>
<DL>
<DD>Get the return value from function<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <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="../../../com/icl/saxon/ContentEmitter.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/icl/saxon/Controller.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Context.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>

</BODY>
</HTML>