<!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:39 PDT 2012 --> | |
<TITLE> | |
AxesWalker | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xpath.axes.AxesWalker class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="AxesWalker"; | |
} | |
</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> </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/AxesWalker.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/AttributeIterator.html" title="class in org.apache.xpath.axes"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/xpath/axes/BasicTestIterator.html" title="class in org.apache.xpath.axes"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xpath/axes/AxesWalker.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="AxesWalker.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: <A HREF="#nested_classes_inherited_from_class_org.apache.xpath.axes.PredicatedNodeTest">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_top"></A> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<HR> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<H2> | |
<FONT SIZE="-1"> | |
org.apache.xpath.axes</FONT> | |
<BR> | |
Class AxesWalker</H2> | |
<PRE> | |
java.lang.Object | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">org.apache.xpath.Expression</A> | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/xpath/patterns/NodeTest.html" title="class in org.apache.xpath.patterns">org.apache.xpath.patterns.NodeTest</A> | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html" title="class in org.apache.xpath.axes">org.apache.xpath.axes.PredicatedNodeTest</A> | |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xpath.axes.AxesWalker</B> | |
</PRE> | |
<DL> | |
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, java.lang.Cloneable, javax.xml.transform.SourceLocator, <A HREF="../../../../org/apache/xpath/axes/PathComponent.html" title="interface in org.apache.xpath.axes">PathComponent</A>, <A HREF="../../../../org/apache/xpath/axes/SubContextList.html" title="interface in org.apache.xpath.axes">SubContextList</A>, <A HREF="../../../../org/apache/xpath/ExpressionNode.html" title="interface in org.apache.xpath">ExpressionNode</A>, <A HREF="../../../../org/apache/xpath/ExpressionOwner.html" title="interface in org.apache.xpath">ExpressionOwner</A>, <A HREF="../../../../org/apache/xpath/XPathVisitable.html" title="interface in org.apache.xpath">XPathVisitable</A></DD> | |
</DL> | |
<DL> | |
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/xpath/axes/FilterExprWalker.html" title="class in org.apache.xpath.axes">FilterExprWalker</A>, <A HREF="../../../../org/apache/xpath/axes/ReverseAxesWalker.html" title="class in org.apache.xpath.axes">ReverseAxesWalker</A></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public class <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.40"><B>AxesWalker</B></A><DT>extends <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html" title="class in org.apache.xpath.axes">PredicatedNodeTest</A><DT>implements java.lang.Cloneable, <A HREF="../../../../org/apache/xpath/axes/PathComponent.html" title="interface in org.apache.xpath.axes">PathComponent</A>, <A HREF="../../../../org/apache/xpath/ExpressionOwner.html" title="interface in org.apache.xpath">ExpressionOwner</A></DL> | |
</PRE> | |
<P> | |
Serves as common interface for axes Walkers, and stores common | |
state variables. | |
<P> | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.xpath.axes.AxesWalker">Serialized Form</A></DL> | |
<HR> | |
<P> | |
<!-- ======== NESTED CLASS SUMMARY ======== --> | |
<A NAME="nested_class_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Nested Class Summary</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="nested_classes_inherited_from_class_org.apache.xpath.axes.PredicatedNodeTest"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.apache.xpath.axes.<A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html" title="class in org.apache.xpath.axes">PredicatedNodeTest</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.PredOwner.html" title="class in org.apache.xpath.axes">PredicatedNodeTest.PredOwner</A></CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<!-- =========== FIELD SUMMARY =========== --> | |
<A NAME="field_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Field Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#m_axis">m_axis</A></B></CODE> | |
<BR> | |
The traversal axis from where the nodes will be filtered.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#m_currentNode">m_currentNode</A></B></CODE> | |
<BR> | |
The node at which the TreeWalker is currently positioned.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private <A HREF="../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#m_dtm">m_dtm</A></B></CODE> | |
<BR> | |
The DTM for the root.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#m_isFresh">m_isFresh</A></B></CODE> | |
<BR> | |
True if an itteration has not begun.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#m_nextWalker">m_nextWalker</A></B></CODE> | |
<BR> | |
The next walker in the location step chain.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#m_prevWalker">m_prevWalker</A></B></CODE> | |
<BR> | |
The previous walker in the location step chain, or null.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#m_root">m_root</A></B></CODE> | |
<BR> | |
The root node of the TreeWalker, as specified when it was created.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected <A HREF="../../../../org/apache/xml/dtm/DTMAxisTraverser.html" title="class in org.apache.xml.dtm">DTMAxisTraverser</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#m_traverser">m_traverser</A></B></CODE> | |
<BR> | |
The DTM inner traversal class, that corresponds to the super axis.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) static long</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#serialVersionUID">serialVersionUID</A></B></CODE> | |
<BR> | |
</TD> | |
</TR> | |
</TABLE> | |
<A NAME="fields_inherited_from_class_org.apache.xpath.axes.PredicatedNodeTest"><!-- --></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.axes.<A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html" title="class in org.apache.xpath.axes">PredicatedNodeTest</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#DEBUG_PREDICATECOUNTING">DEBUG_PREDICATECOUNTING</A>, <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#m_foundLast">m_foundLast</A>, <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#m_lpi">m_lpi</A>, <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#m_predCount">m_predCount</A>, <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#m_predicateIndex">m_predicateIndex</A>, <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#m_proximityPositions">m_proximityPositions</A></CODE></TD> | |
</TR> | |
</TABLE> | |
<A NAME="fields_inherited_from_class_org.apache.xpath.patterns.NodeTest"><!-- --></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.patterns.<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html" title="class in org.apache.xpath.patterns">NodeTest</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#m_name">m_name</A>, <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#m_whatToShow">m_whatToShow</A>, <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" 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/axes/AxesWalker.html#AxesWalker(org.apache.xpath.axes.LocPathIterator, int)">AxesWalker</A></B>(<A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html" title="class in org.apache.xpath.axes">LocPathIterator</A> locPathIterator, | |
int axis)</CODE> | |
<BR> | |
Construct an AxesWalker using a LocPathIterator.</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ========== METHOD SUMMARY =========== --> | |
<A NAME="method_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Method Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)">callVisitors</A></B>(<A HREF="../../../../org/apache/xpath/ExpressionOwner.html" title="interface in org.apache.xpath">ExpressionOwner</A> owner, | |
<A HREF="../../../../org/apache/xpath/XPathVisitor.html" title="class in org.apache.xpath">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/AxesWalker.html#clone()">clone</A></B>()</CODE> | |
<BR> | |
Get a cloned AxesWalker.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#cloneDeep(org.apache.xpath.axes.WalkingIterator, java.util.Vector)">cloneDeep</A></B>(<A HREF="../../../../org/apache/xpath/axes/WalkingIterator.html" title="class in org.apache.xpath.axes">WalkingIterator</A> cloneOwner, | |
java.util.Vector cloneList)</CODE> | |
<BR> | |
Do a deep clone of this walker, including next and previous walkers.</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/AxesWalker.html#deepEquals(org.apache.xpath.Expression)">deepEquals</A></B>(<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> expr)</CODE> | |
<BR> | |
Compare this object with another object and see | |
if they are equal, include the sub heararchy.</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/AxesWalker.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>(package private) static <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#findClone(org.apache.xpath.axes.AxesWalker, java.util.Vector)">findClone</A></B>(<A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A> key, | |
java.util.Vector cloneList)</CODE> | |
<BR> | |
Find a clone that corresponds to the key argument.</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/AxesWalker.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/AxesWalker.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> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getCurrentNode()">getCurrentNode</A></B>()</CODE> | |
<BR> | |
The node at which the TreeWalker is currently positioned.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getDTM(int)">getDTM</A></B>(int node)</CODE> | |
<BR> | |
Get the DTM for this walker.</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" title="class in org.apache.xpath">Expression</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getExpression()">getExpression</A></B>()</CODE> | |
<BR> | |
Get the raw Expression object that this class wraps.</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/AxesWalker.html#getLastPos(org.apache.xpath.XPathContext)">getLastPos</A></B>(<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">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>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getNextNode()">getNextNode</A></B>()</CODE> | |
<BR> | |
Get the next node in document order on the axes.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getNextWalker()">getNextWalker</A></B>()</CODE> | |
<BR> | |
Get the next walker in the location step chain.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#getPrevWalker()">getPrevWalker</A></B>()</CODE> | |
<BR> | |
Get the previous walker reference in the location step chain.</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/AxesWalker.html#getRoot()">getRoot</A></B>()</CODE> | |
<BR> | |
The root node of the TreeWalker, as specified in setRoot(int root).</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#init(org.apache.xpath.compiler.Compiler, int, int)">init</A></B>(<A HREF="../../../../org/apache/xpath/compiler/Compiler.html" title="class in org.apache.xpath.compiler">Compiler</A> compiler, | |
int opPos, | |
int stepType)</CODE> | |
<BR> | |
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> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.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> int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#nextNode()">nextNode</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>private int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#returnNextNode(int)">returnNextNode</A></B>(int n)</CODE> | |
<BR> | |
This is simply a way to bottle-neck the return of the next node, for | |
diagnostic purposes.</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/AxesWalker.html#setDefaultDTM(org.apache.xml.dtm.DTM)">setDefaultDTM</A></B>(<A HREF="../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> dtm)</CODE> | |
<BR> | |
Set the DTM for this walker.</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/AxesWalker.html#setExpression(org.apache.xpath.Expression)">setExpression</A></B>(<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> exp)</CODE> | |
<BR> | |
Set the raw expression object for this object.</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/AxesWalker.html#setNextWalker(org.apache.xpath.axes.AxesWalker)">setNextWalker</A></B>(<A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A> walker)</CODE> | |
<BR> | |
Set the next walker in the location step chain.</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/AxesWalker.html#setPrevWalker(org.apache.xpath.axes.AxesWalker)">setPrevWalker</A></B>(<A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A> walker)</CODE> | |
<BR> | |
Set or clear the previous walker reference in the location step chain.</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/AxesWalker.html#setRoot(int)">setRoot</A></B>(int root)</CODE> | |
<BR> | |
Set the root node of the TreeWalker.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/xpath/axes/WalkingIterator.html" title="class in org.apache.xpath.axes">WalkingIterator</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html#wi()">wi</A></B>()</CODE> | |
<BR> | |
</TD> | |
</TR> | |
</TABLE> | |
<A NAME="methods_inherited_from_class_org.apache.xpath.axes.PredicatedNodeTest"><!-- --></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.axes.<A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html" title="class in org.apache.xpath.axes">PredicatedNodeTest</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#acceptNode(int)">acceptNode</A>, <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#callPredicateVisitors(org.apache.xpath.XPathVisitor)">callPredicateVisitors</A>, <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#canTraverseOutsideSubtree()">canTraverseOutsideSubtree</A>, <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#countProximityPosition(int)">countProximityPosition</A>, <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#executePredicates(int, org.apache.xpath.XPathContext)">executePredicates</A>, <A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#fixupVariables(java.util.Vector, int)">fixupVariables</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(int)">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#initPredicateInfo(org.apache.xpath.compiler.Compiler, int)">initPredicateInfo</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#nodeToString(int)">nodeToString</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" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class org.apache.xpath.patterns.<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html" title="class in org.apache.xpath.patterns">NodeTest</A></B></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD><CODE><A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#calcScore()">calcScore</A>, <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" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> | |
<TH ALIGN="left"><B>Methods inherited from class org.apache.xpath.<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></B></TH> | |
</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#isSameClass(org.apache.xpath.Expression)">isSameClass</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" 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>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> | |
</TR> | |
</TABLE> | |
| |
<P> | |
<!-- ============ FIELD DETAIL =========== --> | |
<A NAME="field_detail"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
<B>Field Detail</B></FONT></TH> | |
</TR> | |
</TABLE> | |
<A NAME="serialVersionUID"><!-- --></A><H3> | |
serialVersionUID</H3> | |
<PRE> | |
static final long <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.43"><B>serialVersionUID</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xpath.axes.AxesWalker.serialVersionUID">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="m_dtm"><!-- --></A><H3> | |
m_dtm</H3> | |
<PRE> | |
private <A HREF="../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.465"><B>m_dtm</B></A></PRE> | |
<DL> | |
<DD>The DTM for the root. This can not be used, or must be changed, | |
for the filter walker, or any walker that can have nodes | |
from multiple documents. | |
Never, ever, access this value without going through getDTM(int node). | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_root"><!-- --></A><H3> | |
m_root</H3> | |
<PRE> | |
transient int <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.567"><B>m_root</B></A></PRE> | |
<DL> | |
<DD>The root node of the TreeWalker, as specified when it was created. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_currentNode"><!-- --></A><H3> | |
m_currentNode</H3> | |
<PRE> | |
private transient int <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.572"><B>m_currentNode</B></A></PRE> | |
<DL> | |
<DD>The node at which the TreeWalker is currently positioned. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_isFresh"><!-- --></A><H3> | |
m_isFresh</H3> | |
<PRE> | |
transient boolean <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.575"><B>m_isFresh</B></A></PRE> | |
<DL> | |
<DD>True if an itteration has not begun. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_nextWalker"><!-- --></A><H3> | |
m_nextWalker</H3> | |
<PRE> | |
protected <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A> <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.579"><B>m_nextWalker</B></A></PRE> | |
<DL> | |
<DD>The next walker in the location step chain. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_prevWalker"><!-- --></A><H3> | |
m_prevWalker</H3> | |
<PRE> | |
<A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A> <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.583"><B>m_prevWalker</B></A></PRE> | |
<DL> | |
<DD>The previous walker in the location step chain, or null. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_axis"><!-- --></A><H3> | |
m_axis</H3> | |
<PRE> | |
protected int <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.586"><B>m_axis</B></A></PRE> | |
<DL> | |
<DD>The traversal axis from where the nodes will be filtered. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_traverser"><!-- --></A><H3> | |
m_traverser</H3> | |
<PRE> | |
protected <A HREF="../../../../org/apache/xml/dtm/DTMAxisTraverser.html" title="class in org.apache.xml.dtm">DTMAxisTraverser</A> <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.589"><B>m_traverser</B></A></PRE> | |
<DL> | |
<DD>The DTM inner traversal class, that corresponds to the super axis. | |
<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="AxesWalker(org.apache.xpath.axes.LocPathIterator, int)"><!-- --></A><H3> | |
AxesWalker</H3> | |
<PRE> | |
public <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.50"><B>AxesWalker</B></A>(<A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html" title="class in org.apache.xpath.axes">LocPathIterator</A> locPathIterator, | |
int axis)</PRE> | |
<DL> | |
<DD>Construct an AxesWalker using a LocPathIterator. | |
<P> | |
<DL> | |
<DT><B>Parameters:</B><DD><CODE>locPathIterator</CODE> - non-null reference to the parent iterator.</DL> | |
</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="wi()"><!-- --></A><H3> | |
wi</H3> | |
<PRE> | |
public final <A HREF="../../../../org/apache/xpath/axes/WalkingIterator.html" title="class in org.apache.xpath.axes">WalkingIterator</A> <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.56"><B>wi</B></A>()</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="init(org.apache.xpath.compiler.Compiler, int, int)"><!-- --></A><H3> | |
init</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.71"><B>init</B></A>(<A HREF="../../../../org/apache/xpath/compiler/Compiler.html" title="class in org.apache.xpath.compiler">Compiler</A> compiler, | |
int opPos, | |
int stepType) | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Initialize an AxesWalker during the parse of the XPath expression. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>compiler</CODE> - The Compiler object that has information about this | |
walker in the op map.<DD><CODE>opPos</CODE> - The op code position of this location step.<DD><CODE>stepType</CODE> - The type of location step. | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="clone()"><!-- --></A><H3> | |
clone</H3> | |
<PRE> | |
public java.lang.Object <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.87"><B>clone</B></A>() | |
throws java.lang.CloneNotSupportedException</PRE> | |
<DL> | |
<DD>Get a cloned AxesWalker. | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html" title="class in org.apache.xpath.axes">PredicatedNodeTest</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>A new AxesWalker that can be used without mutating this one. | |
<DT><B>Throws:</B> | |
<DD><CODE>java.lang.CloneNotSupportedException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="cloneDeep(org.apache.xpath.axes.WalkingIterator, java.util.Vector)"><!-- --></A><H3> | |
cloneDeep</H3> | |
<PRE> | |
<A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A> <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.113"><B>cloneDeep</B></A>(<A HREF="../../../../org/apache/xpath/axes/WalkingIterator.html" title="class in org.apache.xpath.axes">WalkingIterator</A> cloneOwner, | |
java.util.Vector cloneList) | |
throws java.lang.CloneNotSupportedException</PRE> | |
<DL> | |
<DD>Do a deep clone of this walker, including next and previous walkers. | |
If the this AxesWalker is on the clone list, don't clone but | |
return the already cloned version. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>cloneOwner</CODE> - non-null reference to the cloned location path | |
iterator to which this clone will be added.<DD><CODE>cloneList</CODE> - non-null vector of sources in odd elements, and the | |
corresponding clones in even vectors. | |
<DT><B>Returns:</B><DD>non-null clone, which may be a new clone, or may be a clone | |
contained on the cloneList. | |
<DT><B>Throws:</B> | |
<DD><CODE>java.lang.CloneNotSupportedException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="findClone(org.apache.xpath.axes.AxesWalker, java.util.Vector)"><!-- --></A><H3> | |
findClone</H3> | |
<PRE> | |
static <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A> <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.157"><B>findClone</B></A>(<A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A> key, | |
java.util.Vector cloneList)</PRE> | |
<DL> | |
<DD>Find a clone that corresponds to the key argument. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>key</CODE> - The original AxesWalker for which there may be a clone.<DD><CODE>cloneList</CODE> - vector of sources in odd elements, and the | |
corresponding clones in even vectors, may be null. | |
<DT><B>Returns:</B><DD>A clone that corresponds to the key, or null if key not found.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="detach()"><!-- --></A><H3> | |
detach</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.177"><B>detach</B></A>()</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. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getRoot()"><!-- --></A><H3> | |
getRoot</H3> | |
<PRE> | |
public int <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.194"><B>getRoot</B></A>()</PRE> | |
<DL> | |
<DD>The root node of the TreeWalker, as specified in setRoot(int root). | |
Note that this may actually be below the current node. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>The context node of the step.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getAnalysisBits()"><!-- --></A><H3> | |
getAnalysisBits</H3> | |
<PRE> | |
public int <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.203"><B>getAnalysisBits</B></A>()</PRE> | |
<DL> | |
<DD>Get the analysis bits for this walker, as defined in the WalkerFactory. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xpath/axes/PathComponent.html#getAnalysisBits()">getAnalysisBits</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xpath/axes/PathComponent.html" title="interface in org.apache.xpath.axes">PathComponent</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>One of WalkerFactory#BIT_DESCENDANT, etc.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setRoot(int)"><!-- --></A><H3> | |
setRoot</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.216"><B>setRoot</B></A>(int root)</PRE> | |
<DL> | |
<DD>Set the root node of the TreeWalker. | |
(Not part of the DOM2 TreeWalker interface). | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>root</CODE> - The context node of this step.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getCurrentNode()"><!-- --></A><H3> | |
getCurrentNode</H3> | |
<PRE> | |
public final int <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.250"><B>getCurrentNode</B></A>()</PRE> | |
<DL> | |
<DD>The node at which the TreeWalker is currently positioned. | |
<br> The value must not be null. Alterations to the DOM tree may cause | |
the current node to no longer be accepted by the TreeWalker's | |
associated filter. currentNode may also be explicitly set to any node, | |
whether or not it is within the subtree specified by the root node or | |
would be accepted by the filter and whatToShow flags. Further | |
traversal occurs relative to currentNode even if it is not part of the | |
current view by applying the filters in the requested direction (not | |
changing currentNode where no traversal is possible). | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>The node at which the TreeWalker is currently positioned, only null | |
if setRoot has not yet been called.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setNextWalker(org.apache.xpath.axes.AxesWalker)"><!-- --></A><H3> | |
setNextWalker</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.261"><B>setNextWalker</B></A>(<A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A> walker)</PRE> | |
<DL> | |
<DD>Set the next walker in the location step chain. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>walker</CODE> - Reference to AxesWalker derivative, or may be null.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNextWalker()"><!-- --></A><H3> | |
getNextWalker</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A> <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.272"><B>getNextWalker</B></A>()</PRE> | |
<DL> | |
<DD>Get the next walker in the location step chain. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>Reference to AxesWalker derivative, or null.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setPrevWalker(org.apache.xpath.axes.AxesWalker)"><!-- --></A><H3> | |
setPrevWalker</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.284"><B>setPrevWalker</B></A>(<A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A> walker)</PRE> | |
<DL> | |
<DD>Set or clear the previous walker reference in the location step chain. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>walker</CODE> - Reference to previous walker reference in the location | |
step chain, or null.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getPrevWalker()"><!-- --></A><H3> | |
getPrevWalker</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/xpath/axes/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A> <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.296"><B>getPrevWalker</B></A>()</PRE> | |
<DL> | |
<DD>Get the previous walker reference in the location step chain. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>Reference to previous walker reference in the location | |
step chain, or null.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="returnNextNode(int)"><!-- --></A><H3> | |
returnNextNode</H3> | |
<PRE> | |
private int <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.309"><B>returnNextNode</B></A>(int n)</PRE> | |
<DL> | |
<DD>This is simply a way to bottle-neck the return of the next node, for | |
diagnostic purposes. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>n</CODE> - Node to return, or null. | |
<DT><B>Returns:</B><DD>The argument.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getNextNode()"><!-- --></A><H3> | |
getNextNode</H3> | |
<PRE> | |
protected int <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.320"><B>getNextNode</B></A>()</PRE> | |
<DL> | |
<DD>Get the next node in document order on the axes. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>the next node in document order on the axes, or null.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="nextNode()"><!-- --></A><H3> | |
nextNode</H3> | |
<PRE> | |
public int <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.353"><B>nextNode</B></A>()</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. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<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 <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.412"><B>getLastPos</B></A>(<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> xctxt)</PRE> | |
<DL> | |
<DD>Get the index of the last node that can be itterated to. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xpath/axes/SubContextList.html#getLastPos(org.apache.xpath.XPathContext)">getLastPos</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xpath/axes/SubContextList.html" title="interface in org.apache.xpath.axes">SubContextList</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#getLastPos(org.apache.xpath.XPathContext)">getLastPos</A></CODE> in class <CODE><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html" title="class in org.apache.xpath.axes">PredicatedNodeTest</A></CODE></DL> | |
</DD> | |
<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.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setDefaultDTM(org.apache.xml.dtm.DTM)"><!-- --></A><H3> | |
setDefaultDTM</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.472"><B>setDefaultDTM</B></A>(<A HREF="../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> dtm)</PRE> | |
<DL> | |
<DD>Set the DTM for this walker. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>dtm</CODE> - Non-null reference to a DTM.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getDTM(int)"><!-- --></A><H3> | |
getDTM</H3> | |
<PRE> | |
public <A HREF="../../../../org/apache/xml/dtm/DTM.html" title="interface in org.apache.xml.dtm">DTM</A> <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.482"><B>getDTM</B></A>(int node)</PRE> | |
<DL> | |
<DD>Get the DTM for this walker. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>Non-null reference to a DTM.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isDocOrdered()"><!-- --></A><H3> | |
isDocOrdered</H3> | |
<PRE> | |
public boolean <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.495"><B>isDocOrdered</B></A>()</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! | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>true as a default.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getAxis()"><!-- --></A><H3> | |
getAxis</H3> | |
<PRE> | |
public int <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.506"><B>getAxis</B></A>()</PRE> | |
<DL> | |
<DD>Returns the axis being iterated, if it is known. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>Axis.CHILD, etc., or -1 if the axis is not known or is of multiple | |
types.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)"><!-- --></A><H3> | |
callVisitors</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.520"><B>callVisitors</B></A>(<A HREF="../../../../org/apache/xpath/ExpressionOwner.html" title="interface in org.apache.xpath">ExpressionOwner</A> owner, | |
<A HREF="../../../../org/apache/xpath/XPathVisitor.html" title="class in org.apache.xpath">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. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xpath/XPathVisitable.html#callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)">callVisitors</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xpath/XPathVisitable.html" title="interface in org.apache.xpath">XPathVisitable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)">callVisitors</A></CODE> in class <CODE><A HREF="../../../../org/apache/xpath/patterns/NodeTest.html" title="class in org.apache.xpath.patterns">NodeTest</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>owner</CODE> - The owner of the visitor, where that path may be | |
rewritten if needed.<DD><CODE>visitor</CODE> - The visitor whose appropriate method will be called.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/xpath/XPathVisitable.html#callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)"><CODE>XPathVisitable.callVisitors(ExpressionOwner, XPathVisitor)</CODE></A></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getExpression()"><!-- --></A><H3> | |
getExpression</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/axes/AxesWalker.html#line.535"><B>getExpression</B></A>()</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xpath/ExpressionOwner.html#getExpression()">ExpressionOwner</A></CODE></B></DD> | |
<DD>Get the raw Expression object that this class wraps. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xpath/ExpressionOwner.html#getExpression()">getExpression</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xpath/ExpressionOwner.html" title="interface in org.apache.xpath">ExpressionOwner</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>the raw Expression object, which should not normally be null.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/xpath/ExpressionOwner.html#getExpression()"><CODE>ExpressionOwner.getExpression()</CODE></A></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setExpression(org.apache.xpath.Expression)"><!-- --></A><H3> | |
setExpression</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.543"><B>setExpression</B></A>(<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> exp)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xpath/ExpressionOwner.html#setExpression(org.apache.xpath.Expression)">ExpressionOwner</A></CODE></B></DD> | |
<DD>Set the raw expression object for this object. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xpath/ExpressionOwner.html#setExpression(org.apache.xpath.Expression)">setExpression</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xpath/ExpressionOwner.html" title="interface in org.apache.xpath">ExpressionOwner</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>exp</CODE> - the raw Expression object, which should not normally be null.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/xpath/ExpressionOwner.html#setExpression(org.apache.xpath.Expression)"><CODE>ExpressionOwner.setExpression(Expression)</CODE></A></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="deepEquals(org.apache.xpath.Expression)"><!-- --></A><H3> | |
deepEquals</H3> | |
<PRE> | |
public boolean <A HREF="../../../../src-html/org/apache/xpath/axes/AxesWalker.html#line.552"><B>deepEquals</B></A>(<A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A> expr)</PRE> | |
<DL> | |
<DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/xpath/Expression.html#deepEquals(org.apache.xpath.Expression)">Expression</A></CODE></B></DD> | |
<DD>Compare this object with another object and see | |
if they are equal, include the sub heararchy. | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#deepEquals(org.apache.xpath.Expression)">deepEquals</A></CODE> in class <CODE><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html" title="class in org.apache.xpath.axes">PredicatedNodeTest</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>expr</CODE> - Another expression object. | |
<DT><B>Returns:</B><DD>true if this objects class and the expr | |
object's class are the same, and the data contained | |
within both objects are considered equal.<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 BOTTOM NAVBAR ====== --> | |
<A NAME="navbar_bottom"><!-- --></A> | |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> | |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
<TR> | |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
<A NAME="navbar_bottom_firstrow"><!-- --></A> | |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
<TR ALIGN="center" VALIGN="top"> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AxesWalker.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/AttributeIterator.html" title="class in org.apache.xpath.axes"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/xpath/axes/BasicTestIterator.html" title="class in org.apache.xpath.axes"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xpath/axes/AxesWalker.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="AxesWalker.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: <A HREF="#nested_classes_inherited_from_class_org.apache.xpath.axes.PredicatedNodeTest">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
</BODY> | |
</HTML> |