<!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:17 PDT 2012 --> | |
<TITLE> | |
NodeIterator | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xalan.xsltc.NodeIterator interface"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="NodeIterator"; | |
} | |
</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/NodeIterator.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/DOMEnhancedForDTM.html" title="interface in org.apache.xalan.xsltc"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/xalan/xsltc/ProcessorVersion.html" title="class in org.apache.xalan.xsltc"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xalan/xsltc/NodeIterator.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="NodeIterator.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: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <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.xalan.xsltc</FONT> | |
<BR> | |
Interface NodeIterator</H2> | |
<DL> | |
<DT><B>All Superinterfaces:</B> <DD>java.lang.Cloneable</DD> | |
</DL> | |
<DL> | |
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/xalan/xsltc/dom/NodeIteratorBase.html" title="class in org.apache.xalan.xsltc.dom">NodeIteratorBase</A></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public interface <A HREF="../../../../src-html/org/apache/xalan/xsltc/NodeIterator.html#line.30"><B>NodeIterator</B></A><DT>extends java.lang.Cloneable</DL> | |
</PRE> | |
<P> | |
<HR> | |
<P> | |
<!-- =========== FIELD SUMMARY =========== --> | |
<A NAME="field_summary"><!-- --></A> | |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
<B>Field Summary</B></FONT></TH> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>static int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/xsltc/NodeIterator.html#END">END</A></B></CODE> | |
<BR> | |
</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> <A HREF="../../../../org/apache/xalan/xsltc/NodeIterator.html" title="interface in org.apache.xalan.xsltc">NodeIterator</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/xsltc/NodeIterator.html#cloneIterator()">cloneIterator</A></B>()</CODE> | |
<BR> | |
Returns a deep copy of 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/NodeIterator.html#getLast()">getLast</A></B>()</CODE> | |
<BR> | |
Returns the number of elements in 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/NodeIterator.html#getPosition()">getPosition</A></B>()</CODE> | |
<BR> | |
Returns the position of the current node in the set.</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/NodeIterator.html#gotoMark()">gotoMark</A></B>()</CODE> | |
<BR> | |
Restores the current node remembered by setMark().</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/NodeIterator.html#isReverse()">isReverse</A></B>()</CODE> | |
<BR> | |
True if this iterator has a reversed axis.</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/NodeIterator.html#next()">next</A></B>()</CODE> | |
<BR> | |
Callers should not call next() after it returns END.</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" title="interface in org.apache.xalan.xsltc">NodeIterator</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/xsltc/NodeIterator.html#reset()">reset</A></B>()</CODE> | |
<BR> | |
Resets the iterator to the last start 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/xalan/xsltc/NodeIterator.html#setMark()">setMark</A></B>()</CODE> | |
<BR> | |
Remembers the current node for the next call to gotoMark().</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/NodeIterator.html#setRestartable(boolean)">setRestartable</A></B>(boolean isRestartable)</CODE> | |
<BR> | |
Prevents or allows iterator restarts.</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" title="interface in org.apache.xalan.xsltc">NodeIterator</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/xsltc/NodeIterator.html#setStartNode(int)">setStartNode</A></B>(int node)</CODE> | |
<BR> | |
Set start to END should 'close' the iterator, | |
i.e.</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="END"><!-- --></A><H3> | |
END</H3> | |
<PRE> | |
static final int <A HREF="../../../../src-html/org/apache/xalan/xsltc/NodeIterator.html#line.31"><B>END</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xalan.xsltc.NodeIterator.END">Constant Field Values</A></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="next()"><!-- --></A><H3> | |
next</H3> | |
<PRE> | |
int <A HREF="../../../../src-html/org/apache/xalan/xsltc/NodeIterator.html#line.36"><B>next</B></A>()</PRE> | |
<DL> | |
<DD>Callers should not call next() after it returns END. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="reset()"><!-- --></A><H3> | |
reset</H3> | |
<PRE> | |
<A HREF="../../../../org/apache/xalan/xsltc/NodeIterator.html" title="interface in org.apache.xalan.xsltc">NodeIterator</A> <A HREF="../../../../src-html/org/apache/xalan/xsltc/NodeIterator.html#line.41"><B>reset</B></A>()</PRE> | |
<DL> | |
<DD>Resets the iterator to the last start node. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getLast()"><!-- --></A><H3> | |
getLast</H3> | |
<PRE> | |
int <A HREF="../../../../src-html/org/apache/xalan/xsltc/NodeIterator.html#line.46"><B>getLast</B></A>()</PRE> | |
<DL> | |
<DD>Returns the number of elements in this iterator. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getPosition()"><!-- --></A><H3> | |
getPosition</H3> | |
<PRE> | |
int <A HREF="../../../../src-html/org/apache/xalan/xsltc/NodeIterator.html#line.51"><B>getPosition</B></A>()</PRE> | |
<DL> | |
<DD>Returns the position of the current node in the set. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setMark()"><!-- --></A><H3> | |
setMark</H3> | |
<PRE> | |
void <A HREF="../../../../src-html/org/apache/xalan/xsltc/NodeIterator.html#line.56"><B>setMark</B></A>()</PRE> | |
<DL> | |
<DD>Remembers the current node for the next call to gotoMark(). | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="gotoMark()"><!-- --></A><H3> | |
gotoMark</H3> | |
<PRE> | |
void <A HREF="../../../../src-html/org/apache/xalan/xsltc/NodeIterator.html#line.61"><B>gotoMark</B></A>()</PRE> | |
<DL> | |
<DD>Restores the current node remembered by setMark(). | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setStartNode(int)"><!-- --></A><H3> | |
setStartNode</H3> | |
<PRE> | |
<A HREF="../../../../org/apache/xalan/xsltc/NodeIterator.html" title="interface in org.apache.xalan.xsltc">NodeIterator</A> <A HREF="../../../../src-html/org/apache/xalan/xsltc/NodeIterator.html#line.67"><B>setStartNode</B></A>(int node)</PRE> | |
<DL> | |
<DD>Set start to END should 'close' the iterator, | |
i.e. subsequent call to next() should return END. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isReverse()"><!-- --></A><H3> | |
isReverse</H3> | |
<PRE> | |
boolean <A HREF="../../../../src-html/org/apache/xalan/xsltc/NodeIterator.html#line.72"><B>isReverse</B></A>()</PRE> | |
<DL> | |
<DD>True if this iterator has a reversed axis. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="cloneIterator()"><!-- --></A><H3> | |
cloneIterator</H3> | |
<PRE> | |
<A HREF="../../../../org/apache/xalan/xsltc/NodeIterator.html" title="interface in org.apache.xalan.xsltc">NodeIterator</A> <A HREF="../../../../src-html/org/apache/xalan/xsltc/NodeIterator.html#line.77"><B>cloneIterator</B></A>()</PRE> | |
<DL> | |
<DD>Returns a deep copy of this iterator. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setRestartable(boolean)"><!-- --></A><H3> | |
setRestartable</H3> | |
<PRE> | |
void <A HREF="../../../../src-html/org/apache/xalan/xsltc/NodeIterator.html#line.82"><B>setRestartable</B></A>(boolean isRestartable)</PRE> | |
<DL> | |
<DD>Prevents or allows iterator restarts. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</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/NodeIterator.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/DOMEnhancedForDTM.html" title="interface in org.apache.xalan.xsltc"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/xalan/xsltc/ProcessorVersion.html" title="class in org.apache.xalan.xsltc"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xalan/xsltc/NodeIterator.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="NodeIterator.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: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
</BODY> | |
</HTML> |