| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| <!--NewPage-->
|
| <HTML>
|
| <HEAD>
|
| <!-- Generated by javadoc on Thu Nov 22 17:12:58 EST 2007 -->
|
| <TITLE>
|
| Xalan-Java 2.7.1: Class FilterExprWalker
|
| </TITLE>
|
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
| </HEAD>
|
| <BODY BGCOLOR="white">
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_top"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <TR ALIGN="center" VALIGN="top">
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FilterExprWalker.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
| </TR>
|
| </TABLE>
|
| </TD>
|
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
| </EM>
|
| </TD>
|
| </TR>
|
|
|
| <TR>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../org/apache/xpath/axes/FilterExprIteratorSimple.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xpath/axes/HasPositionalPredChecker.html"><B>NEXT CLASS</B></A></FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="FilterExprWalker.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | <A HREF="#fields_inherited_from_class_org.apache.xpath.patterns.NodeTest">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| <!-- ======== START OF CLASS DATA ======== -->
|
| <H2>
|
| <FONT SIZE="-1">
|
| org.apache.xpath.axes</FONT>
|
| <BR>
|
| Class FilterExprWalker</H2>
|
| <PRE>
|
| java.lang.Object
|
| |
|
| +--<A HREF="../../../../org/apache/xpath/Expression.html">org.apache.xpath.Expression</A>
|
| |
|
| +--<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html">org.apache.xpath.patterns.NodeTest</A>
|
| |
|
| +--<A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html">org.apache.xpath.axes.PredicatedNodeTest</A>
|
| |
|
| +--<A HREF="../../../../org/apache/xpath/axes/AxesWalker.html">org.apache.xpath.axes.AxesWalker</A>
|
| |
|
| +--<B>org.apache.xpath.axes.FilterExprWalker</B>
|
| </PRE>
|
| <HR>
|
| <DL>
|
| <DT>public class <B>FilterExprWalker</B><DT>extends <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html">AxesWalker</A></DL>
|
|
|
| <P>
|
| Walker for the OP_VARIABLE, or OP_EXTFUNCTION, or OP_FUNCTION, or OP_GROUP, |
| op codes.
|
| <P>
|
| <DL>
|
| <DT><B>See Also: </B><DD><a href="http://www.w3.org/TR/xpath#NT-FilterExpr">XPath FilterExpr descriptions</a>, <A HREF="../../../../serialized-form.html#org.apache.xpath.axes.FilterExprWalker">Serialized Form</A></DL>
|
| <HR>
|
|
|
| <P>
|
| <!-- ======== INNER CLASS SUMMARY ======== -->
|
|
|
|
|
| <!-- =========== FIELD SUMMARY =========== -->
|
|
|
| <A NAME="fields_inherited_from_class_org.apache.xpath.patterns.NodeTest"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Fields inherited from class org.apache.xpath.patterns.<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html">NodeTest</A></B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SCORE_NODETEST">SCORE_NODETEST</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SCORE_NONE">SCORE_NONE</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SCORE_NSWILD">SCORE_NSWILD</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SCORE_OTHER">SCORE_OTHER</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SCORE_QNAME">SCORE_QNAME</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SHOW_BYFUNCTION">SHOW_BYFUNCTION</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SUPPORTS_PRE_STRIPPING">SUPPORTS_PRE_STRIPPING</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#WILD">WILD</A></CODE></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Constructor Summary</B></FONT></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#FilterExprWalker(org.apache.xpath.axes.WalkingIterator)">FilterExprWalker</A></B>(<A HREF="../../../../org/apache/xpath/axes/WalkingIterator.html">WalkingIterator</A> locPathIterator)</CODE>
|
|
|
| <BR>
|
| Construct a FilterExprWalker using a LocPathIterator.</TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ========== METHOD SUMMARY =========== -->
|
|
|
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Method Summary</B></FONT></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> short</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#acceptNode(int)">acceptNode</A></B>(int n)</CODE>
|
|
|
| <BR>
|
| This method needs to override AxesWalker.acceptNode because FilterExprWalkers |
| don't need to, and shouldn't, do a node test.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#callPredicateVisitors(org.apache.xpath.XPathVisitor)">callPredicateVisitors</A></B>(<A HREF="../../../../org/apache/xpath/XPathVisitor.html">XPathVisitor</A> visitor)</CODE>
|
|
|
| <BR>
|
| This will traverse the heararchy, calling the visitor for |
| each member.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.Object</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#clone()">clone</A></B>()</CODE>
|
|
|
| <BR>
|
| Get a cloned FilterExprWalker.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> boolean</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#deepEquals(org.apache.xpath.Expression)">deepEquals</A></B>(<A HREF="../../../../org/apache/xpath/Expression.html">Expression</A> expr)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#detach()">detach</A></B>()</CODE>
|
|
|
| <BR>
|
| Detaches the walker from the set which it iterated over, releasing |
| any computational resources and placing the iterator in the INVALID |
| state.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#fixupVariables(java.util.Vector, int)">fixupVariables</A></B>(java.util.Vector vars, |
| int globalsSize)</CODE>
|
|
|
| <BR>
|
| This function is used to fixup variables from QNames to stack frame |
| indexes at stylesheet build time.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#getAnalysisBits()">getAnalysisBits</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the analysis bits for this walker, as defined in the WalkerFactory.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#getAxis()">getAxis</A></B>()</CODE>
|
|
|
| <BR>
|
| Returns the axis being iterated, if it is known.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xpath/Expression.html">Expression</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#getInnerExpression()">getInnerExpression</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the inner contained expression of this filter.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#getLastPos(org.apache.xpath.XPathContext)">getLastPos</A></B>(<A HREF="../../../../org/apache/xpath/XPathContext.html">XPathContext</A> xctxt)</CODE>
|
|
|
| <BR>
|
| Get the index of the last node that can be itterated to.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#getNextNode()">getNextNode</A></B>()</CODE>
|
|
|
| <BR>
|
| Moves the <code>TreeWalker</code> to the next visible node in document |
| order relative to the current node, and returns the new node.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#init(org.apache.xpath.compiler.Compiler, int, int)">init</A></B>(<A HREF="../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A> compiler, |
| int opPos, |
| int stepType)</CODE>
|
|
|
| <BR>
|
| Init a FilterExprWalker.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> boolean</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#isDocOrdered()">isDocOrdered</A></B>()</CODE>
|
|
|
| <BR>
|
| Returns true if all the nodes in the iteration well be returned in document |
| order.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#setInnerExpression(org.apache.xpath.Expression)">setInnerExpression</A></B>(<A HREF="../../../../org/apache/xpath/Expression.html">Expression</A> expr)</CODE>
|
|
|
| <BR>
|
| Set the inner contained expression of this filter.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html#setRoot(int)">setRoot</A></B>(int root)</CODE>
|
|
|
| <BR>
|
| Set the root node of the TreeWalker.</TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_org.apache.xpath.axes.AxesWalker"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from class org.apache.xpath.axes.<A HREF="../../../../org/apache/xpath/axes/AxesWalker.html">AxesWalker</A></B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)">callVisitors</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getCurrentNode()">getCurrentNode</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getDTM(int)">getDTM</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getExpression()">getExpression</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getNextWalker()">getNextWalker</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getPrevWalker()">getPrevWalker</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getRoot()">getRoot</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#nextNode()">nextNode</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#setDefaultDTM(org.apache.xml.dtm.DTM)">setDefaultDTM</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#setExpression(org.apache.xpath.Expression)">setExpression</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#setNextWalker(org.apache.xpath.axes.AxesWalker)">setNextWalker</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#setPrevWalker(org.apache.xpath.axes.AxesWalker)">setPrevWalker</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#wi()">wi</A></CODE></TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_org.apache.xpath.axes.PredicatedNodeTest"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from class org.apache.xpath.axes.<A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html">PredicatedNodeTest</A></B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#canTraverseOutsideSubtree()">canTraverseOutsideSubtree</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#getLocPathIterator()">getLocPathIterator</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#getPredicate(int)">getPredicate</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#getPredicateCount()">getPredicateCount</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#getPredicateIndex()">getPredicateIndex</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#getProximityPosition()">getProximityPosition</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#getProximityPosition(org.apache.xpath.XPathContext)">getProximityPosition</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#initProximityPosition(int)">initProximityPosition</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#isReverseAxes()">isReverseAxes</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#resetProximityPositions()">resetProximityPositions</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#setLocPathIterator(org.apache.xpath.axes.LocPathIterator)">setLocPathIterator</A>,
|
| <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#setPredicateCount(int)">setPredicateCount</A></CODE></TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_org.apache.xpath.patterns.NodeTest"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from class org.apache.xpath.patterns.<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html">NodeTest</A></B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#debugWhatToShow(int)">debugWhatToShow</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#execute(org.apache.xpath.XPathContext)">execute</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#execute(org.apache.xpath.XPathContext, int)">execute</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#execute(org.apache.xpath.XPathContext, int, org.apache.xml.dtm.DTM, int)">execute</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#getDefaultScore()">getDefaultScore</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#getLocalName()">getLocalName</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#getNamespace()">getNamespace</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#getNodeTypeTest(int)">getNodeTypeTest</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#getStaticScore()">getStaticScore</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#getWhatToShow()">getWhatToShow</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#initNodeTest(int)">initNodeTest</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#initNodeTest(int, java.lang.String, java.lang.String)">initNodeTest</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#setLocalName(java.lang.String)">setLocalName</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#setNamespace(java.lang.String)">setNamespace</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#setStaticScore(org.apache.xpath.objects.XNumber)">setStaticScore</A>,
|
| <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#setWhatToShow(int)">setWhatToShow</A></CODE></TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_org.apache.xpath.Expression"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from class org.apache.xpath.<A HREF="../../../../org/apache/xpath/Expression.html">Expression</A></B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><A HREF="../../../../org/apache/xpath/Expression.html#asIterator(org.apache.xpath.XPathContext, int)">asIterator</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#asIteratorRaw(org.apache.xpath.XPathContext, int)">asIteratorRaw</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#asNode(org.apache.xpath.XPathContext)">asNode</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#assertion(boolean, java.lang.String)">assertion</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#bool(org.apache.xpath.XPathContext)">bool</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#error(org.apache.xpath.XPathContext, java.lang.String, java.lang.Object[])">error</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#execute(org.apache.xpath.XPathContext, boolean)">execute</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#executeCharsToContentHandler(org.apache.xpath.XPathContext, org.xml.sax.ContentHandler)">executeCharsToContentHandler</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#exprAddChild(org.apache.xpath.ExpressionNode, int)">exprAddChild</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#exprGetChild(int)">exprGetChild</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#exprGetNumChildren()">exprGetNumChildren</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#exprGetParent()">exprGetParent</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#exprSetParent(org.apache.xpath.ExpressionNode)">exprSetParent</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#getColumnNumber()">getColumnNumber</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#getExpressionOwner()">getExpressionOwner</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#getLineNumber()">getLineNumber</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#getPublicId()">getPublicId</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#getSystemId()">getSystemId</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#isNodesetExpr()">isNodesetExpr</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#isStableNumber()">isStableNumber</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#num(org.apache.xpath.XPathContext)">num</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#warn(org.apache.xpath.XPathContext, java.lang.String, java.lang.Object[])">warn</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#xstr(org.apache.xpath.XPathContext)">xstr</A></CODE></TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE>equals,
|
| getClass,
|
| hashCode,
|
| notify,
|
| notifyAll,
|
| toString,
|
| wait,
|
| wait,
|
| wait</CODE></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <P>
|
|
|
| <!-- ============ FIELD DETAIL =========== -->
|
|
|
|
|
| <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Constructor Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="FilterExprWalker(org.apache.xpath.axes.WalkingIterator)"><!-- --></A><H3>
|
| FilterExprWalker</H3>
|
| <PRE>
|
| public <B>FilterExprWalker</B>(<A HREF="../../../../org/apache/xpath/axes/WalkingIterator.html">WalkingIterator</A> locPathIterator)</PRE>
|
| <DL>
|
| <DD>Construct a FilterExprWalker using a LocPathIterator.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>locPathIterator</CODE> - non-null reference to the parent iterator.</DL>
|
| </DD>
|
| </DL>
|
|
|
| <!-- ============ METHOD DETAIL ========== -->
|
|
|
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Method Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="init(org.apache.xpath.compiler.Compiler, int, int)"><!-- --></A><H3>
|
| init</H3>
|
| <PRE>
|
| public void <B>init</B>(<A HREF="../../../../org/apache/xpath/compiler/Compiler.html">Compiler</A> compiler, |
| int opPos, |
| int stepType) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Init a FilterExprWalker.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>compiler</CODE> - non-null reference to the Compiler that is constructing.<DD><CODE>opPos</CODE> - positive opcode position for this step.<DD><CODE>stepType</CODE> - The type of step.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - <DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#init(org.apache.xpath.compiler.Compiler, int, int)">init</A> in class <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html">AxesWalker</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="detach()"><!-- --></A><H3>
|
| detach</H3>
|
| <PRE>
|
| public void <B>detach</B>()</PRE>
|
| <DL>
|
| <DD>Detaches the walker from the set which it iterated over, releasing |
| any computational resources and placing the iterator in the INVALID |
| state.<DD><DL>
|
| <DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#detach()">detach</A> in class <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html">AxesWalker</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setRoot(int)"><!-- --></A><H3>
|
| setRoot</H3>
|
| <PRE>
|
| public void <B>setRoot</B>(int root)</PRE>
|
| <DL>
|
| <DD>Set the root node of the TreeWalker.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>root</CODE> - non-null reference to the root, or starting point of |
| the query.<DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#setRoot(int)">setRoot</A> in class <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html">AxesWalker</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="clone()"><!-- --></A><H3>
|
| clone</H3>
|
| <PRE>
|
| public java.lang.Object <B>clone</B>() |
| throws java.lang.CloneNotSupportedException</PRE>
|
| <DL>
|
| <DD>Get a cloned FilterExprWalker.<DD><DL>
|
| <DT><B>Returns:</B><DD>A new FilterExprWalker that can be used without mutating this one.<DT><B>Throws:</B><DD>java.lang.CloneNotSupportedException - <DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#clone()">clone</A> in class <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html">AxesWalker</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="acceptNode(int)"><!-- --></A><H3>
|
| acceptNode</H3>
|
| <PRE>
|
| public short <B>acceptNode</B>(int n)</PRE>
|
| <DL>
|
| <DD>This method needs to override AxesWalker.acceptNode because FilterExprWalkers |
| don't need to, and shouldn't, do a node test.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>n</CODE> - The node to check to see if it passes the filter or not.<DT><B>Returns:</B><DD>a constant to determine whether the node is accepted, |
| rejected, or skipped, as defined above .<DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#acceptNode(int)">acceptNode</A> in class <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html">PredicatedNodeTest</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getNextNode()"><!-- --></A><H3>
|
| getNextNode</H3>
|
| <PRE>
|
| public int <B>getNextNode</B>()</PRE>
|
| <DL>
|
| <DD>Moves the <code>TreeWalker</code> to the next visible node in document |
| order relative to the current node, and returns the new node. If the |
| current node has no next node, or if the search for nextNode attempts |
| to step upward from the TreeWalker's root node, returns |
| <code>null</code> , and retains the current node.<DD><DL>
|
| <DT><B>Returns:</B><DD>The new node, or <code>null</code> if the current node has no |
| next node in the TreeWalker's logical view.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getLastPos(org.apache.xpath.XPathContext)"><!-- --></A><H3>
|
| getLastPos</H3>
|
| <PRE>
|
| public int <B>getLastPos</B>(<A HREF="../../../../org/apache/xpath/XPathContext.html">XPathContext</A> xctxt)</PRE>
|
| <DL>
|
| <DD>Get the index of the last node that can be itterated to.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>xctxt</CODE> - XPath runtime context.<DT><B>Returns:</B><DD>the index of the last node that can be itterated to.<DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getLastPos(org.apache.xpath.XPathContext)">getLastPos</A> in class <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html">AxesWalker</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="fixupVariables(java.util.Vector, int)"><!-- --></A><H3>
|
| fixupVariables</H3>
|
| <PRE>
|
| public void <B>fixupVariables</B>(java.util.Vector vars, |
| int globalsSize)</PRE>
|
| <DL>
|
| <DD>This function is used to fixup variables from QNames to stack frame |
| indexes at stylesheet build time.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>vars</CODE> - List of QNames that correspond to variables. This list |
| should be searched backwards for the first qualified name that |
| corresponds to the variable reference qname. The position of the |
| QName in the vector from the start of the vector will be its position |
| in the stack frame (but variables above the globalsTop value will need |
| to be offset to the current stack frame).<DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#fixupVariables(java.util.Vector, int)">fixupVariables</A> in class <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html">PredicatedNodeTest</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getInnerExpression()"><!-- --></A><H3>
|
| getInnerExpression</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xpath/Expression.html">Expression</A> <B>getInnerExpression</B>()</PRE>
|
| <DL>
|
| <DD>Get the inner contained expression of this filter.</DL>
|
| <HR>
|
|
|
| <A NAME="setInnerExpression(org.apache.xpath.Expression)"><!-- --></A><H3>
|
| setInnerExpression</H3>
|
| <PRE>
|
| public void <B>setInnerExpression</B>(<A HREF="../../../../org/apache/xpath/Expression.html">Expression</A> expr)</PRE>
|
| <DL>
|
| <DD>Set the inner contained expression of this filter.</DL>
|
| <HR>
|
|
|
| <A NAME="getAnalysisBits()"><!-- --></A><H3>
|
| getAnalysisBits</H3>
|
| <PRE>
|
| public int <B>getAnalysisBits</B>()</PRE>
|
| <DL>
|
| <DD>Get the analysis bits for this walker, as defined in the WalkerFactory.<DD><DL>
|
| <DT><B>Returns:</B><DD>One of WalkerFactory#BIT_DESCENDANT, etc.<DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getAnalysisBits()">getAnalysisBits</A> in class <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html">AxesWalker</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="isDocOrdered()"><!-- --></A><H3>
|
| isDocOrdered</H3>
|
| <PRE>
|
| public boolean <B>isDocOrdered</B>()</PRE>
|
| <DL>
|
| <DD>Returns true if all the nodes in the iteration well be returned in document |
| order. |
| Warning: This can only be called after setRoot has been called!<DD><DL>
|
| <DT><B>Returns:</B><DD>true as a default.<DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#isDocOrdered()">isDocOrdered</A> in class <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html">AxesWalker</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getAxis()"><!-- --></A><H3>
|
| getAxis</H3>
|
| <PRE>
|
| public int <B>getAxis</B>()</PRE>
|
| <DL>
|
| <DD>Returns the axis being iterated, if it is known.<DD><DL>
|
| <DT><B>Returns:</B><DD>Axis.CHILD, etc., or -1 if the axis is not known or is of multiple |
| types.<DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getAxis()">getAxis</A> in class <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html">AxesWalker</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="callPredicateVisitors(org.apache.xpath.XPathVisitor)"><!-- --></A><H3>
|
| callPredicateVisitors</H3>
|
| <PRE>
|
| public void <B>callPredicateVisitors</B>(<A HREF="../../../../org/apache/xpath/XPathVisitor.html">XPathVisitor</A> visitor)</PRE>
|
| <DL>
|
| <DD>This will traverse the heararchy, calling the visitor for |
| each member. If the called visitor method returns |
| false, the subtree should not be called.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>visitor</CODE> - The visitor whose appropriate method will be called.<DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#callPredicateVisitors(org.apache.xpath.XPathVisitor)">callPredicateVisitors</A> in class <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html">PredicatedNodeTest</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="deepEquals(org.apache.xpath.Expression)"><!-- --></A><H3>
|
| deepEquals</H3>
|
| <PRE>
|
| public boolean <B>deepEquals</B>(<A HREF="../../../../org/apache/xpath/Expression.html">Expression</A> expr)</PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#deepEquals(org.apache.xpath.Expression)">deepEquals</A> in class <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html">AxesWalker</A><DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xpath/Expression.html#deepEquals(org.apache.xpath.Expression)"><CODE>Expression.deepEquals(Expression)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <!-- ========= END OF CLASS DATA ========= -->
|
| <HR>
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_bottom"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <TR ALIGN="center" VALIGN="top">
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FilterExprWalker.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
| </TR>
|
| </TABLE>
|
| </TD>
|
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
| </EM>
|
| </TD>
|
| </TR>
|
|
|
| <TR>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../org/apache/xpath/axes/FilterExprIteratorSimple.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xpath/axes/HasPositionalPredChecker.html"><B>NEXT CLASS</B></A></FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="FilterExprWalker.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | <A HREF="#fields_inherited_from_class_org.apache.xpath.patterns.NodeTest">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| Copyright © 2006 Apache XML Project. All Rights Reserved.
|
| </BODY>
|
| </HTML>
|