<!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:10 GMT 2011 --> <TITLE> XPathContextMinor </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="XPathContextMinor"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/sf/saxon/expr/XPathContextMajor.html" title="class in net.sf.saxon.expr"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/expr/XPathContextMinor.LastValue.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/XPathContextMinor.html" target="_top"><B>FRAMES</B></A> <A HREF="XPathContextMinor.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: <A HREF="#nested_class_summary">NESTED</A> | <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.expr</FONT> <BR> Class XPathContextMinor</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.expr.XPathContextMinor</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../net/sf/saxon/expr/XPathContextMajor.html" title="class in net.sf.saxon.expr">XPathContextMajor</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>XPathContextMinor</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/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></DL> </PRE> <P> This class represents a minor change in the dynamic context in which an XPath expression is evaluated: a "major context" object allows all aspects of the dynamic context to change, whereas a "minor context" only allows changes to the focus and the destination for push output. <P> <P> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <A NAME="nested_class_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>Nested Class Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContextMinor.LastValue.html" title="class in net.sf.saxon.expr">XPathContextMinor.LastValue</A></B></CODE> <BR> Container for cached value of the last() function.</TD> </TR> </TABLE> <!-- =========== 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 <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/XPathContextMinor.html#stackFrame">stackFrame</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 ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContextMinor.html#XPathContextMinor()">XPathContextMinor</A></B>()</CODE> <BR> Private Constructor</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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContextMinor.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> receiver, int validation, <A HREF="../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A> schemaType)</CODE> <BR> 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> <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/XPathContextMinor.html#evaluateLocalVariable(int)">evaluateLocalVariable</A></B>(int slotnumber)</CODE> <BR> 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> <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/XPathContextMinor.html#getCaller()">getCaller</A></B>()</CODE> <BR> 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> <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/XPathContextMinor.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/Configuration.html" title="class in net.sf.saxon">Configuration</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContextMinor.html#getConfiguration()">getConfiguration</A></B>()</CODE> <BR> Get the Configuration</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/XPathContextMinor.html#getContextItem()">getContextItem</A></B>()</CODE> <BR> Get the context item</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/XPathContextMinor.html#getController()">getController</A></B>()</CODE> <BR> Get the Controller.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/XPathContextMinor.html#getCurrentDateTime()">getCurrentDateTime</A></B>()</CODE> <BR> Get the current date and time for this query or transformation.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/XPathContextMinor.html#getCurrentException()">getCurrentException</A></B>()</CODE> <BR> 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> <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/XPathContextMinor.html#getCurrentGroupIterator()">getCurrentGroupIterator</A></B>()</CODE> <BR> Get the current group iterator.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/XPathContextMinor.html#getCurrentIterator()">getCurrentIterator</A></B>()</CODE> <BR> Get the current iterator.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/XPathContextMinor.html#getCurrentMode()">getCurrentMode</A></B>()</CODE> <BR> Get the current mode.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/XPathContextMinor.html#getCurrentRegexIterator()">getCurrentRegexIterator</A></B>()</CODE> <BR> Get the current regex iterator.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/XPathContextMinor.html#getCurrentTemplateRule()">getCurrentTemplateRule</A></B>()</CODE> <BR> Get the current template.</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/expr/XPathContextMinor.html#getImplicitTimezone()">getImplicitTimezone</A></B>()</CODE> <BR> Get the implicit timezone, as a positive or negative offset from UTC in minutes.</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/expr/XPathContextMinor.html#getLast()">getLast</A></B>()</CODE> <BR> 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> <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/XPathContextMinor.html#getLocalParameters()">getLocalParameters</A></B>()</CODE> <BR> Get the local parameters for the current template call.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/saxon/om/NameChecker.html" title="class in net.sf.saxon.om">NameChecker</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContextMinor.html#getNameChecker()">getNameChecker</A></B>()</CODE> <BR> Get a NameChecker for checking names against the XML 1.0 or XML 1.1 specification as appropriate</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/expr/XPathContextMinor.html#getNamePool()">getNamePool</A></B>()</CODE> <BR> Get the Name Pool</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/XPathContextMinor.html#getReceiver()">getReceiver</A></B>()</CODE> <BR> 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> <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/XPathContextMinor.html#getStackFrame()">getStackFrame</A></B>()</CODE> <BR> 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> <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/XPathContextMinor.html#getTunnelParameters()">getTunnelParameters</A></B>()</CODE> <BR> Get the tunnel parameters for the current template call.</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/expr/XPathContextMinor.html#isAtLast()">isAtLast</A></B>()</CODE> <BR> 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> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContextMinor.html#isTemporaryOutputState()">isTemporaryOutputState</A></B>()</CODE> <BR> 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> <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/XPathContextMinor.html#iterateStackFrames()">iterateStackFrames</A></B>()</CODE> <BR> Get the context stack.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <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/XPathContextMinor.html#newCleanContext()">newCleanContext</A></B>()</CODE> <BR> 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> <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/XPathContextMinor.html#newContext()">newContext</A></B>()</CODE> <BR> 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> <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/XPathContextMinor.html#newMinorContext()">newMinorContext</A></B>()</CODE> <BR> 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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContextMinor.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> caller)</CODE> <BR> Set the calling XPathContext</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/expr/XPathContextMinor.html#setCurrentException(net.sf.saxon.trans.XPathException)">setCurrentException</A></B>(<A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A> exception)</CODE> <BR> Set the current exception (in saxon:catch)</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/expr/XPathContextMinor.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> iter)</CODE> <BR> Set a new sequence iterator.</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/expr/XPathContextMinor.html#setLocalVariable(int, net.sf.saxon.om.ValueRepresentation)">setLocalVariable</A></B>(int slotnumber, <A HREF="../../../../net/sf/saxon/om/ValueRepresentation.html" title="interface in net.sf.saxon.om">ValueRepresentation</A> value)</CODE> <BR> 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> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/expr/XPathContextMinor.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> receiver)</CODE> <BR> Change the Receiver to which output is written</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/expr/XPathContextMinor.html#useLocalParameter(int, int, boolean)">useLocalParameter</A></B>(int parameterId, int slotNumber, boolean isTunnel)</CODE> <BR> Use local parameter.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ 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="stackFrame"><!-- --></A><H3> stackFrame</H3> <PRE> protected <A HREF="../../../../net/sf/saxon/expr/StackFrame.html" title="class in net.sf.saxon.expr">StackFrame</A> <B>stackFrame</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="XPathContextMinor()"><!-- --></A><H3> XPathContextMinor</H3> <PRE> protected <B>XPathContextMinor</B>()</PRE> <DL> <DD>Private Constructor <P> </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="newContext()"><!-- --></A><H3> newContext</H3> <PRE> public <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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#newContext()">newContext</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>a new context, created as a copy of this context</DL> </DD> </DL> <HR> <A NAME="newMinorContext()"><!-- --></A><H3> newMinorContext</H3> <PRE> public <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 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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#newMinorContext()">newMinorContext</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>a new minor context</DL> </DD> </DL> <HR> <A NAME="setCaller(net.sf.saxon.expr.XPathContext)"><!-- --></A><H3> setCaller</H3> <PRE> public void <B>setCaller</B>(<A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A> caller)</PRE> <DL> <DD>Set the calling XPathContext <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#setCaller(net.sf.saxon.expr.XPathContext)">setCaller</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>caller</CODE> - the XPathContext of the calling expression</DL> </DD> </DL> <HR> <A NAME="newCleanContext()"><!-- --></A><H3> newCleanContext</H3> <PRE> public <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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#newCleanContext()">newCleanContext</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>a new clean context</DL> </DD> </DL> <HR> <A NAME="getLocalParameters()"><!-- --></A><H3> getLocalParameters</H3> <PRE> public <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 parameters for the current template call. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getLocalParameters()">getLocalParameters</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the supplied parameters</DL> </DD> </DL> <HR> <A NAME="getTunnelParameters()"><!-- --></A><H3> getTunnelParameters</H3> <PRE> public <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 for the current template call. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getTunnelParameters()">getTunnelParameters</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the supplied tunnel parameters</DL> </DD> </DL> <HR> <A NAME="getController()"><!-- --></A><H3> getController</H3> <PRE> public final <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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getController()">getController</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <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> public final <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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getConfiguration()">getConfiguration</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the Saxon configuration object</DL> </DD> </DL> <HR> <A NAME="getNamePool()"><!-- --></A><H3> getNamePool</H3> <PRE> public final <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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getNamePool()">getNamePool</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the name pool</DL> </DD> </DL> <HR> <A NAME="getNameChecker()"><!-- --></A><H3> getNameChecker</H3> <PRE> public final <A HREF="../../../../net/sf/saxon/om/NameChecker.html" title="class in net.sf.saxon.om">NameChecker</A> <B>getNameChecker</B>()</PRE> <DL> <DD>Get a NameChecker for checking names against the XML 1.0 or XML 1.1 specification as appropriate <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the appropriate name checker</DL> </DD> </DL> <HR> <A NAME="getCaller()"><!-- --></A><H3> getCaller</H3> <PRE> public final <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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCaller()">getCaller</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <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> public void <B>setCurrentIterator</B>(<A HREF="../../../../net/sf/saxon/om/SequenceIterator.html" title="interface in net.sf.saxon.om">SequenceIterator</A> iter)</PRE> <DL> <DD>Set a new sequence iterator. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#setCurrentIterator(net.sf.saxon.om.SequenceIterator)">setCurrentIterator</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <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> public final <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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCurrentIterator()">getCurrentIterator</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <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> public final <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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getContextItem()">getContextItem</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <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> public final 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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getLast()">getLast</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <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> public final 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() <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#isAtLast()">isAtLast</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <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> public final <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) 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> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCollation(java.lang.String)">getCollation</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <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="getStackFrame()"><!-- --></A><H3> getStackFrame</H3> <PRE> public <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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getStackFrame()">getStackFrame</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>array of variables.</DL> </DD> </DL> <HR> <A NAME="evaluateLocalVariable(int)"><!-- --></A><H3> evaluateLocalVariable</H3> <PRE> public final <A HREF="../../../../net/sf/saxon/om/ValueRepresentation.html" title="interface in net.sf.saxon.om">ValueRepresentation</A> <B>evaluateLocalVariable</B>(int slotnumber)</PRE> <DL> <DD>Get the value of a local variable, identified by its slot number <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#evaluateLocalVariable(int)">evaluateLocalVariable</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <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> public final void <B>setLocalVariable</B>(int slotnumber, <A HREF="../../../../net/sf/saxon/om/ValueRepresentation.html" title="interface in net.sf.saxon.om">ValueRepresentation</A> value)</PRE> <DL> <DD>Set the value of a local variable, identified by its slot number <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#setLocalVariable(int, net.sf.saxon.om.ValueRepresentation)">setLocalVariable</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <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> public void <B>changeOutputDestination</B>(<A HREF="../../../../net/sf/saxon/event/Receiver.html" title="interface in net.sf.saxon.event">Receiver</A> receiver, int validation, <A HREF="../../../../net/sf/saxon/type/SchemaType.html" title="interface in net.sf.saxon.type">SchemaType</A> 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> This affects all further output until resetOutputDestination() is called. Note that it is the caller's responsibility to close the Writer after use. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#changeOutputDestination(net.sf.saxon.event.Receiver, int, net.sf.saxon.type.SchemaType)">changeOutputDestination</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>schemaType</CODE> - schema type against which the output is to be validated, if any<DD><CODE>receiver</CODE> - the new output destination<DD><CODE>validation</CODE> - validation mode: strict, lax, preserve, or strip <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 @param isFinal true if the destination is a final result tree (either the principal output or a secondary result tree); false if @param validation Validation to be performed on the output document</DL> </DD> </DL> <HR> <A NAME="setReceiver(net.sf.saxon.event.SequenceReceiver)"><!-- --></A><H3> setReceiver</H3> <PRE> public void <B>setReceiver</B>(<A HREF="../../../../net/sf/saxon/event/SequenceReceiver.html" title="class in net.sf.saxon.event">SequenceReceiver</A> receiver)</PRE> <DL> <DD>Change the Receiver to which output is written <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#setReceiver(net.sf.saxon.event.SequenceReceiver)">setReceiver</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <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> public final <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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getReceiver()">getReceiver</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the current Receiver</DL> </DD> </DL> <HR> <A NAME="isTemporaryOutputState()"><!-- --></A><H3> isTemporaryOutputState</H3> <PRE> public boolean <B>isTemporaryOutputState</B>()</PRE> <DL> <DD>Ask whether the XSLT output state is "temporary" or "final" <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#isTemporaryOutputState()">isTemporaryOutputState</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <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="useLocalParameter(int, int, boolean)"><!-- --></A><H3> useLocalParameter</H3> <PRE> public int <B>useLocalParameter</B>(int parameterId, int slotNumber, boolean 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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#useLocalParameter(int, int, boolean)">useLocalParameter</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>parameterId</CODE> - <DD><CODE>slotNumber</CODE> - <DD><CODE>isTunnel</CODE> - True if a tunnel parameter is required, else false @return ParameterSet.NOT_SUPPLIED, ParameterSet.SUPPLIED, or ParameterSet.SUPPLIED_AND_CHECKED <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="getCurrentMode()"><!-- --></A><H3> getCurrentMode</H3> <PRE> public <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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCurrentMode()">getCurrentMode</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the current mode</DL> </DD> </DL> <HR> <A NAME="getCurrentTemplateRule()"><!-- --></A><H3> getCurrentTemplateRule</H3> <PRE> public <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. This is used to support xsl:apply-imports <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCurrentTemplateRule()">getCurrentTemplateRule</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the current template</DL> </DD> </DL> <HR> <A NAME="getCurrentGroupIterator()"><!-- --></A><H3> getCurrentGroupIterator</H3> <PRE> public <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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCurrentGroupIterator()">getCurrentGroupIterator</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the current grouped collection</DL> </DD> </DL> <HR> <A NAME="getCurrentRegexIterator()"><!-- --></A><H3> getCurrentRegexIterator</H3> <PRE> public <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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCurrentRegexIterator()">getCurrentRegexIterator</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the current regular expressions iterator</DL> </DD> </DL> <HR> <A NAME="getCurrentDateTime()"><!-- --></A><H3> getCurrentDateTime</H3> <PRE> public <A HREF="../../../../net/sf/saxon/value/DateTimeValue.html" title="class in net.sf.saxon.value">DateTimeValue</A> <B>getCurrentDateTime</B>()</PRE> <DL> <DD>Get the current date and time for this query or transformation. All calls during one transformation return the same answer. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCurrentDateTime()">getCurrentDateTime</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>Get the current date and time. This will deliver the same value for repeated calls within the same transformation</DL> </DD> </DL> <HR> <A NAME="getImplicitTimezone()"><!-- --></A><H3> getImplicitTimezone</H3> <PRE> public final int <B>getImplicitTimezone</B>()</PRE> <DL> <DD>Get the implicit timezone, as a positive or negative offset from UTC in minutes. The range is -14hours to +14hours <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getImplicitTimezone()">getImplicitTimezone</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>the implicit timezone as an offset from UTC in minutes</DL> </DD> </DL> <HR> <A NAME="iterateStackFrames()"><!-- --></A><H3> iterateStackFrames</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A> <B>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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#iterateStackFrames()">iterateStackFrames</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>an iterator over a copy of the run-time call stack</DL> </DD> </DL> <HR> <A NAME="setCurrentException(net.sf.saxon.trans.XPathException)"><!-- --></A><H3> setCurrentException</H3> <PRE> public void <B>setCurrentException</B>(<A HREF="../../../../net/sf/saxon/trans/XPathException.html" title="class in net.sf.saxon.trans">XPathException</A> exception)</PRE> <DL> <DD>Set the current exception (in saxon:catch) <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>exception</CODE> - the current exception</DL> </DD> </DL> <HR> <A NAME="getCurrentException()"><!-- --></A><H3> getCurrentException</H3> <PRE> public <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>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html#getCurrentException()">getCurrentException</A></CODE> in interface <CODE><A HREF="../../../../net/sf/saxon/expr/XPathContext.html" title="interface in net.sf.saxon.expr">XPathContext</A></CODE></DL> </DD> <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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/sf/saxon/expr/XPathContextMajor.html" title="class in net.sf.saxon.expr"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/expr/XPathContextMinor.LastValue.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/XPathContextMinor.html" target="_top"><B>FRAMES</B></A> <A HREF="XPathContextMinor.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: <A HREF="#nested_class_summary">NESTED</A> | <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>