blob: 247e918446005f8e29e2e9aeada7c485ca7cf71c [file] [log] [blame]
<!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.5.0_18) on Sun Apr 01 21:18:41 PDT 2012 -->
<TITLE>
Compiler
</TITLE>
<META NAME="keywords" CONTENT="org.apache.xpath.compiler.Compiler class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="Compiler";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Compiler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../org/apache/xpath/compiler/FunctionTable.html" title="class in org.apache.xpath.compiler"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/xpath/compiler/Compiler.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="Compiler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xpath.compiler</FONT>
<BR>
Class Compiler</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/xpath/compiler/OpMap.html" title="class in org.apache.xpath.compiler">org.apache.xpath.compiler.OpMap</A>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xpath.compiler.Compiler</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.73"><B>Compiler</B></A><DT>extends <A HREF="../../../../org/apache/xpath/compiler/OpMap.html" title="class in org.apache.xpath.compiler">OpMap</A></DL>
</PRE>
<P>
An instance of this class compiles an XPath string expression into
a Expression object. This class compiles the string into a sequence
of operation codes (op map) and then builds from that into an Expression
tree.
<P>
<P>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#DEBUG">DEBUG</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#locPathDepth">locPathDepth</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;<A HREF="../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#m_currentPrefixResolver">m_currentPrefixResolver</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The current prefixResolver for the execution context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) &nbsp;javax.xml.transform.ErrorListener</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#m_errorHandler">m_errorHandler</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The error listener where errors will be sent.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;<A HREF="../../../../org/apache/xpath/compiler/FunctionTable.html" title="class in org.apache.xpath.compiler">FunctionTable</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#m_functionTable">m_functionTable</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The FunctionTable for all xpath build-in functions</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) &nbsp;javax.xml.transform.SourceLocator</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#m_locator">m_locator</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The source locator for the expression being compiled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#s_nextMethodId">s_nextMethodId</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.apache.xpath.compiler.OpMap"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.apache.xpath.compiler.<A HREF="../../../../org/apache/xpath/compiler/OpMap.html" title="class in org.apache.xpath.compiler">OpMap</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/apache/xpath/compiler/OpMap.html#BLOCKTOKENQUEUESIZE">BLOCKTOKENQUEUESIZE</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#m_currentPattern">m_currentPattern</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#m_opMap">m_opMap</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#m_tokenQueue">m_tokenQueue</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#MAPINDEX_LENGTH">MAPINDEX_LENGTH</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#MAXTOKENQUEUESIZE">MAXTOKENQUEUESIZE</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#Compiler()">Compiler</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a Compiler instance that has a null error listener and a
null source locator.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#Compiler(javax.xml.transform.ErrorListener, javax.xml.transform.SourceLocator, org.apache.xpath.compiler.FunctionTable)">Compiler</A></B>(javax.xml.transform.ErrorListener&nbsp;errorHandler,
javax.xml.transform.SourceLocator&nbsp;locator,
<A HREF="../../../../org/apache/xpath/compiler/FunctionTable.html" title="class in org.apache.xpath.compiler">FunctionTable</A>&nbsp;fTable)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a Compiler object with a specific ErrorListener and
SourceLocator where the expression is located.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#and(int)">and</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile an 'and' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#arg(int)">arg</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a function argument.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#assertion(boolean, java.lang.String)">assertion</A></B>(boolean&nbsp;b,
java.lang.String&nbsp;msg)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tell the user of an assertion error, and probably throw an
exception.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#bool(int)">bool</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a 'boolean(...)' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#compile(int)">compile</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Execute the XPath object from a given opcode position.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#compileExtension(int)">compileExtension</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile an extension function.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#compileFunction(int)">compileFunction</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a built-in XPath function.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#compileOperation(org.apache.xpath.operations.Operation, int)">compileOperation</A></B>(<A HREF="../../../../org/apache/xpath/operations/Operation.html" title="class in org.apache.xpath.operations">Operation</A>&nbsp;operation,
int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bottle-neck compilation of an operation with left and right operands.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#compilePredicates(int, org.apache.xpath.Expression[])">compilePredicates</A></B>(int&nbsp;opPos,
<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A>[]&nbsp;predicates)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compiles predicates in the step.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#compileUnary(org.apache.xpath.operations.UnaryOperation, int)">compileUnary</A></B>(<A HREF="../../../../org/apache/xpath/operations/UnaryOperation.html" title="class in org.apache.xpath.operations">UnaryOperation</A>&nbsp;unary,
int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bottle-neck compilation of a unary operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#countPredicates(int)">countPredicates</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Count the number of predicates in the step.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#div(int)">div</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a 'div' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#equals(int)">equals</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a '=' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#error(java.lang.String, java.lang.Object[])">error</A></B>(java.lang.String&nbsp;msg,
java.lang.Object[]&nbsp;args)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tell the user of an error, and probably throw an
exception.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#getCompiledPredicates(int)">getCompiledPredicates</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a zero or more predicates for a given match pattern.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) &nbsp;<A HREF="../../../../org/apache/xpath/compiler/FunctionTable.html" title="class in org.apache.xpath.compiler">FunctionTable</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#getFunctionTable()">getFunctionTable</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the function table</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#getLocationPathDepth()">getLocationPathDepth</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the level of the location path or union being constructed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#getNamespaceContext()">getNamespaceContext</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>private &nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#getNextMethodId()">getNextMethodId</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the next available method id</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#getWhatToShow(int)">getWhatToShow</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a <CODE>NodeFilter</CODE> bit set that tells what
to show for a given node test.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#group(int)">group</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile an expression group.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#gt(int)">gt</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a '>' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#gte(int)">gte</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a '>=' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#literal(int)">literal</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a literal string value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#locationPath(int)">locationPath</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a location path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#locationPathPattern(int)">locationPathPattern</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a location match pattern unit expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#lt(int)">lt</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a '<' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#lte(int)">lte</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a '<=' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#matchPattern(int)">matchPattern</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile an entire match pattern expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#minus(int)">minus</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a '-' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#mod(int)">mod</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a 'mod' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#mult(int)">mult</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a '*' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#neg(int)">neg</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a unary '-' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#notequals(int)">notequals</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a '!=' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#number(int)">number</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a 'number(...)' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#numberlit(int)">numberlit</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a literal number value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#or(int)">or</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile an 'or' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#plus(int)">plus</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a '+' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#predicate(int)">predicate</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a location step predicate expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#setNamespaceContext(org.apache.xml.utils.PrefixResolver)">setNamespaceContext</A></B>(<A HREF="../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A>&nbsp;pr)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set 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>protected &nbsp;<A HREF="../../../../org/apache/xpath/patterns/StepPattern.html" title="class in org.apache.xpath.patterns">StepPattern</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#stepPattern(int, int, org.apache.xpath.patterns.StepPattern)">stepPattern</A></B>(int&nbsp;opPos,
int&nbsp;stepCount,
<A HREF="../../../../org/apache/xpath/patterns/StepPattern.html" title="class in org.apache.xpath.patterns">StepPattern</A>&nbsp;ancestorPattern)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a step pattern unit expression, used for both location paths
and match patterns.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#string(int)">string</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a 'string(...)' operation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#union(int)">union</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a location path union.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#variable(int)">variable</A></B>(int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile a variable reference.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/compiler/Compiler.html#warn(java.lang.String, java.lang.Object[])">warn</A></B>(java.lang.String&nbsp;msg,
java.lang.Object[]&nbsp;args)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Warn the user of an problem.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.xpath.compiler.OpMap"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.apache.xpath.compiler.<A HREF="../../../../org/apache/xpath/compiler/OpMap.html" title="class in org.apache.xpath.compiler">OpMap</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getArgLength(int)">getArgLength</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getArgLengthOfStep(int)">getArgLengthOfStep</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getFirstChildPos(int)">getFirstChildPos</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getFirstChildPosOfStep(int)">getFirstChildPosOfStep</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getFirstPredicateOpPos(int)">getFirstPredicateOpPos</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getNextOpPos(int)">getNextOpPos</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getNextOpPos(int[], int)">getNextOpPos</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getNextStepPos(int)">getNextStepPos</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getOp(int)">getOp</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getOpMap()">getOpMap</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getPatternString()">getPatternString</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getStepLocalName(int)">getStepLocalName</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getStepNS(int)">getStepNS</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getStepTestType(int)">getStepTestType</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getToken(int)">getToken</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getTokenQueue()">getTokenQueue</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#getTokenQueueSize()">getTokenQueueSize</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#setOp(int, int)">setOp</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#shrink()">shrink</A>, <A HREF="../../../../org/apache/xpath/compiler/OpMap.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<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="locPathDepth"><!-- --></A><H3>
locPathDepth</H3>
<PRE>
private int <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.612"><B>locPathDepth</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="DEBUG"><!-- --></A><H3>
DEBUG</H3>
<PRE>
private static final boolean <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.807"><B>DEBUG</B></A></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xpath.compiler.Compiler.DEBUG">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="s_nextMethodId"><!-- --></A><H3>
s_nextMethodId</H3>
<PRE>
private static long <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.1078"><B>s_nextMethodId</B></A></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="m_currentPrefixResolver"><!-- --></A><H3>
m_currentPrefixResolver</H3>
<PRE>
private <A HREF="../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.1235"><B>m_currentPrefixResolver</B></A></PRE>
<DL>
<DD>The current prefixResolver for the execution context.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="m_errorHandler"><!-- --></A><H3>
m_errorHandler</H3>
<PRE>
javax.xml.transform.ErrorListener <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.1259"><B>m_errorHandler</B></A></PRE>
<DL>
<DD>The error listener where errors will be sent. If this is null, errors
and warnings will be sent to System.err. May be null.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="m_locator"><!-- --></A><H3>
m_locator</H3>
<PRE>
javax.xml.transform.SourceLocator <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.1262"><B>m_locator</B></A></PRE>
<DL>
<DD>The source locator for the expression being compiled. May be null.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="m_functionTable"><!-- --></A><H3>
m_functionTable</H3>
<PRE>
private <A HREF="../../../../org/apache/xpath/compiler/FunctionTable.html" title="class in org.apache.xpath.compiler">FunctionTable</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.1267"><B>m_functionTable</B></A></PRE>
<DL>
<DD>The FunctionTable for all xpath build-in functions
<P>
<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="Compiler(javax.xml.transform.ErrorListener, javax.xml.transform.SourceLocator, org.apache.xpath.compiler.FunctionTable)"><!-- --></A><H3>
Compiler</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.88"><B>Compiler</B></A>(javax.xml.transform.ErrorListener&nbsp;errorHandler,
javax.xml.transform.SourceLocator&nbsp;locator,
<A HREF="../../../../org/apache/xpath/compiler/FunctionTable.html" title="class in org.apache.xpath.compiler">FunctionTable</A>&nbsp;fTable)</PRE>
<DL>
<DD>Construct a Compiler object with a specific ErrorListener and
SourceLocator where the expression is located.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>errorHandler</CODE> - Error listener where messages will be sent, or null
if messages should be sent to System err.<DD><CODE>locator</CODE> - The location object where the expression lives, which
may be null, but which, if not null, must be valid over
the long haul, in other words, it will not be cloned.<DD><CODE>fTable</CODE> - The FunctionTable object where the xpath build-in
functions are stored.</DL>
</DL>
<HR>
<A NAME="Compiler()"><!-- --></A><H3>
Compiler</H3>
<PRE>
public <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.100"><B>Compiler</B></A>()</PRE>
<DL>
<DD>Construct a Compiler instance that has a null error listener and a
null source locator.
<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="compile(int)"><!-- --></A><H3>
compile</H3>
<PRE>
public <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.114"><B>compile</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Execute the XPath object from a given opcode position.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the xpath.m_opMap array.
<DT><B>Returns:</B><DD>The result of the XPath.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if there is a syntax or other error.</DL>
</DD>
</DL>
<HR>
<A NAME="compileOperation(org.apache.xpath.operations.Operation, int)"><!-- --></A><H3>
compileOperation</H3>
<PRE>
private <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.209"><B>compileOperation</B></A>(<A HREF="../../../../org/apache/xpath/operations/Operation.html" title="class in org.apache.xpath.operations">Operation</A>&nbsp;operation,
int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Bottle-neck compilation of an operation with left and right operands.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>operation</CODE> - non-null reference to parent operation.<DD><CODE>opPos</CODE> - The op map position of the parent operation.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Operation.html" title="class in org.apache.xpath.operations"><CODE>Operation</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if there is a syntax or other error.</DL>
</DD>
</DL>
<HR>
<A NAME="compileUnary(org.apache.xpath.operations.UnaryOperation, int)"><!-- --></A><H3>
compileUnary</H3>
<PRE>
private <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.231"><B>compileUnary</B></A>(<A HREF="../../../../org/apache/xpath/operations/UnaryOperation.html" title="class in org.apache.xpath.operations">UnaryOperation</A>&nbsp;unary,
int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Bottle-neck compilation of a unary operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>unary</CODE> - The parent unary operation.<DD><CODE>opPos</CODE> - The position in the op map of the parent operation.
<DT><B>Returns:</B><DD>The unary argument.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if syntax or other error occurs.</DL>
</DD>
</DL>
<HR>
<A NAME="or(int)"><!-- --></A><H3>
or</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.251"><B>or</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile an 'or' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Or.html" title="class in org.apache.xpath.operations"><CODE>Or</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="and(int)"><!-- --></A><H3>
and</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.265"><B>and</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile an 'and' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/And.html" title="class in org.apache.xpath.operations"><CODE>And</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="notequals(int)"><!-- --></A><H3>
notequals</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.279"><B>notequals</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a '!=' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/NotEquals.html" title="class in org.apache.xpath.operations"><CODE>NotEquals</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="equals(int)"><!-- --></A><H3>
equals</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.293"><B>equals</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a '=' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Equals.html" title="class in org.apache.xpath.operations"><CODE>Equals</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="lte(int)"><!-- --></A><H3>
lte</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.307"><B>lte</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a '<=' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Lte.html" title="class in org.apache.xpath.operations"><CODE>Lte</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="lt(int)"><!-- --></A><H3>
lt</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.321"><B>lt</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a '<' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Lt.html" title="class in org.apache.xpath.operations"><CODE>Lt</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="gte(int)"><!-- --></A><H3>
gte</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.335"><B>gte</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a '>=' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Gte.html" title="class in org.apache.xpath.operations"><CODE>Gte</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="gt(int)"><!-- --></A><H3>
gt</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.349"><B>gt</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a '>' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Gt.html" title="class in org.apache.xpath.operations"><CODE>Gt</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="plus(int)"><!-- --></A><H3>
plus</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.363"><B>plus</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a '+' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Plus.html" title="class in org.apache.xpath.operations"><CODE>Plus</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="minus(int)"><!-- --></A><H3>
minus</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.377"><B>minus</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a '-' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Minus.html" title="class in org.apache.xpath.operations"><CODE>Minus</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="mult(int)"><!-- --></A><H3>
mult</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.391"><B>mult</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a '*' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Mult.html" title="class in org.apache.xpath.operations"><CODE>Mult</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="div(int)"><!-- --></A><H3>
div</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.405"><B>div</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a 'div' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Div.html" title="class in org.apache.xpath.operations"><CODE>Div</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="mod(int)"><!-- --></A><H3>
mod</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.419"><B>mod</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a 'mod' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Mod.html" title="class in org.apache.xpath.operations"><CODE>Mod</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="neg(int)"><!-- --></A><H3>
neg</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.447"><B>neg</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a unary '-' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Neg.html" title="class in org.apache.xpath.operations"><CODE>Neg</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="string(int)"><!-- --></A><H3>
string</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.461"><B>string</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a 'string(...)' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/String.html" title="class in org.apache.xpath.operations"><CODE>String</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="bool(int)"><!-- --></A><H3>
bool</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.475"><B>bool</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a 'boolean(...)' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Bool.html" title="class in org.apache.xpath.operations"><CODE>Bool</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="number(int)"><!-- --></A><H3>
number</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.489"><B>number</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a 'number(...)' operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Number.html" title="class in org.apache.xpath.operations"><CODE>Number</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="literal(int)"><!-- --></A><H3>
literal</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.503"><B>literal</B></A>(int&nbsp;opPos)</PRE>
<DL>
<DD>Compile a literal string value.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/objects/XString.html" title="class in org.apache.xpath.objects"><CODE>XString</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="numberlit(int)"><!-- --></A><H3>
numberlit</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.520"><B>numberlit</B></A>(int&nbsp;opPos)</PRE>
<DL>
<DD>Compile a literal number value.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/objects/XNumber.html" title="class in org.apache.xpath.objects"><CODE>XNumber</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="variable(int)"><!-- --></A><H3>
variable</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.537"><B>variable</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a variable reference.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/operations/Variable.html" title="class in org.apache.xpath.operations"><CODE>Variable</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="group(int)"><!-- --></A><H3>
group</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.566"><B>group</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile an expression group.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to the contained expression.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="arg(int)"><!-- --></A><H3>
arg</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.582"><B>arg</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a function argument.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to the argument expression.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="union(int)"><!-- --></A><H3>
union</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.599"><B>union</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a location path union. The UnionPathIterator itself may create
<A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html" title="class in org.apache.xpath.axes"><CODE>LocPathIterator</CODE></A> children.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html" title="class in org.apache.xpath.axes"><CODE>LocPathIterator</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="getLocationPathDepth()"><!-- --></A><H3>
getLocationPathDepth</H3>
<PRE>
public int <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.618"><B>getLocationPathDepth</B></A>()</PRE>
<DL>
<DD>Get the level of the location path or union being constructed.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>0 if it is a top-level path.</DL>
</DD>
</DL>
<HR>
<A NAME="getFunctionTable()"><!-- --></A><H3>
getFunctionTable</H3>
<PRE>
<A HREF="../../../../org/apache/xpath/compiler/FunctionTable.html" title="class in org.apache.xpath.compiler">FunctionTable</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.626"><B>getFunctionTable</B></A>()</PRE>
<DL>
<DD>Get the function table
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="locationPath(int)"><!-- --></A><H3>
locationPath</H3>
<PRE>
public <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.641"><B>locationPath</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a location path. The LocPathIterator itself may create
<A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes"><CODE>AxesWalker</CODE></A> children.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html" title="class in org.apache.xpath.axes"><CODE>LocPathIterator</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="predicate(int)"><!-- --></A><H3>
predicate</H3>
<PRE>
public <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.664"><B>predicate</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a location step predicate expression.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>the contained predicate expression.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="matchPattern(int)"><!-- --></A><H3>
matchPattern</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.678"><B>matchPattern</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile an entire match pattern expression.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/patterns/UnionPattern.html" title="class in org.apache.xpath.patterns"><CODE>UnionPattern</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="locationPathPattern(int)"><!-- --></A><H3>
locationPathPattern</H3>
<PRE>
public <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.724"><B>locationPathPattern</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a location match pattern unit expression.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/patterns/StepPattern.html" title="class in org.apache.xpath.patterns"><CODE>StepPattern</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="getWhatToShow(int)"><!-- --></A><H3>
getWhatToShow</H3>
<PRE>
public int <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.742"><B>getWhatToShow</B></A>(int&nbsp;opPos)</PRE>
<DL>
<DD>Get a <CODE>NodeFilter</CODE> bit set that tells what
to show for a given node test.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - the op map position for the location step.
<DT><B>Returns:</B><DD><CODE>NodeFilter</CODE> bit set that tells what
to show for a given node test.</DL>
</DD>
</DL>
<HR>
<A NAME="stepPattern(int, int, org.apache.xpath.patterns.StepPattern)"><!-- --></A><H3>
stepPattern</H3>
<PRE>
protected <A HREF="../../../../org/apache/xpath/patterns/StepPattern.html" title="class in org.apache.xpath.patterns">StepPattern</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.821"><B>stepPattern</B></A>(int&nbsp;opPos,
int&nbsp;stepCount,
<A HREF="../../../../org/apache/xpath/patterns/StepPattern.html" title="class in org.apache.xpath.patterns">StepPattern</A>&nbsp;ancestorPattern)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a step pattern unit expression, used for both location paths
and match patterns.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.<DD><CODE>stepCount</CODE> - The number of steps to expect.<DD><CODE>ancestorPattern</CODE> - The owning StepPattern, which may be null.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/patterns/StepPattern.html" title="class in org.apache.xpath.patterns"><CODE>StepPattern</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="getCompiledPredicates(int)"><!-- --></A><H3>
getCompiledPredicates</H3>
<PRE>
public <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A>[] <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.947"><B>getCompiledPredicates</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a zero or more predicates for a given match pattern.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The position of the first predicate the m_opMap array.
<DT><B>Returns:</B><DD>reference to array of <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath"><CODE>Expression</CODE></A> instances.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="countPredicates(int)"><!-- --></A><H3>
countPredicates</H3>
<PRE>
public int <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.974"><B>countPredicates</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Count the number of predicates in the step.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The position of the first predicate the m_opMap array.
<DT><B>Returns:</B><DD>The number of predicates for this step.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="compilePredicates(int, org.apache.xpath.Expression[])"><!-- --></A><H3>
compilePredicates</H3>
<PRE>
private void <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.998"><B>compilePredicates</B></A>(int&nbsp;opPos,
<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A>[]&nbsp;predicates)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compiles predicates in the step.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The position of the first predicate the m_opMap array.<DD><CODE>predicates</CODE> - An empty pre-determined array of
<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath"><CODE>Expression</CODE></A>s, that will be filled in.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="compileFunction(int)"><!-- --></A><H3>
compileFunction</H3>
<PRE>
<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.1018"><B>compileFunction</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile a built-in XPath function.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/functions/Function.html" title="class in org.apache.xpath.functions"><CODE>Function</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="getNextMethodId()"><!-- --></A><H3>
getNextMethodId</H3>
<PRE>
private long <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.1083"><B>getNextMethodId</B></A>()</PRE>
<DL>
<DD>Get the next available method id
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="compileExtension(int)"><!-- --></A><H3>
compileExtension</H3>
<PRE>
private <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.1100"><B>compileExtension</B></A>(int&nbsp;opPos)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Compile an extension function.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>opPos</CODE> - The current position in the m_opMap array.
<DT><B>Returns:</B><DD>reference to <A HREF="../../../../org/apache/xpath/functions/FuncExtFunction.html" title="class in org.apache.xpath.functions"><CODE>FuncExtFunction</CODE></A> instance.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if a error occurs creating the Expression.</DL>
</DD>
</DL>
<HR>
<A NAME="warn(java.lang.String, java.lang.Object[])"><!-- --></A><H3>
warn</H3>
<PRE>
public void <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.1158"><B>warn</B></A>(java.lang.String&nbsp;msg,
java.lang.Object[]&nbsp;args)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Warn the user of an problem.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>msg</CODE> - An error msgkey that corresponds to one of the constants found
in <A HREF="../../../../org/apache/xpath/res/XPATHErrorResources.html" title="class in org.apache.xpath.res"><CODE>XPATHErrorResources</CODE></A>, which is
a key for a format string.<DD><CODE>args</CODE> - An array of arguments represented in the format string, which
may be null.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if the current ErrorListoner determines to
throw an exception.</DL>
</DD>
</DL>
<HR>
<A NAME="assertion(boolean, java.lang.String)"><!-- --></A><H3>
assertion</H3>
<PRE>
public void <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.1185"><B>assertion</B></A>(boolean&nbsp;b,
java.lang.String&nbsp;msg)</PRE>
<DL>
<DD>Tell the user of an assertion error, and probably throw an
exception.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>b</CODE> - If false, a runtime exception will be thrown.<DD><CODE>msg</CODE> - The assertion message, which should be informative.
<DT><B>Throws:</B>
<DD><CODE>java.lang.RuntimeException</CODE> - if the b argument is false.</DL>
</DD>
</DL>
<HR>
<A NAME="error(java.lang.String, java.lang.Object[])"><!-- --></A><H3>
error</H3>
<PRE>
public void <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.1211"><B>error</B></A>(java.lang.String&nbsp;msg,
java.lang.Object[]&nbsp;args)
throws javax.xml.transform.TransformerException</PRE>
<DL>
<DD>Tell the user of an error, and probably throw an
exception.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/xpath/compiler/OpMap.html#error(java.lang.String, java.lang.Object[])">error</A></CODE> in class <CODE><A HREF="../../../../org/apache/xpath/compiler/OpMap.html" title="class in org.apache.xpath.compiler">OpMap</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>msg</CODE> - An error msgkey that corresponds to one of the constants found
in <A HREF="../../../../org/apache/xpath/res/XPATHErrorResources.html" title="class in org.apache.xpath.res"><CODE>XPATHErrorResources</CODE></A>, which is
a key for a format string.<DD><CODE>args</CODE> - An array of arguments represented in the format string, which
may be null.
<DT><B>Throws:</B>
<DD><CODE>javax.xml.transform.TransformerException</CODE> - if the current ErrorListoner determines to
throw an exception.</DL>
</DD>
</DL>
<HR>
<A NAME="getNamespaceContext()"><!-- --></A><H3>
getNamespaceContext</H3>
<PRE>
public <A HREF="../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A> <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.1242"><B>getNamespaceContext</B></A>()</PRE>
<DL>
<DD>Get the current namespace context for the xpath.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>The current prefix resolver, *may* be null, though hopefully not.</DL>
</DD>
</DL>
<HR>
<A NAME="setNamespaceContext(org.apache.xml.utils.PrefixResolver)"><!-- --></A><H3>
setNamespaceContext</H3>
<PRE>
public void <A HREF="../../../../src-html/org/apache/xpath/compiler/Compiler.html#line.1252"><B>setNamespaceContext</B></A>(<A HREF="../../../../org/apache/xml/utils/PrefixResolver.html" title="interface in org.apache.xml.utils">PrefixResolver</A>&nbsp;pr)</PRE>
<DL>
<DD>Set the current namespace context for the xpath.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pr</CODE> - The resolver for prefixes in the XPath expression.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Compiler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../org/apache/xpath/compiler/FunctionTable.html" title="class in org.apache.xpath.compiler"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/xpath/compiler/Compiler.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="Compiler.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>