blob: 840f3e106c19bb9d7bce29d3f4fc5e93a6a0379d [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Thu Nov 22 17:12:48 EST 2007 -->
<TITLE>
Xalan-Java 2.7.1: Uses of Class org.apache.xpath.compiler.Compiler
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/xpath/compiler/Compiler.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="Compiler.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<CENTER>
<H2>
<B>Uses of Class<br>org.apache.xpath.compiler.Compiler</B></H2>
</CENTER>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
Packages that use <A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#org.apache.xpath.axes"><B>org.apache.xpath.axes</B></A></TD>
<TD>Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#org.apache.xpath.compiler"><B>org.apache.xpath.compiler</B></A></TD>
<TD>Implements an XPath parser which produces an OpMap, and a so-called Compiler
which produces an expression tree for fast evaluation.&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#org.apache.xpath.functions"><B>org.apache.xpath.functions</B></A></TD>
<TD>Implements XPath functions -- each function is derived from Function,
FunctionOneArg, Function2Args, etc, with number-of-arguments checking being
applied mainly at compile time -- this package only implements XPath functions,
XSLT functions are found in the "templates" package.&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<P>
<A NAME="org.apache.xpath.axes"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
Uses of <A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A> in <A HREF="../../../../../org/apache/xpath/axes/package-summary.html">org.apache.xpath.axes</A></FONT></TD>
</TR>
</TABLE>
&nbsp;
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2>Methods in <A HREF="../../../../../org/apache/xpath/axes/package-summary.html">org.apache.xpath.axes</A> with parameters of type <A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../org/apache/xpath/axes/LocPathIterator.html">LocPathIterator</A></CODE></FONT></TD>
<TD><CODE><B>UnionPathIterator.<A HREF="../../../../../org/apache/xpath/axes/UnionPathIterator.html#createUnionIterator(org.apache.xpath.compiler.Compiler, int)">createUnionIterator</A></B>(<A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A>&nbsp;compiler,
int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This will return an iterator capable of handling the union of paths given.</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>AxesWalker.<A HREF="../../../../../org/apache/xpath/axes/AxesWalker.html#init(org.apache.xpath.compiler.Compiler, int, int)">init</A></B>(<A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A>&nbsp;compiler,
int&nbsp;opPos,
int&nbsp;stepType)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize an AxesWalker during the parse of the XPath 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>FilterExprWalker.<A HREF="../../../../../org/apache/xpath/axes/FilterExprWalker.html#init(org.apache.xpath.compiler.Compiler, int, int)">init</A></B>(<A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A>&nbsp;compiler,
int&nbsp;opPos,
int&nbsp;stepType)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Init a FilterExprWalker.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B>WalkerFactory.<A HREF="../../../../../org/apache/xpath/axes/WalkerFactory.html#diagnoseIterator(java.lang.String, int, org.apache.xpath.compiler.Compiler)">diagnoseIterator</A></B>(java.lang.String&nbsp;name,
int&nbsp;analysis,
<A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A>&nbsp;compiler)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A></CODE></FONT></TD>
<TD><CODE><B>WalkerFactory.<A HREF="../../../../../org/apache/xpath/axes/WalkerFactory.html#newDTMIterator(org.apache.xpath.compiler.Compiler, int, boolean)">newDTMIterator</A></B>(<A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A>&nbsp;compiler,
int&nbsp;opPos,
boolean&nbsp;isTopLevel)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new LocPathIterator iterator.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B>WalkerFactory.<A HREF="../../../../../org/apache/xpath/axes/WalkerFactory.html#getAxisFromStep(org.apache.xpath.compiler.Compiler, int)">getAxisFromStep</A></B>(<A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A>&nbsp;compiler,
int&nbsp;stepOpCodePos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Special purpose function to see if we can optimize the pattern for
a DescendantIterator.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B>WalkerFactory.<A HREF="../../../../../org/apache/xpath/axes/WalkerFactory.html#mightBeProximate(org.apache.xpath.compiler.Compiler, int, int)">mightBeProximate</A></B>(<A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A>&nbsp;compiler,
int&nbsp;opPos,
int&nbsp;stepType)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tell if the predicates need to have proximity knowledge.</TD>
</TR>
</TABLE>
&nbsp;
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2>Constructors in <A HREF="../../../../../org/apache/xpath/axes/package-summary.html">org.apache.xpath.axes</A> with parameters of type <A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B>UnionPathIterator.<A HREF="../../../../../org/apache/xpath/axes/UnionPathIterator.html#UnionPathIterator(org.apache.xpath.compiler.Compiler, int)">UnionPathIterator</A></B>(<A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A>&nbsp;compiler,
int&nbsp;opPos)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a UnionPathIterator object, including creation
of location path iterators from the opcode list, and call back
into the Compiler to create predicate expressions.</TD>
</TR>
</TABLE>
&nbsp;
<P>
<A NAME="org.apache.xpath.compiler"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
Uses of <A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A> in <A HREF="../../../../../org/apache/xpath/compiler/package-summary.html">org.apache.xpath.compiler</A></FONT></TD>
</TR>
</TABLE>
&nbsp;
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2>Methods in <A HREF="../../../../../org/apache/xpath/compiler/package-summary.html">org.apache.xpath.compiler</A> with parameters of type <A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A></FONT></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>XPathParser.<A HREF="../../../../../org/apache/xpath/compiler/XPathParser.html#initXPath(org.apache.xpath.compiler.Compiler, java.lang.String, org.apache.xml.utils.PrefixResolver)">initXPath</A></B>(<A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A>&nbsp;compiler,
java.lang.String&nbsp;expression,
<A HREF="../../../../../org/apache/xml/utils/PrefixResolver.html">PrefixResolver</A>&nbsp;namespaceContext)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Given an string, init an XPath object for selections,
in order that a parse doesn't
have to be done each time the expression is evaluated.</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>XPathParser.<A HREF="../../../../../org/apache/xpath/compiler/XPathParser.html#initMatchPattern(org.apache.xpath.compiler.Compiler, java.lang.String, org.apache.xml.utils.PrefixResolver)">initMatchPattern</A></B>(<A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A>&nbsp;compiler,
java.lang.String&nbsp;expression,
<A HREF="../../../../../org/apache/xml/utils/PrefixResolver.html">PrefixResolver</A>&nbsp;namespaceContext)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Given an string, init an XPath object for pattern matches,
in order that a parse doesn't
have to be done each time the expression is evaluated.</TD>
</TR>
</TABLE>
&nbsp;
<P>
<A NAME="org.apache.xpath.functions"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
Uses of <A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A> in <A HREF="../../../../../org/apache/xpath/functions/package-summary.html">org.apache.xpath.functions</A></FONT></TD>
</TR>
</TABLE>
&nbsp;
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2>Methods in <A HREF="../../../../../org/apache/xpath/functions/package-summary.html">org.apache.xpath.functions</A> with parameters of type <A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A></FONT></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>Function.<A HREF="../../../../../org/apache/xpath/functions/Function.html#postCompileStep(org.apache.xpath.compiler.Compiler)">postCompileStep</A></B>(<A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A>&nbsp;compiler)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is currently only being used by Position()
and Last().</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>FuncPosition.<A HREF="../../../../../org/apache/xpath/functions/FuncPosition.html#postCompileStep(org.apache.xpath.compiler.Compiler)">postCompileStep</A></B>(<A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A>&nbsp;compiler)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Figure out if we're executing a toplevel 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>FuncLast.<A HREF="../../../../../org/apache/xpath/functions/FuncLast.html#postCompileStep(org.apache.xpath.compiler.Compiler)">postCompileStep</A></B>(<A HREF="../../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A>&nbsp;compiler)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Figure out if we're executing a toplevel expression.</TD>
</TR>
</TABLE>
&nbsp;
<P>
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/xpath/compiler/Compiler.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="Compiler.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
Copyright © 2006 Apache XML Project. All Rights Reserved.
</BODY>
</HTML>