| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| <!--NewPage-->
|
| <HTML>
|
| <HEAD>
|
| <!-- Generated by javadoc on Thu Nov 22 17:12:56 EST 2007 -->
|
| <TITLE>
|
| Xalan-Java 2.7.1: Class NodeIteratorBase
|
| </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/NodeIteratorBase.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/xalan/xsltc/dom/NodeCounter.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.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="NodeIteratorBase.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | FIELD | <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.xalan.xsltc.dom</FONT>
|
| <BR>
|
| Class NodeIteratorBase</H2>
|
| <PRE>
|
| java.lang.Object
|
| |
|
| +--<B>org.apache.xalan.xsltc.dom.NodeIteratorBase</B>
|
| </PRE>
|
| <HR>
|
| <DL>
|
| <DT>public abstract class <B>NodeIteratorBase</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A></DL>
|
|
|
| <P>
|
| <HR>
|
|
|
| <P>
|
| <!-- ======== INNER CLASS SUMMARY ======== -->
|
|
|
|
|
| <!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
|
| <!-- ======== 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/xalan/xsltc/dom/NodeIteratorBase.html#NodeIteratorBase()">NodeIteratorBase</A></B>()</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ========== METHOD SUMMARY =========== -->
|
|
|
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Method Summary</B></FONT></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeIteratorBase.html#cloneIterator()">cloneIterator</A></B>()</CODE>
|
|
|
| <BR>
|
| Clones and resets this iterator.</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/xalan/xsltc/dom/NodeIteratorBase.html#getLast()">getLast</A></B>()</CODE>
|
|
|
| <BR>
|
| Default implementation of getLast().</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/xalan/xsltc/dom/NodeIteratorBase.html#getPosition()">getPosition</A></B>()</CODE>
|
|
|
| <BR>
|
| Returns the position() in this iterator.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeIteratorBase.html#includeSelf()">includeSelf</A></B>()</CODE>
|
|
|
| <BR>
|
| Setter for _includeSelf flag.</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/xalan/xsltc/dom/NodeIteratorBase.html#isReverse()">isReverse</A></B>()</CODE>
|
|
|
| <BR>
|
| Indicates if position in this iterator is computed in reverse |
| document order.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeIteratorBase.html#reset()">reset</A></B>()</CODE>
|
|
|
| <BR>
|
| Reset this iterator using state from last call to |
| setStartNode().</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/xalan/xsltc/dom/NodeIteratorBase.html#setRestartable(boolean)">setRestartable</A></B>(boolean isRestartable)</CODE>
|
|
|
| <BR>
|
| Setter for _isRestartable flag.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE>abstract <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeIteratorBase.html#setStartNode(int)">setStartNode</A></B>(int node)</CODE>
|
|
|
| <BR>
|
| Initialize iterator using a node.</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="NodeIteratorBase()"><!-- --></A><H3>
|
| NodeIteratorBase</H3>
|
| <PRE>
|
| public <B>NodeIteratorBase</B>()</PRE>
|
| <DL>
|
| </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="setRestartable(boolean)"><!-- --></A><H3>
|
| setRestartable</H3>
|
| <PRE>
|
| public void <B>setRestartable</B>(boolean isRestartable)</PRE>
|
| <DL>
|
| <DD>Setter for _isRestartable flag.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html#setRestartable(boolean)">setRestartable</A> in interface <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setStartNode(int)"><!-- --></A><H3>
|
| setStartNode</H3>
|
| <PRE>
|
| public abstract <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A> <B>setStartNode</B>(int node)</PRE>
|
| <DL>
|
| <DD>Initialize iterator using a node. If iterator is not |
| restartable, then do nothing. If node is equal to END then |
| subsequent calls to next() must return END.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html#setStartNode(int)">setStartNode</A> in interface <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="reset()"><!-- --></A><H3>
|
| reset</H3>
|
| <PRE>
|
| public <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A> <B>reset</B>()</PRE>
|
| <DL>
|
| <DD>Reset this iterator using state from last call to |
| setStartNode().<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html#reset()">reset</A> in interface <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="includeSelf()"><!-- --></A><H3>
|
| includeSelf</H3>
|
| <PRE>
|
| public <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A> <B>includeSelf</B>()</PRE>
|
| <DL>
|
| <DD>Setter for _includeSelf flag.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getLast()"><!-- --></A><H3>
|
| getLast</H3>
|
| <PRE>
|
| public int <B>getLast</B>()</PRE>
|
| <DL>
|
| <DD>Default implementation of getLast(). Stores current position |
| and current node, resets the iterator, counts all nodes and |
| restores iterator to original state.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html#getLast()">getLast</A> in interface <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getPosition()"><!-- --></A><H3>
|
| getPosition</H3>
|
| <PRE>
|
| public int <B>getPosition</B>()</PRE>
|
| <DL>
|
| <DD>Returns the position() in this iterator.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html#getPosition()">getPosition</A> in interface <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="isReverse()"><!-- --></A><H3>
|
| isReverse</H3>
|
| <PRE>
|
| public boolean <B>isReverse</B>()</PRE>
|
| <DL>
|
| <DD>Indicates if position in this iterator is computed in reverse |
| document order. Note that nodes are always returned in document |
| order.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html#isReverse()">isReverse</A> in interface <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="cloneIterator()"><!-- --></A><H3>
|
| cloneIterator</H3>
|
| <PRE>
|
| public <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</A> <B>cloneIterator</B>()</PRE>
|
| <DL>
|
| <DD>Clones and resets this iterator. Note that the cloned iterator is |
| not restartable. This is because cloning is needed for variable |
| references, and the context node of the original variable |
| declaration must be preserved.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html#cloneIterator()">cloneIterator</A> in interface <A HREF="../../../../../org/apache/xalan/xsltc/NodeIterator.html">NodeIterator</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/NodeIteratorBase.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/xalan/xsltc/dom/NodeCounter.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../../org/apache/xalan/xsltc/dom/NodeSortRecord.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="NodeIteratorBase.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | FIELD | <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>
|