| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| <!--NewPage-->
|
| <HTML>
|
| <HEAD>
|
| <!-- Generated by javadoc on Thu Nov 22 17:12:58 EST 2007 -->
|
| <TITLE>
|
| Xalan-Java 2.7.1: Class XPathContext
|
| </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> </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="class-use/XPathContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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="../../../org/apache/xpath/XPathAPI.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../org/apache/xpath/XPathContext.XPathExpressionContext.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>
|
| <A HREF="XPathContext.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: <A HREF="#inner_class_summary">INNER</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>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| <!-- ======== START OF CLASS DATA ======== -->
|
| <H2>
|
| <FONT SIZE="-1">
|
| org.apache.xpath</FONT>
|
| <BR>
|
| Class XPathContext</H2>
|
| <PRE>
|
| java.lang.Object
|
| |
|
| +--<A HREF="../../../org/apache/xml/dtm/DTMManager.html">org.apache.xml.dtm.DTMManager</A>
|
| |
|
| +--<B>org.apache.xpath.XPathContext</B>
|
| </PRE>
|
| <HR>
|
| <DL>
|
| <DT>public class <B>XPathContext</B><DT>extends <A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A></DL>
|
|
|
| <P>
|
| Default class for the runtime execution context for XPath. |
| |
| <p>This class extends DTMManager but does not directly implement it.</p>
|
| <P>
|
| <DL>
|
| <DT><B>Usage:</B><DD><i><font size="-1" color="#00FF00"> **For advanced use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <P>
|
| <!-- ======== INNER CLASS SUMMARY ======== -->
|
|
|
| <A NAME="inner_class_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Inner Class Summary</B></FONT></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> class</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.XPathExpressionContext.html">XPathContext.XPathExpressionContext</A></B></CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- =========== 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> <A HREF="../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#m_primaryReader">m_primaryReader</A></B></CODE>
|
|
|
| <BR>
|
| The reader of the primary source tree.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE>static int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#RECURSIONLIMIT">RECURSIONLIMIT</A></B></CODE>
|
|
|
| <BR>
|
| The ammount to use for stacks that record information during the |
| recursive execution.</TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="fields_inherited_from_class_org.apache.xml.dtm.DTMManager"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Fields inherited from class org.apache.xml.dtm.<A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A></B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><A HREF="../../../org/apache/xml/dtm/DTMManager.html#IDENT_DTM_DEFAULT">IDENT_DTM_DEFAULT</A>,
|
| <A HREF="../../../org/apache/xml/dtm/DTMManager.html#IDENT_DTM_NODE_BITS">IDENT_DTM_NODE_BITS</A>,
|
| <A HREF="../../../org/apache/xml/dtm/DTMManager.html#IDENT_MAX_DTMS">IDENT_MAX_DTMS</A>,
|
| <A HREF="../../../org/apache/xml/dtm/DTMManager.html#IDENT_NODE_DEFAULT">IDENT_NODE_DEFAULT</A>,
|
| <A HREF="../../../org/apache/xml/dtm/DTMManager.html#m_incremental">m_incremental</A>,
|
| <A HREF="../../../org/apache/xml/dtm/DTMManager.html#m_source_location">m_source_location</A></CODE></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ======== 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="../../../org/apache/xpath/XPathContext.html#XPathContext()">XPathContext</A></B>()</CODE>
|
|
|
| <BR>
|
| Create an XPathContext instance.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#XPathContext(boolean)">XPathContext</A></B>(boolean recursiveVarContext)</CODE>
|
|
|
| <BR>
|
| Create an XPathContext instance.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#XPathContext(java.lang.Object)">XPathContext</A></B>(java.lang.Object owner)</CODE>
|
|
|
| <BR>
|
| Create an XPathContext instance.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#XPathContext(java.lang.Object, boolean)">XPathContext</A></B>(java.lang.Object owner, |
| boolean recursiveVarContext)</CODE>
|
|
|
| <BR>
|
| Create an XPathContext instance.</TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ========== 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> <A HREF="../../../org/apache/xml/dtm/DTM.html">DTM</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#createDocumentFragment()">createDocumentFragment</A></B>()</CODE>
|
|
|
| <BR>
|
| Creates an empty <code>DocumentFragment</code> object.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#createDTMIterator(int)">createDTMIterator</A></B>(int node)</CODE>
|
|
|
| <BR>
|
| Create a new <code>DTMIterator</code> that holds exactly one node.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#createDTMIterator(int, org.apache.xml.dtm.DTMFilter, boolean)">createDTMIterator</A></B>(int whatToShow, |
| <A HREF="../../../org/apache/xml/dtm/DTMFilter.html">DTMFilter</A> filter, |
| boolean entityReferenceExpansion)</CODE>
|
|
|
| <BR>
|
| Create a new <code>DTMIterator</code> based only on a whatToShow and |
| a DTMFilter.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#createDTMIterator(java.lang.Object, int)">createDTMIterator</A></B>(java.lang.Object xpathCompiler, |
| int pos)</CODE>
|
|
|
| <BR>
|
| Create a new <code>DTMIterator</code> based on an XPath |
| <a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath</a> or |
| a <a href="http://www.w3.org/TR/xpath#NT-UnionExpr">UnionExpr</a>.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#createDTMIterator(java.lang.String, org.apache.xml.utils.PrefixResolver)">createDTMIterator</A></B>(java.lang.String xpathString, |
| <A HREF="../../../org/apache/xml/utils/PrefixResolver.html">PrefixResolver</A> presolver)</CODE>
|
|
|
| <BR>
|
| Create a new <code>DTMIterator</code> based on an XPath |
| <a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath</a> or |
| a <a href="http://www.w3.org/TR/xpath#NT-UnionExpr">UnionExpr</a>.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.util.Stack</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getAxesIteratorStackStacks()">getAxesIteratorStackStacks</A></B>()</CODE>
|
|
|
| <BR>
|
| </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="../../../org/apache/xpath/XPathContext.html#getContextNode()">getContextNode</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the current context node.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getContextNodeList()">getContextNodeList</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the current context node list.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.util.Stack</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getContextNodeListsStack()">getContextNodeListsStack</A></B>()</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getContextNodes()">getContextNodes</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the current context node list.</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="../../../org/apache/xpath/XPathContext.html#getCurrentExpressionNode()">getCurrentExpressionNode</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the current node that is the expression's context (i.e.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xml/utils/IntStack.html">IntStack</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getCurrentExpressionNodeStack()">getCurrentExpressionNodeStack</A></B>()</CODE>
|
|
|
| <BR>
|
| </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="../../../org/apache/xpath/XPathContext.html#getCurrentNode()">getCurrentNode</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the current context node.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xpath/axes/SubContextList.html">SubContextList</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getCurrentNodeList()">getCurrentNodeList</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the <a href="http://www.w3.org/TR/xslt#dt-current-node-list">current node list</a> |
| as defined by the XSLT spec.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xml/utils/IntStack.html">IntStack</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getCurrentNodeStack()">getCurrentNodeStack</A></B>()</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xml/dtm/DTM.html">DTM</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getDTM(int)">getDTM</A></B>(int nodeHandle)</CODE>
|
|
|
| <BR>
|
| Get an instance of a DTM that "owns" a node handle.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xml/dtm/DTM.html">DTM</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getDTM(javax.xml.transform.Source, boolean, org.apache.xml.dtm.DTMWSFilter, boolean, boolean)">getDTM</A></B>(<A HREF="../../../javax/xml/transform/Source.html">Source</A> source, |
| boolean unique, |
| <A HREF="../../../org/apache/xml/dtm/DTMWSFilter.html">DTMWSFilter</A> wsfilter, |
| boolean incremental, |
| boolean doIndexing)</CODE>
|
|
|
| <BR>
|
| Get an instance of a DTM, loaded with the content from the |
| specified source.</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="../../../org/apache/xpath/XPathContext.html#getDTMHandleFromNode(org.w3c.dom.Node)">getDTMHandleFromNode</A></B>(<A HREF="../../../org/w3c/dom/Node.html">Node</A> node)</CODE>
|
|
|
| <BR>
|
| Given a W3C DOM node, try and return a DTM handle.</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="../../../org/apache/xpath/XPathContext.html#getDTMIdentity(org.apache.xml.dtm.DTM)">getDTMIdentity</A></B>(<A HREF="../../../org/apache/xml/dtm/DTM.html">DTM</A> dtm)</CODE>
|
|
|
| <BR>
|
| %TBD% Doc</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getDTMManager()">getDTMManager</A></B>()</CODE>
|
|
|
| <BR>
|
| Return the DTMManager object.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xpath/objects/DTMXRTreeFrag.html">DTMXRTreeFrag</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getDTMXRTreeFrag(int)">getDTMXRTreeFrag</A></B>(int dtmIdentity)</CODE>
|
|
|
| <BR>
|
| Gets DTMXRTreeFrag object if one has already been created.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../javax/xml/transform/ErrorListener.html">ErrorListener</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getErrorListener()">getErrorListener</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the ErrorListener where errors and warnings are to be reported.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xalan/extensions/ExpressionContext.html">ExpressionContext</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getExpressionContext()">getExpressionContext</A></B>()</CODE>
|
|
|
| <BR>
|
| The the expression context for extensions for this context.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xml/dtm/DTM.html">DTM</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getGlobalRTFDTM()">getGlobalRTFDTM</A></B>()</CODE>
|
|
|
| <BR>
|
| Get a DTM to be used as a container for a global Result Tree |
| Fragment.</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="../../../org/apache/xpath/XPathContext.html#getIteratorRoot()">getIteratorRoot</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the current location path iterator root.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xml/utils/PrefixResolver.html">PrefixResolver</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getNamespaceContext()">getNamespaceContext</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the current namespace context for the xpath.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.Object</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getOwnerObject()">getOwnerObject</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the "owner" context of this context, which should be, |
| in the case of XSLT, the Transformer object.</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="../../../org/apache/xpath/XPathContext.html#getPredicatePos()">getPredicatePos</A></B>()</CODE>
|
|
|
| <BR>
|
| </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="../../../org/apache/xpath/XPathContext.html#getPredicateRoot()">getPredicateRoot</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the current predicate root.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/xml/sax/XMLReader.html">XMLReader</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getPrimaryReader()">getPrimaryReader</A></B>()</CODE>
|
|
|
| <BR>
|
| Get primary XMLReader associated with this execution context.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xml/dtm/DTM.html">DTM</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getRTFDTM()">getRTFDTM</A></B>()</CODE>
|
|
|
| <BR>
|
| Get a DTM to be used as a container for a dynamic Result Tree |
| Fragment.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../javax/xml/transform/SourceLocator.html">SourceLocator</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getSAXLocator()">getSAXLocator</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the current locater in the stylesheet.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xpath/SourceTreeManager.html">SourceTreeManager</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getSourceTreeManager()">getSourceTreeManager</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the SourceTreeManager associated with this execution context.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xpath/axes/SubContextList.html">SubContextList</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getSubContextList()">getSubContextList</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the current axes iterator, or return null if none.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../javax/xml/transform/URIResolver.html">URIResolver</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getURIResolver()">getURIResolver</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the URIResolver associated with this execution context.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/apache/xpath/VariableStack.html">VariableStack</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#getVarStack()">getVarStack</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the variable stack, which is in charge of variables and |
| parameters.</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="../../../org/apache/xpath/XPathContext.html#isSecureProcessing()">isSecureProcessing</A></B>()</CODE>
|
|
|
| <BR>
|
| Return the state of the secure processing feature</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="../../../org/apache/xpath/XPathContext.html#popContextNodeList()">popContextNodeList</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop the current context node list.</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="../../../org/apache/xpath/XPathContext.html#popCurrentExpressionNode()">popCurrentExpressionNode</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop the current node that is the expression's context |
| (i.e.</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="../../../org/apache/xpath/XPathContext.html#popCurrentNode()">popCurrentNode</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop the current context node.</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="../../../org/apache/xpath/XPathContext.html#popCurrentNodeAndExpression()">popCurrentNodeAndExpression</A></B>()</CODE>
|
|
|
| <BR>
|
| Set the current context node.</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="../../../org/apache/xpath/XPathContext.html#popExpressionState()">popExpressionState</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop the current context node, expression node, and prefix resolver.</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="../../../org/apache/xpath/XPathContext.html#popIteratorRoot()">popIteratorRoot</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop the current location path iterator root.</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="../../../org/apache/xpath/XPathContext.html#popNamespaceContext()">popNamespaceContext</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop the current namespace context for the xpath.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#popPredicatePos()">popPredicatePos</A></B>()</CODE>
|
|
|
| <BR>
|
| </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="../../../org/apache/xpath/XPathContext.html#popPredicateRoot()">popPredicateRoot</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop the current predicate root.</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="../../../org/apache/xpath/XPathContext.html#popRTFContext()">popRTFContext</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop the RTFDTM's context mark.</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="../../../org/apache/xpath/XPathContext.html#popSAXLocator()">popSAXLocator</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop the current locater.</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="../../../org/apache/xpath/XPathContext.html#popSubContextList()">popSubContextList</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop the last pushed axes 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="../../../org/apache/xpath/XPathContext.html#pushContextNodeList(org.apache.xml.dtm.DTMIterator)">pushContextNodeList</A></B>(<A HREF="../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A> nl)</CODE>
|
|
|
| <BR>
|
| Set the current context node list.</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="../../../org/apache/xpath/XPathContext.html#pushCurrentExpressionNode(int)">pushCurrentExpressionNode</A></B>(int n)</CODE>
|
|
|
| <BR>
|
| Set the current node that is the expression's context (i.e.</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="../../../org/apache/xpath/XPathContext.html#pushCurrentNode(int)">pushCurrentNode</A></B>(int n)</CODE>
|
|
|
| <BR>
|
| Set the current context node.</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="../../../org/apache/xpath/XPathContext.html#pushCurrentNodeAndExpression(int, int)">pushCurrentNodeAndExpression</A></B>(int cn, |
| int en)</CODE>
|
|
|
| <BR>
|
| Set the current context node and expression node.</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="../../../org/apache/xpath/XPathContext.html#pushExpressionState(int, int, org.apache.xml.utils.PrefixResolver)">pushExpressionState</A></B>(int cn, |
| int en, |
| <A HREF="../../../org/apache/xml/utils/PrefixResolver.html">PrefixResolver</A> nc)</CODE>
|
|
|
| <BR>
|
| Push the current context node, expression node, and prefix resolver.</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="../../../org/apache/xpath/XPathContext.html#pushIteratorRoot(int)">pushIteratorRoot</A></B>(int n)</CODE>
|
|
|
| <BR>
|
| Set the current location path iterator root.</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="../../../org/apache/xpath/XPathContext.html#pushNamespaceContext(org.apache.xml.utils.PrefixResolver)">pushNamespaceContext</A></B>(<A HREF="../../../org/apache/xml/utils/PrefixResolver.html">PrefixResolver</A> pr)</CODE>
|
|
|
| <BR>
|
| Push a current namespace context for the xpath.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#pushNamespaceContextNull()">pushNamespaceContextNull</A></B>()</CODE>
|
|
|
| <BR>
|
| Just increment the namespace contest stack, so that setNamespaceContext |
| can be used on the slot.</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="../../../org/apache/xpath/XPathContext.html#pushPredicatePos(int)">pushPredicatePos</A></B>(int n)</CODE>
|
|
|
| <BR>
|
| </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="../../../org/apache/xpath/XPathContext.html#pushPredicateRoot(int)">pushPredicateRoot</A></B>(int n)</CODE>
|
|
|
| <BR>
|
| Set the current predicate root.</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="../../../org/apache/xpath/XPathContext.html#pushRTFContext()">pushRTFContext</A></B>()</CODE>
|
|
|
| <BR>
|
| Push the RTFDTM's context mark, to allows discarding RTFs added after this |
| point.</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="../../../org/apache/xpath/XPathContext.html#pushSAXLocator(javax.xml.transform.SourceLocator)">pushSAXLocator</A></B>(<A HREF="../../../javax/xml/transform/SourceLocator.html">SourceLocator</A> location)</CODE>
|
|
|
| <BR>
|
| Set the current locater in the stylesheet.</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="../../../org/apache/xpath/XPathContext.html#pushSAXLocatorNull()">pushSAXLocatorNull</A></B>()</CODE>
|
|
|
| <BR>
|
| Push a slot on the locations stack so that setSAXLocator can be |
| repeatedly called.</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="../../../org/apache/xpath/XPathContext.html#pushSubContextList(org.apache.xpath.axes.SubContextList)">pushSubContextList</A></B>(<A HREF="../../../org/apache/xpath/axes/SubContextList.html">SubContextList</A> iter)</CODE>
|
|
|
| <BR>
|
| Push a TreeWalker on the stack.</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="../../../org/apache/xpath/XPathContext.html#release(org.apache.xml.dtm.DTM, boolean)">release</A></B>(<A HREF="../../../org/apache/xml/dtm/DTM.html">DTM</A> dtm, |
| boolean shouldHardDelete)</CODE>
|
|
|
| <BR>
|
| Release a DTM either to a lru pool, or completely remove reference.</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="../../../org/apache/xpath/XPathContext.html#reset()">reset</A></B>()</CODE>
|
|
|
| <BR>
|
| Reset for new run.</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="../../../org/apache/xpath/XPathContext.html#setAxesIteratorStackStacks(java.util.Stack)">setAxesIteratorStackStacks</A></B>(java.util.Stack s)</CODE>
|
|
|
| <BR>
|
| </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="../../../org/apache/xpath/XPathContext.html#setContextNodeListsStack(java.util.Stack)">setContextNodeListsStack</A></B>(java.util.Stack s)</CODE>
|
|
|
| <BR>
|
| </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="../../../org/apache/xpath/XPathContext.html#setCurrentExpressionNodeStack(org.apache.xml.utils.IntStack)">setCurrentExpressionNodeStack</A></B>(<A HREF="../../../org/apache/xml/utils/IntStack.html">IntStack</A> nv)</CODE>
|
|
|
| <BR>
|
| </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="../../../org/apache/xpath/XPathContext.html#setCurrentNodeStack(org.apache.xml.utils.IntStack)">setCurrentNodeStack</A></B>(<A HREF="../../../org/apache/xml/utils/IntStack.html">IntStack</A> nv)</CODE>
|
|
|
| <BR>
|
| </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="../../../org/apache/xpath/XPathContext.html#setErrorListener(javax.xml.transform.ErrorListener)">setErrorListener</A></B>(<A HREF="../../../javax/xml/transform/ErrorListener.html">ErrorListener</A> listener)</CODE>
|
|
|
| <BR>
|
| Set the ErrorListener where errors and warnings are to be reported.</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="../../../org/apache/xpath/XPathContext.html#setNamespaceContext(org.apache.xml.utils.PrefixResolver)">setNamespaceContext</A></B>(<A HREF="../../../org/apache/xml/utils/PrefixResolver.html">PrefixResolver</A> pr)</CODE>
|
|
|
| <BR>
|
| Get the current namespace context for the xpath.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#setPrimaryReader(org.xml.sax.XMLReader)">setPrimaryReader</A></B>(<A HREF="../../../org/xml/sax/XMLReader.html">XMLReader</A> reader)</CODE>
|
|
|
| <BR>
|
| Set primary XMLReader associated with this execution context.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#setSAXLocator(javax.xml.transform.SourceLocator)">setSAXLocator</A></B>(<A HREF="../../../javax/xml/transform/SourceLocator.html">SourceLocator</A> location)</CODE>
|
|
|
| <BR>
|
| Set the current locater in the stylesheet.</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="../../../org/apache/xpath/XPathContext.html#setSecureProcessing(boolean)">setSecureProcessing</A></B>(boolean flag)</CODE>
|
|
|
| <BR>
|
| Set the state of the secure processing feature</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="../../../org/apache/xpath/XPathContext.html#setSourceTreeManager(org.apache.xpath.SourceTreeManager)">setSourceTreeManager</A></B>(<A HREF="../../../org/apache/xpath/SourceTreeManager.html">SourceTreeManager</A> mgr)</CODE>
|
|
|
| <BR>
|
| Set the SourceTreeManager associated with this execution context.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#setURIResolver(javax.xml.transform.URIResolver)">setURIResolver</A></B>(<A HREF="../../../javax/xml/transform/URIResolver.html">URIResolver</A> resolver)</CODE>
|
|
|
| <BR>
|
| Set the URIResolver associated with this execution context.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/apache/xpath/XPathContext.html#setVarStack(org.apache.xpath.VariableStack)">setVarStack</A></B>(<A HREF="../../../org/apache/xpath/VariableStack.html">VariableStack</A> varStack)</CODE>
|
|
|
| <BR>
|
| Get the variable stack, which is in charge of variables and |
| parameters.</TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_org.apache.xml.dtm.DTMManager"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from class org.apache.xml.dtm.<A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A></B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><A HREF="../../../org/apache/xml/dtm/DTMManager.html#getDTMIdentityMask()">getDTMIdentityMask</A>,
|
| <A HREF="../../../org/apache/xml/dtm/DTMManager.html#getIncremental()">getIncremental</A>,
|
| <A HREF="../../../org/apache/xml/dtm/DTMManager.html#getNodeIdentityMask()">getNodeIdentityMask</A>,
|
| <A HREF="../../../org/apache/xml/dtm/DTMManager.html#getSource_location()">getSource_location</A>,
|
| <A HREF="../../../org/apache/xml/dtm/DTMManager.html#getXMLStringFactory()">getXMLStringFactory</A>,
|
| <A HREF="../../../org/apache/xml/dtm/DTMManager.html#newInstance(org.apache.xml.utils.XMLStringFactory)">newInstance</A>,
|
| <A HREF="../../../org/apache/xml/dtm/DTMManager.html#setIncremental(boolean)">setIncremental</A>,
|
| <A HREF="../../../org/apache/xml/dtm/DTMManager.html#setSource_location(boolean)">setSource_location</A>,
|
| <A HREF="../../../org/apache/xml/dtm/DTMManager.html#setXMLStringFactory(org.apache.xml.utils.XMLStringFactory)">setXMLStringFactory</A></CODE></TD>
|
| </TR>
|
| </TABLE>
|
| <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>equals,
|
| getClass,
|
| hashCode,
|
| notify,
|
| notifyAll,
|
| toString,
|
| wait,
|
| wait,
|
| wait</CODE></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <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="m_primaryReader"><!-- --></A><H3>
|
| m_primaryReader</H3>
|
| <PRE>
|
| public <A HREF="../../../org/xml/sax/XMLReader.html">XMLReader</A> <B>m_primaryReader</B></PRE>
|
| <DL>
|
| <DD>The reader of the primary source tree.</DL>
|
| <HR>
|
|
|
| <A NAME="RECURSIONLIMIT"><!-- --></A><H3>
|
| RECURSIONLIMIT</H3>
|
| <PRE>
|
| public static final int <B>RECURSIONLIMIT</B></PRE>
|
| <DL>
|
| <DD>The ammount to use for stacks that record information during the |
| recursive execution.</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="XPathContext()"><!-- --></A><H3>
|
| XPathContext</H3>
|
| <PRE>
|
| public <B>XPathContext</B>()</PRE>
|
| <DL>
|
| <DD>Create an XPathContext instance. This is equivalent to calling |
| the <A HREF="../../../org/apache/xpath/XPathContext.html#XPathContext(boolean)"><CODE>XPathContext(boolean)</CODE></A> constructor with the value |
| <code>true</code>.</DL>
|
| <HR>
|
|
|
| <A NAME="XPathContext(boolean)"><!-- --></A><H3>
|
| XPathContext</H3>
|
| <PRE>
|
| public <B>XPathContext</B>(boolean recursiveVarContext)</PRE>
|
| <DL>
|
| <DD>Create an XPathContext instance.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>recursiveVarContext</CODE> - A <code>boolean</code> value indicating whether |
| the XPath context needs to support pushing of scopes for |
| variable resolution</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="XPathContext(java.lang.Object)"><!-- --></A><H3>
|
| XPathContext</H3>
|
| <PRE>
|
| public <B>XPathContext</B>(java.lang.Object owner)</PRE>
|
| <DL>
|
| <DD>Create an XPathContext instance. This is equivalent to calling the |
| constructor <A HREF="../../../org/apache/xpath/XPathContext.html#XPathContext(java.lang.Object, boolean)"><CODE>XPathContext(java.lang.Object,boolean)</CODE></A> with the |
| value of the second parameter set to <code>true</code>.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>owner</CODE> - Value that can be retrieved via the getOwnerObject() method.<DT><B>See Also: </B><DD><A HREF="../../../org/apache/xpath/XPathContext.html#getOwnerObject()"><CODE>getOwnerObject()</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="XPathContext(java.lang.Object, boolean)"><!-- --></A><H3>
|
| XPathContext</H3>
|
| <PRE>
|
| public <B>XPathContext</B>(java.lang.Object owner, |
| boolean recursiveVarContext)</PRE>
|
| <DL>
|
| <DD>Create an XPathContext instance.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>owner</CODE> - Value that can be retrieved via the getOwnerObject() method.<DD><CODE>recursiveVarContext</CODE> - A <code>boolean</code> value indicating whether |
| the XPath context needs to support pushing of scopes for |
| variable resolution<DT><B>See Also: </B><DD><A HREF="../../../org/apache/xpath/XPathContext.html#getOwnerObject()"><CODE>getOwnerObject()</CODE></A></DL>
|
| </DD>
|
| </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="getDTMManager()"><!-- --></A><H3>
|
| getDTMManager</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A> <B>getDTMManager</B>()</PRE>
|
| <DL>
|
| <DD>Return the DTMManager object. Though XPathContext context extends |
| the DTMManager, it really is a proxy for the real DTMManager. If a |
| caller needs to make a lot of calls to the DTMManager, it is faster |
| if it gets the real one from this function.</DL>
|
| <HR>
|
|
|
| <A NAME="setSecureProcessing(boolean)"><!-- --></A><H3>
|
| setSecureProcessing</H3>
|
| <PRE>
|
| public void <B>setSecureProcessing</B>(boolean flag)</PRE>
|
| <DL>
|
| <DD>Set the state of the secure processing feature</DL>
|
| <HR>
|
|
|
| <A NAME="isSecureProcessing()"><!-- --></A><H3>
|
| isSecureProcessing</H3>
|
| <PRE>
|
| public boolean <B>isSecureProcessing</B>()</PRE>
|
| <DL>
|
| <DD>Return the state of the secure processing feature</DL>
|
| <HR>
|
|
|
| <A NAME="getDTM(javax.xml.transform.Source, boolean, org.apache.xml.dtm.DTMWSFilter, boolean, boolean)"><!-- --></A><H3>
|
| getDTM</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xml/dtm/DTM.html">DTM</A> <B>getDTM</B>(<A HREF="../../../javax/xml/transform/Source.html">Source</A> source, |
| boolean unique, |
| <A HREF="../../../org/apache/xml/dtm/DTMWSFilter.html">DTMWSFilter</A> wsfilter, |
| boolean incremental, |
| boolean doIndexing)</PRE>
|
| <DL>
|
| <DD>Get an instance of a DTM, loaded with the content from the |
| specified source. If the unique flag is true, a new instance will |
| always be returned. Otherwise it is up to the DTMManager to return a |
| new instance or an instance that it already created and may be being used |
| by someone else. |
| (I think more parameters will need to be added for error handling, and entity |
| resolution).<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>source</CODE> - the specification of the source object, which may be null, |
| in which case it is assumed that node construction will take |
| by some other means.<DD><CODE>unique</CODE> - true if the returned DTM must be unique, probably because it |
| is going to be mutated.<DD><CODE>wsfilter</CODE> - Enables filtering of whitespace nodes, and may be null.<DD><CODE>incremental</CODE> - true if the construction should try and be incremental.<DD><CODE>doIndexing</CODE> - true if the caller considers it worth it to use |
| indexing schemes.<DT><B>Returns:</B><DD>a non-null DTM reference.<DT><B>Overrides:</B><DD><A HREF="../../../org/apache/xml/dtm/DTMManager.html#getDTM(javax.xml.transform.Source, boolean, org.apache.xml.dtm.DTMWSFilter, boolean, boolean)">getDTM</A> in class <A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getDTM(int)"><!-- --></A><H3>
|
| getDTM</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xml/dtm/DTM.html">DTM</A> <B>getDTM</B>(int nodeHandle)</PRE>
|
| <DL>
|
| <DD>Get an instance of a DTM that "owns" a node handle.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nodeHandle</CODE> - the nodeHandle.<DT><B>Returns:</B><DD>a non-null DTM reference.<DT><B>Overrides:</B><DD><A HREF="../../../org/apache/xml/dtm/DTMManager.html#getDTM(int)">getDTM</A> in class <A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getDTMHandleFromNode(org.w3c.dom.Node)"><!-- --></A><H3>
|
| getDTMHandleFromNode</H3>
|
| <PRE>
|
| public int <B>getDTMHandleFromNode</B>(<A HREF="../../../org/w3c/dom/Node.html">Node</A> node)</PRE>
|
| <DL>
|
| <DD>Given a W3C DOM node, try and return a DTM handle. |
| Note: calling this may be non-optimal.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>node</CODE> - Non-null reference to a DOM node.<DT><B>Returns:</B><DD>a valid DTM handle.<DT><B>Overrides:</B><DD><A HREF="../../../org/apache/xml/dtm/DTMManager.html#getDTMHandleFromNode(org.w3c.dom.Node)">getDTMHandleFromNode</A> in class <A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getDTMIdentity(org.apache.xml.dtm.DTM)"><!-- --></A><H3>
|
| getDTMIdentity</H3>
|
| <PRE>
|
| public int <B>getDTMIdentity</B>(<A HREF="../../../org/apache/xml/dtm/DTM.html">DTM</A> dtm)</PRE>
|
| <DL>
|
| <DD>%TBD% Doc<DD><DL>
|
| <DT><B>Overrides:</B><DD><A HREF="../../../org/apache/xml/dtm/DTMManager.html#getDTMIdentity(org.apache.xml.dtm.DTM)">getDTMIdentity</A> in class <A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="createDocumentFragment()"><!-- --></A><H3>
|
| createDocumentFragment</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xml/dtm/DTM.html">DTM</A> <B>createDocumentFragment</B>()</PRE>
|
| <DL>
|
| <DD>Creates an empty <code>DocumentFragment</code> object.<DD><DL>
|
| <DT><B>Returns:</B><DD>A new <code>DocumentFragment handle</code>.<DT><B>Overrides:</B><DD><A HREF="../../../org/apache/xml/dtm/DTMManager.html#createDocumentFragment()">createDocumentFragment</A> in class <A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="release(org.apache.xml.dtm.DTM, boolean)"><!-- --></A><H3>
|
| release</H3>
|
| <PRE>
|
| public boolean <B>release</B>(<A HREF="../../../org/apache/xml/dtm/DTM.html">DTM</A> dtm, |
| boolean shouldHardDelete)</PRE>
|
| <DL>
|
| <DD>Release a DTM either to a lru pool, or completely remove reference. |
| DTMs without system IDs are always hard deleted. |
| State: experimental.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>dtm</CODE> - The DTM to be released.<DD><CODE>shouldHardDelete</CODE> - True if the DTM should be removed no matter what.<DT><B>Returns:</B><DD>true if the DTM was removed, false if it was put back in a lru pool.<DT><B>Overrides:</B><DD><A HREF="../../../org/apache/xml/dtm/DTMManager.html#release(org.apache.xml.dtm.DTM, boolean)">release</A> in class <A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="createDTMIterator(java.lang.Object, int)"><!-- --></A><H3>
|
| createDTMIterator</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A> <B>createDTMIterator</B>(java.lang.Object xpathCompiler, |
| int pos)</PRE>
|
| <DL>
|
| <DD>Create a new <code>DTMIterator</code> based on an XPath |
| <a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath</a> or |
| a <a href="http://www.w3.org/TR/xpath#NT-UnionExpr">UnionExpr</a>.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>xpathCompiler</CODE> - ??? Somehow we need to pass in a subpart of the |
| expression. I hate to do this with strings, since the larger expression |
| has already been parsed.<DD><CODE>pos</CODE> - The position in the expression.<DT><B>Returns:</B><DD>The newly created <code>DTMIterator</code>.<DT><B>Overrides:</B><DD><A HREF="../../../org/apache/xml/dtm/DTMManager.html#createDTMIterator(java.lang.Object, int)">createDTMIterator</A> in class <A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="createDTMIterator(java.lang.String, org.apache.xml.utils.PrefixResolver)"><!-- --></A><H3>
|
| createDTMIterator</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A> <B>createDTMIterator</B>(java.lang.String xpathString, |
| <A HREF="../../../org/apache/xml/utils/PrefixResolver.html">PrefixResolver</A> presolver)</PRE>
|
| <DL>
|
| <DD>Create a new <code>DTMIterator</code> based on an XPath |
| <a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath</a> or |
| a <a href="http://www.w3.org/TR/xpath#NT-UnionExpr">UnionExpr</a>.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>xpathString</CODE> - Must be a valid string expressing a |
| <a href="http://www.w3.org/TR/xpath#NT-LocationPath>LocationPath</a> or |
| a <a href="http://www.w3.org/TR/xpath#NT-UnionExpr">UnionExpr</a>.<DD><CODE>presolver</CODE> - An object that can resolve prefixes to namespace URLs.<DT><B>Returns:</B><DD>The newly created <code>DTMIterator</code>.<DT><B>Overrides:</B><DD><A HREF="../../../org/apache/xml/dtm/DTMManager.html#createDTMIterator(java.lang.String, org.apache.xml.utils.PrefixResolver)">createDTMIterator</A> in class <A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="createDTMIterator(int, org.apache.xml.dtm.DTMFilter, boolean)"><!-- --></A><H3>
|
| createDTMIterator</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A> <B>createDTMIterator</B>(int whatToShow, |
| <A HREF="../../../org/apache/xml/dtm/DTMFilter.html">DTMFilter</A> filter, |
| boolean entityReferenceExpansion)</PRE>
|
| <DL>
|
| <DD>Create a new <code>DTMIterator</code> based only on a whatToShow and |
| a DTMFilter. The traversal semantics are defined as the descendant |
| access.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>whatToShow</CODE> - This flag specifies which node types may appear in |
| the logical view of the tree presented by the iterator. See the |
| description of <code>NodeFilter</code> for the set of possible |
| <code>SHOW_</code> values.These flags can be combined using |
| <code>OR</code>.<DD><CODE>filter</CODE> - The <code>NodeFilter</code> to be used with this |
| <code>TreeWalker</code>, or <code>null</code> to indicate no filter.<DD><CODE>entityReferenceExpansion</CODE> - The value of this flag determines |
| whether entity reference nodes are expanded.<DT><B>Returns:</B><DD>The newly created <code>NodeIterator</code>.<DT><B>Overrides:</B><DD><A HREF="../../../org/apache/xml/dtm/DTMManager.html#createDTMIterator(int, org.apache.xml.dtm.DTMFilter, boolean)">createDTMIterator</A> in class <A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="createDTMIterator(int)"><!-- --></A><H3>
|
| createDTMIterator</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A> <B>createDTMIterator</B>(int node)</PRE>
|
| <DL>
|
| <DD>Create a new <code>DTMIterator</code> that holds exactly one node.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>node</CODE> - The node handle that the DTMIterator will iterate to.<DT><B>Returns:</B><DD>The newly created <code>DTMIterator</code>.<DT><B>Overrides:</B><DD><A HREF="../../../org/apache/xml/dtm/DTMManager.html#createDTMIterator(int)">createDTMIterator</A> in class <A HREF="../../../org/apache/xml/dtm/DTMManager.html">DTMManager</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="reset()"><!-- --></A><H3>
|
| reset</H3>
|
| <PRE>
|
| public void <B>reset</B>()</PRE>
|
| <DL>
|
| <DD>Reset for new run.</DL>
|
| <HR>
|
|
|
| <A NAME="setSAXLocator(javax.xml.transform.SourceLocator)"><!-- --></A><H3>
|
| setSAXLocator</H3>
|
| <PRE>
|
| public void <B>setSAXLocator</B>(<A HREF="../../../javax/xml/transform/SourceLocator.html">SourceLocator</A> location)</PRE>
|
| <DL>
|
| <DD>Set the current locater in the stylesheet.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>location</CODE> - The location within the stylesheet.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushSAXLocator(javax.xml.transform.SourceLocator)"><!-- --></A><H3>
|
| pushSAXLocator</H3>
|
| <PRE>
|
| public void <B>pushSAXLocator</B>(<A HREF="../../../javax/xml/transform/SourceLocator.html">SourceLocator</A> location)</PRE>
|
| <DL>
|
| <DD>Set the current locater in the stylesheet.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>location</CODE> - The location within the stylesheet.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushSAXLocatorNull()"><!-- --></A><H3>
|
| pushSAXLocatorNull</H3>
|
| <PRE>
|
| public void <B>pushSAXLocatorNull</B>()</PRE>
|
| <DL>
|
| <DD>Push a slot on the locations stack so that setSAXLocator can be |
| repeatedly called.</DL>
|
| <HR>
|
|
|
| <A NAME="popSAXLocator()"><!-- --></A><H3>
|
| popSAXLocator</H3>
|
| <PRE>
|
| public void <B>popSAXLocator</B>()</PRE>
|
| <DL>
|
| <DD>Pop the current locater.</DL>
|
| <HR>
|
|
|
| <A NAME="getSAXLocator()"><!-- --></A><H3>
|
| getSAXLocator</H3>
|
| <PRE>
|
| public <A HREF="../../../javax/xml/transform/SourceLocator.html">SourceLocator</A> <B>getSAXLocator</B>()</PRE>
|
| <DL>
|
| <DD>Get the current locater in the stylesheet.<DD><DL>
|
| <DT><B>Returns:</B><DD>The location within the stylesheet, or null if not known.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getOwnerObject()"><!-- --></A><H3>
|
| getOwnerObject</H3>
|
| <PRE>
|
| public java.lang.Object <B>getOwnerObject</B>()</PRE>
|
| <DL>
|
| <DD>Get the "owner" context of this context, which should be, |
| in the case of XSLT, the Transformer object. This is needed |
| so that XSLT functions can get the Transformer.<DD><DL>
|
| <DT><B>Returns:</B><DD>The owner object passed into the constructor, or null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getVarStack()"><!-- --></A><H3>
|
| getVarStack</H3>
|
| <PRE>
|
| public final <A HREF="../../../org/apache/xpath/VariableStack.html">VariableStack</A> <B>getVarStack</B>()</PRE>
|
| <DL>
|
| <DD>Get the variable stack, which is in charge of variables and |
| parameters.<DD><DL>
|
| <DT><B>Returns:</B><DD>the variable stack, which should not be null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setVarStack(org.apache.xpath.VariableStack)"><!-- --></A><H3>
|
| setVarStack</H3>
|
| <PRE>
|
| public final void <B>setVarStack</B>(<A HREF="../../../org/apache/xpath/VariableStack.html">VariableStack</A> varStack)</PRE>
|
| <DL>
|
| <DD>Get the variable stack, which is in charge of variables and |
| parameters.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>varStack</CODE> - non-null reference to the variable stack.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getSourceTreeManager()"><!-- --></A><H3>
|
| getSourceTreeManager</H3>
|
| <PRE>
|
| public final <A HREF="../../../org/apache/xpath/SourceTreeManager.html">SourceTreeManager</A> <B>getSourceTreeManager</B>()</PRE>
|
| <DL>
|
| <DD>Get the SourceTreeManager associated with this execution context.<DD><DL>
|
| <DT><B>Returns:</B><DD>the SourceTreeManager associated with this execution context.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setSourceTreeManager(org.apache.xpath.SourceTreeManager)"><!-- --></A><H3>
|
| setSourceTreeManager</H3>
|
| <PRE>
|
| public void <B>setSourceTreeManager</B>(<A HREF="../../../org/apache/xpath/SourceTreeManager.html">SourceTreeManager</A> mgr)</PRE>
|
| <DL>
|
| <DD>Set the SourceTreeManager associated with this execution context.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>mgr</CODE> - the SourceTreeManager to be associated with this |
| execution context.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getErrorListener()"><!-- --></A><H3>
|
| getErrorListener</H3>
|
| <PRE>
|
| public final <A HREF="../../../javax/xml/transform/ErrorListener.html">ErrorListener</A> <B>getErrorListener</B>()</PRE>
|
| <DL>
|
| <DD>Get the ErrorListener where errors and warnings are to be reported.<DD><DL>
|
| <DT><B>Returns:</B><DD>A non-null ErrorListener reference.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setErrorListener(javax.xml.transform.ErrorListener)"><!-- --></A><H3>
|
| setErrorListener</H3>
|
| <PRE>
|
| public void <B>setErrorListener</B>(<A HREF="../../../javax/xml/transform/ErrorListener.html">ErrorListener</A> listener) |
| throws java.lang.IllegalArgumentException</PRE>
|
| <DL>
|
| <DD>Set the ErrorListener where errors and warnings are to be reported.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>listener</CODE> - A non-null ErrorListener reference.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getURIResolver()"><!-- --></A><H3>
|
| getURIResolver</H3>
|
| <PRE>
|
| public final <A HREF="../../../javax/xml/transform/URIResolver.html">URIResolver</A> <B>getURIResolver</B>()</PRE>
|
| <DL>
|
| <DD>Get the URIResolver associated with this execution context.<DD><DL>
|
| <DT><B>Returns:</B><DD>a URI resolver, which may be null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setURIResolver(javax.xml.transform.URIResolver)"><!-- --></A><H3>
|
| setURIResolver</H3>
|
| <PRE>
|
| public void <B>setURIResolver</B>(<A HREF="../../../javax/xml/transform/URIResolver.html">URIResolver</A> resolver)</PRE>
|
| <DL>
|
| <DD>Set the URIResolver associated with this execution context.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>resolver</CODE> - the URIResolver to be associated with this |
| execution context, may be null to clear an already set resolver.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getPrimaryReader()"><!-- --></A><H3>
|
| getPrimaryReader</H3>
|
| <PRE>
|
| public final <A HREF="../../../org/xml/sax/XMLReader.html">XMLReader</A> <B>getPrimaryReader</B>()</PRE>
|
| <DL>
|
| <DD>Get primary XMLReader associated with this execution context.<DD><DL>
|
| <DT><B>Returns:</B><DD>The reader of the primary source tree.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setPrimaryReader(org.xml.sax.XMLReader)"><!-- --></A><H3>
|
| setPrimaryReader</H3>
|
| <PRE>
|
| public void <B>setPrimaryReader</B>(<A HREF="../../../org/xml/sax/XMLReader.html">XMLReader</A> reader)</PRE>
|
| <DL>
|
| <DD>Set primary XMLReader associated with this execution context.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>reader</CODE> - The reader of the primary source tree.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getContextNodeListsStack()"><!-- --></A><H3>
|
| getContextNodeListsStack</H3>
|
| <PRE>
|
| public java.util.Stack <B>getContextNodeListsStack</B>()</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setContextNodeListsStack(java.util.Stack)"><!-- --></A><H3>
|
| setContextNodeListsStack</H3>
|
| <PRE>
|
| public void <B>setContextNodeListsStack</B>(java.util.Stack s)</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getContextNodeList()"><!-- --></A><H3>
|
| getContextNodeList</H3>
|
| <PRE>
|
| public final <A HREF="../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A> <B>getContextNodeList</B>()</PRE>
|
| <DL>
|
| <DD>Get the current context node list.<DD><DL>
|
| <DT><B>Returns:</B><DD>the <a href="http://www.w3.org/TR/xslt#dt-current-node-list">current node list</a>, |
| also refered to here as a <term>context node list</term>.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushContextNodeList(org.apache.xml.dtm.DTMIterator)"><!-- --></A><H3>
|
| pushContextNodeList</H3>
|
| <PRE>
|
| public final void <B>pushContextNodeList</B>(<A HREF="../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A> nl)</PRE>
|
| <DL>
|
| <DD>Set the current context node list.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>nl</CODE> - the <a href="http://www.w3.org/TR/xslt#dt-current-node-list">current node list</a>, |
| also refered to here as a <term>context node list</term>.<DT><B>Usage:</B><DD><i><font size="-1" color="#FF0000"> **For internal use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popContextNodeList()"><!-- --></A><H3>
|
| popContextNodeList</H3>
|
| <PRE>
|
| public final void <B>popContextNodeList</B>()</PRE>
|
| <DL>
|
| <DD>Pop the current context node list.<DD><DL>
|
| <DT><B>Usage:</B><DD><i><font size="-1" color="#FF0000"> **For internal use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getCurrentNodeStack()"><!-- --></A><H3>
|
| getCurrentNodeStack</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xml/utils/IntStack.html">IntStack</A> <B>getCurrentNodeStack</B>()</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setCurrentNodeStack(org.apache.xml.utils.IntStack)"><!-- --></A><H3>
|
| setCurrentNodeStack</H3>
|
| <PRE>
|
| public void <B>setCurrentNodeStack</B>(<A HREF="../../../org/apache/xml/utils/IntStack.html">IntStack</A> nv)</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getCurrentNode()"><!-- --></A><H3>
|
| getCurrentNode</H3>
|
| <PRE>
|
| public final int <B>getCurrentNode</B>()</PRE>
|
| <DL>
|
| <DD>Get the current context node.<DD><DL>
|
| <DT><B>Returns:</B><DD>the <a href="http://www.w3.org/TR/xslt#dt-current-node">current node</a>.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushCurrentNodeAndExpression(int, int)"><!-- --></A><H3>
|
| pushCurrentNodeAndExpression</H3>
|
| <PRE>
|
| public final void <B>pushCurrentNodeAndExpression</B>(int cn, |
| int en)</PRE>
|
| <DL>
|
| <DD>Set the current context node and expression node.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>cn</CODE> - the <a href="http://www.w3.org/TR/xslt#dt-current-node">current node</a>.<DD><CODE>en</CODE> - the sub-expression context node.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popCurrentNodeAndExpression()"><!-- --></A><H3>
|
| popCurrentNodeAndExpression</H3>
|
| <PRE>
|
| public final void <B>popCurrentNodeAndExpression</B>()</PRE>
|
| <DL>
|
| <DD>Set the current context node.</DL>
|
| <HR>
|
|
|
| <A NAME="pushExpressionState(int, int, org.apache.xml.utils.PrefixResolver)"><!-- --></A><H3>
|
| pushExpressionState</H3>
|
| <PRE>
|
| public final void <B>pushExpressionState</B>(int cn, |
| int en, |
| <A HREF="../../../org/apache/xml/utils/PrefixResolver.html">PrefixResolver</A> nc)</PRE>
|
| <DL>
|
| <DD>Push the current context node, expression node, and prefix resolver.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>cn</CODE> - the <a href="http://www.w3.org/TR/xslt#dt-current-node">current node</a>.<DD><CODE>en</CODE> - the sub-expression context node.<DD><CODE>nc</CODE> - the namespace context (prefix resolver.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popExpressionState()"><!-- --></A><H3>
|
| popExpressionState</H3>
|
| <PRE>
|
| public final void <B>popExpressionState</B>()</PRE>
|
| <DL>
|
| <DD>Pop the current context node, expression node, and prefix resolver.</DL>
|
| <HR>
|
|
|
| <A NAME="pushCurrentNode(int)"><!-- --></A><H3>
|
| pushCurrentNode</H3>
|
| <PRE>
|
| public final void <B>pushCurrentNode</B>(int n)</PRE>
|
| <DL>
|
| <DD>Set the current context node.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>n</CODE> - the <a href="http://www.w3.org/TR/xslt#dt-current-node">current node</a>.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popCurrentNode()"><!-- --></A><H3>
|
| popCurrentNode</H3>
|
| <PRE>
|
| public final void <B>popCurrentNode</B>()</PRE>
|
| <DL>
|
| <DD>Pop the current context node.</DL>
|
| <HR>
|
|
|
| <A NAME="pushPredicateRoot(int)"><!-- --></A><H3>
|
| pushPredicateRoot</H3>
|
| <PRE>
|
| public final void <B>pushPredicateRoot</B>(int n)</PRE>
|
| <DL>
|
| <DD>Set the current predicate root.</DL>
|
| <HR>
|
|
|
| <A NAME="popPredicateRoot()"><!-- --></A><H3>
|
| popPredicateRoot</H3>
|
| <PRE>
|
| public final void <B>popPredicateRoot</B>()</PRE>
|
| <DL>
|
| <DD>Pop the current predicate root.</DL>
|
| <HR>
|
|
|
| <A NAME="getPredicateRoot()"><!-- --></A><H3>
|
| getPredicateRoot</H3>
|
| <PRE>
|
| public final int <B>getPredicateRoot</B>()</PRE>
|
| <DL>
|
| <DD>Get the current predicate root.</DL>
|
| <HR>
|
|
|
| <A NAME="pushIteratorRoot(int)"><!-- --></A><H3>
|
| pushIteratorRoot</H3>
|
| <PRE>
|
| public final void <B>pushIteratorRoot</B>(int n)</PRE>
|
| <DL>
|
| <DD>Set the current location path iterator root.</DL>
|
| <HR>
|
|
|
| <A NAME="popIteratorRoot()"><!-- --></A><H3>
|
| popIteratorRoot</H3>
|
| <PRE>
|
| public final void <B>popIteratorRoot</B>()</PRE>
|
| <DL>
|
| <DD>Pop the current location path iterator root.</DL>
|
| <HR>
|
|
|
| <A NAME="getIteratorRoot()"><!-- --></A><H3>
|
| getIteratorRoot</H3>
|
| <PRE>
|
| public final int <B>getIteratorRoot</B>()</PRE>
|
| <DL>
|
| <DD>Get the current location path iterator root.</DL>
|
| <HR>
|
|
|
| <A NAME="getCurrentExpressionNodeStack()"><!-- --></A><H3>
|
| getCurrentExpressionNodeStack</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xml/utils/IntStack.html">IntStack</A> <B>getCurrentExpressionNodeStack</B>()</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setCurrentExpressionNodeStack(org.apache.xml.utils.IntStack)"><!-- --></A><H3>
|
| setCurrentExpressionNodeStack</H3>
|
| <PRE>
|
| public void <B>setCurrentExpressionNodeStack</B>(<A HREF="../../../org/apache/xml/utils/IntStack.html">IntStack</A> nv)</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getPredicatePos()"><!-- --></A><H3>
|
| getPredicatePos</H3>
|
| <PRE>
|
| public final int <B>getPredicatePos</B>()</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushPredicatePos(int)"><!-- --></A><H3>
|
| pushPredicatePos</H3>
|
| <PRE>
|
| public final void <B>pushPredicatePos</B>(int n)</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popPredicatePos()"><!-- --></A><H3>
|
| popPredicatePos</H3>
|
| <PRE>
|
| public final void <B>popPredicatePos</B>()</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getCurrentExpressionNode()"><!-- --></A><H3>
|
| getCurrentExpressionNode</H3>
|
| <PRE>
|
| public final int <B>getCurrentExpressionNode</B>()</PRE>
|
| <DL>
|
| <DD>Get the current node that is the expression's context (i.e. for current() support).<DD><DL>
|
| <DT><B>Returns:</B><DD>The current sub-expression node.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushCurrentExpressionNode(int)"><!-- --></A><H3>
|
| pushCurrentExpressionNode</H3>
|
| <PRE>
|
| public final void <B>pushCurrentExpressionNode</B>(int n)</PRE>
|
| <DL>
|
| <DD>Set the current node that is the expression's context (i.e. for current() support).<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>n</CODE> - The sub-expression node to be current.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popCurrentExpressionNode()"><!-- --></A><H3>
|
| popCurrentExpressionNode</H3>
|
| <PRE>
|
| public final void <B>popCurrentExpressionNode</B>()</PRE>
|
| <DL>
|
| <DD>Pop the current node that is the expression's context |
| (i.e. for current() support).</DL>
|
| <HR>
|
|
|
| <A NAME="getNamespaceContext()"><!-- --></A><H3>
|
| getNamespaceContext</H3>
|
| <PRE>
|
| public final <A HREF="../../../org/apache/xml/utils/PrefixResolver.html">PrefixResolver</A> <B>getNamespaceContext</B>()</PRE>
|
| <DL>
|
| <DD>Get the current namespace context for the xpath.<DD><DL>
|
| <DT><B>Returns:</B><DD>the current prefix resolver for resolving prefixes to |
| namespace URLs.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setNamespaceContext(org.apache.xml.utils.PrefixResolver)"><!-- --></A><H3>
|
| setNamespaceContext</H3>
|
| <PRE>
|
| public final void <B>setNamespaceContext</B>(<A HREF="../../../org/apache/xml/utils/PrefixResolver.html">PrefixResolver</A> pr)</PRE>
|
| <DL>
|
| <DD>Get the current namespace context for the xpath.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>pr</CODE> - the prefix resolver to be used for resolving prefixes to |
| namespace URLs.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushNamespaceContext(org.apache.xml.utils.PrefixResolver)"><!-- --></A><H3>
|
| pushNamespaceContext</H3>
|
| <PRE>
|
| public final void <B>pushNamespaceContext</B>(<A HREF="../../../org/apache/xml/utils/PrefixResolver.html">PrefixResolver</A> pr)</PRE>
|
| <DL>
|
| <DD>Push a current namespace context for the xpath.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>pr</CODE> - the prefix resolver to be used for resolving prefixes to |
| namespace URLs.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushNamespaceContextNull()"><!-- --></A><H3>
|
| pushNamespaceContextNull</H3>
|
| <PRE>
|
| public final void <B>pushNamespaceContextNull</B>()</PRE>
|
| <DL>
|
| <DD>Just increment the namespace contest stack, so that setNamespaceContext |
| can be used on the slot.</DL>
|
| <HR>
|
|
|
| <A NAME="popNamespaceContext()"><!-- --></A><H3>
|
| popNamespaceContext</H3>
|
| <PRE>
|
| public final void <B>popNamespaceContext</B>()</PRE>
|
| <DL>
|
| <DD>Pop the current namespace context for the xpath.</DL>
|
| <HR>
|
|
|
| <A NAME="getAxesIteratorStackStacks()"><!-- --></A><H3>
|
| getAxesIteratorStackStacks</H3>
|
| <PRE>
|
| public java.util.Stack <B>getAxesIteratorStackStacks</B>()</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setAxesIteratorStackStacks(java.util.Stack)"><!-- --></A><H3>
|
| setAxesIteratorStackStacks</H3>
|
| <PRE>
|
| public void <B>setAxesIteratorStackStacks</B>(java.util.Stack s)</PRE>
|
| <DL>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushSubContextList(org.apache.xpath.axes.SubContextList)"><!-- --></A><H3>
|
| pushSubContextList</H3>
|
| <PRE>
|
| public final void <B>pushSubContextList</B>(<A HREF="../../../org/apache/xpath/axes/SubContextList.html">SubContextList</A> iter)</PRE>
|
| <DL>
|
| <DD>Push a TreeWalker on the stack.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>iter</CODE> - A sub-context AxesWalker.<DT><B>Usage:</B><DD><i><font size="-1" color="#FF0000"> **For internal use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popSubContextList()"><!-- --></A><H3>
|
| popSubContextList</H3>
|
| <PRE>
|
| public final void <B>popSubContextList</B>()</PRE>
|
| <DL>
|
| <DD>Pop the last pushed axes iterator.<DD><DL>
|
| <DT><B>Usage:</B><DD><i><font size="-1" color="#FF0000"> **For internal use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getSubContextList()"><!-- --></A><H3>
|
| getSubContextList</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xpath/axes/SubContextList.html">SubContextList</A> <B>getSubContextList</B>()</PRE>
|
| <DL>
|
| <DD>Get the current axes iterator, or return null if none.<DD><DL>
|
| <DT><B>Returns:</B><DD>the sub-context node list.<DT><B>Usage:</B><DD><i><font size="-1" color="#FF0000"> **For internal use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getCurrentNodeList()"><!-- --></A><H3>
|
| getCurrentNodeList</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xpath/axes/SubContextList.html">SubContextList</A> <B>getCurrentNodeList</B>()</PRE>
|
| <DL>
|
| <DD>Get the <a href="http://www.w3.org/TR/xslt#dt-current-node-list">current node list</a> |
| as defined by the XSLT spec.<DD><DL>
|
| <DT><B>Returns:</B><DD>the <a href="http://www.w3.org/TR/xslt#dt-current-node-list">current node list</a>.<DT><B>Usage:</B><DD><i><font size="-1" color="#FF0000"> **For internal use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getContextNode()"><!-- --></A><H3>
|
| getContextNode</H3>
|
| <PRE>
|
| public final int <B>getContextNode</B>()</PRE>
|
| <DL>
|
| <DD>Get the current context node.<DD><DL>
|
| <DT><B>Returns:</B><DD>The current context node.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getContextNodes()"><!-- --></A><H3>
|
| getContextNodes</H3>
|
| <PRE>
|
| public final <A HREF="../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A> <B>getContextNodes</B>()</PRE>
|
| <DL>
|
| <DD>Get the current context node list.<DD><DL>
|
| <DT><B>Returns:</B><DD>An iterator for the current context list, as |
| defined in XSLT.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getExpressionContext()"><!-- --></A><H3>
|
| getExpressionContext</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xalan/extensions/ExpressionContext.html">ExpressionContext</A> <B>getExpressionContext</B>()</PRE>
|
| <DL>
|
| <DD>The the expression context for extensions for this context.<DD><DL>
|
| <DT><B>Returns:</B><DD>An object that implements the ExpressionContext.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getGlobalRTFDTM()"><!-- --></A><H3>
|
| getGlobalRTFDTM</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xml/dtm/DTM.html">DTM</A> <B>getGlobalRTFDTM</B>()</PRE>
|
| <DL>
|
| <DD>Get a DTM to be used as a container for a global Result Tree |
| Fragment. This will always be an instance of (derived from? equivalent to?) |
| SAX2DTM, since each RTF is constructed by temporarily redirecting our SAX |
| output to it. It may be a single DTM containing for multiple fragments, |
| if the implementation supports that. |
| |
| Note: The distinction between this method and getRTFDTM() is that the latter |
| allocates space from the dynamic variable stack (m_rtfdtm_stack), which may |
| be pruned away again as the templates which defined those variables are exited. |
| Global variables may be bound late (see XUnresolvedVariable), and never want to |
| be discarded, hence we need to allocate them separately and don't actually need |
| a stack to track them.<DD><DL>
|
| <DT><B>Returns:</B><DD>a non-null DTM reference.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getRTFDTM()"><!-- --></A><H3>
|
| getRTFDTM</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xml/dtm/DTM.html">DTM</A> <B>getRTFDTM</B>()</PRE>
|
| <DL>
|
| <DD>Get a DTM to be used as a container for a dynamic Result Tree |
| Fragment. This will always be an instance of (derived from? equivalent to?) |
| SAX2DTM, since each RTF is constructed by temporarily redirecting our SAX |
| output to it. It may be a single DTM containing for multiple fragments, |
| if the implementation supports that.<DD><DL>
|
| <DT><B>Returns:</B><DD>a non-null DTM reference.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushRTFContext()"><!-- --></A><H3>
|
| pushRTFContext</H3>
|
| <PRE>
|
| public void <B>pushRTFContext</B>()</PRE>
|
| <DL>
|
| <DD>Push the RTFDTM's context mark, to allows discarding RTFs added after this |
| point. (If it doesn't exist we don't push, since we might still be able to |
| get away with not creating it. That requires that excessive pops be harmless.)</DL>
|
| <HR>
|
|
|
| <A NAME="popRTFContext()"><!-- --></A><H3>
|
| popRTFContext</H3>
|
| <PRE>
|
| public void <B>popRTFContext</B>()</PRE>
|
| <DL>
|
| <DD>Pop the RTFDTM's context mark. This discards any RTFs added after the last |
| mark was set. |
| |
| If there is no RTF DTM, there's nothing to pop so this |
| becomes a no-op. If pushes were issued before this was called, we count on |
| the fact that popRewindMark is defined such that overpopping just resets |
| to empty. |
| |
| Complicating factor: We need to handle the case of popping back to a previous |
| RTF DTM, if one of the weird produce-an-RTF-to-build-an-RTF cases arose. |
| Basically: If pop says this DTM is now empty, then return to the previous |
| if one exists, in whatever state we left it in. UGLY, but hopefully the |
| situation which forces us to consider this will arise exceedingly rarely.</DL>
|
| <HR>
|
|
|
| <A NAME="getDTMXRTreeFrag(int)"><!-- --></A><H3>
|
| getDTMXRTreeFrag</H3>
|
| <PRE>
|
| public <A HREF="../../../org/apache/xpath/objects/DTMXRTreeFrag.html">DTMXRTreeFrag</A> <B>getDTMXRTreeFrag</B>(int dtmIdentity)</PRE>
|
| <DL>
|
| <DD>Gets DTMXRTreeFrag object if one has already been created. |
| Creates new DTMXRTreeFrag object and adds to m_DTMXRTreeFrags HashMap, |
| otherwise.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>dtmIdentity</CODE> - <DT><B>Returns:</B><DD>DTMXRTreeFrag</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> </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="class-use/XPathContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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="../../../org/apache/xpath/XPathAPI.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../org/apache/xpath/XPathContext.XPathExpressionContext.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>
|
| <A HREF="XPathContext.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: <A HREF="#inner_class_summary">INNER</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>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| Copyright © 2006 Apache XML Project. All Rights Reserved.
|
| </BODY>
|
| </HTML>
|