1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Thu Mar 15 14:18:35 EST 2001 -->
<TITLE>
Xalan-Java 2: Class PredicatedNodeTest
</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 ID="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="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/PredicatedNodeTest.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT ID="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/PrecedingWalker.html"><B>PREV CLASS</B></A>
<A HREF="../../../../org/apache/xpath/axes/ReverseAxesWalker.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="PredicatedNodeTest.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A HREF="#fields_inherited_from_class_org.apache.xpath.patterns.NodeTest">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.xpath.axes</FONT>
<BR>
Class PredicatedNodeTest</H2>
<PRE>
java.lang.Object
|
+--<A HREF="../../../../org/apache/xpath/Expression.html">org.apache.xpath.Expression</A>
|
+--<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html">org.apache.xpath.patterns.NodeTest</A>
|
+--<B>org.apache.xpath.axes.PredicatedNodeTest</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/xpath/axes/AxesWalker.html">AxesWalker</A>, <A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html">LocPathIterator</A></DD>
</DL>
<HR>
<DL>
<DT>public abstract class <B>PredicatedNodeTest</B><DT>extends <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html">NodeTest</A><DT>implements <A HREF="../../../../org/apache/xpath/axes/SubContextList.html">SubContextList</A></DL>
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../../../serialized-form.html#org.apache.xpath.axes.PredicatedNodeTest">Serialized Form</A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="fields_inherited_from_class_org.apache.xpath.patterns.NodeTest"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class org.apache.xpath.patterns.<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html">NodeTest</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SCORE_NODETEST">SCORE_NODETEST</A>,
<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SCORE_NONE">SCORE_NONE</A>,
<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SCORE_NSWILD">SCORE_NSWILD</A>,
<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SCORE_OTHER">SCORE_OTHER</A>,
<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SCORE_QNAME">SCORE_QNAME</A>,
<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SHOW_BYFUNCTION">SHOW_BYFUNCTION</A>,
<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SHOW_NAMESPACE">SHOW_NAMESPACE</A>,
<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#SUPPORTS_PRE_STRIPPING">SUPPORTS_PRE_STRIPPING</A>,
<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#WILD">WILD</A></CODE></TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#PredicatedNodeTest()">PredicatedNodeTest</A></B>()</CODE>
<BR>
Construct an AxesWalker.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#PredicatedNodeTest(org.apache.xpath.axes.LocPathIterator)">PredicatedNodeTest</A></B>(<A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html">LocPathIterator</A> locPathIterator)</CODE>
<BR>
Construct an AxesWalker using a LocPathIterator.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> short</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#acceptNode(org.w3c.dom.Node)">acceptNode</A></B>(<A HREF="../../../../org/w3c/dom/Node.html">Node</A> n)</CODE>
<BR>
Test whether a specified node is visible in the logical view of a
TreeWalker or NodeIterator.</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/PredicatedNodeTest.html#canTraverseOutsideSubtree()">canTraverseOutsideSubtree</A></B>()</CODE>
<BR>
Tell if this expression or it's subexpressions can traverse outside
the current subtree.</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/PredicatedNodeTest.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>abstract int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#getLastPos(org.apache.xpath.XPathContext)">getLastPos</A></B>(<A HREF="../../../../org/apache/xpath/XPathContext.html">XPathContext</A> xctxt)</CODE>
<BR>
Get the index of the last node that can be itterated to.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html">LocPathIterator</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#getLocPathIterator()">getLocPathIterator</A></B>()</CODE>
<BR>
Get the owning location path 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/xpath/axes/PredicatedNodeTest.html#getPredicateCount()">getPredicateCount</A></B>()</CODE>
<BR>
Get the number of predicates that this walker has.</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/PredicatedNodeTest.html#getPredicateIndex()">getPredicateIndex</A></B>()</CODE>
<BR>
Get which predicate is executing.</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/PredicatedNodeTest.html#getProximityPosition()">getProximityPosition</A></B>()</CODE>
<BR>
Get the current sub-context position.</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/PredicatedNodeTest.html#getProximityPosition(org.apache.xpath.XPathContext)">getProximityPosition</A></B>(<A HREF="../../../../org/apache/xpath/XPathContext.html">XPathContext</A> xctxt)</CODE>
<BR>
Get the current sub-context position.</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/PredicatedNodeTest.html#initProximityPosition(int)">initProximityPosition</A></B>(int i)</CODE>
<BR>
Init the proximity position to zero for a forward axes.</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/PredicatedNodeTest.html#isReverseAxes()">isReverseAxes</A></B>()</CODE>
<BR>
Tells if this is a reverse axes.</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/PredicatedNodeTest.html#resetProximityPositions()">resetProximityPositions</A></B>()</CODE>
<BR>
Reset the proximity positions counts.</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/PredicatedNodeTest.html#setLocPathIterator(org.apache.xpath.axes.LocPathIterator)">setLocPathIterator</A></B>(<A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html">LocPathIterator</A> li)</CODE>
<BR>
Set the location path iterator owner 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/PredicatedNodeTest.html#setPredicateCount(int)">setPredicateCount</A></B>(int count)</CODE>
<BR>
Set the number of predicates that this walker has.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.apache.xpath.patterns.NodeTest"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.xpath.patterns.<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html">NodeTest</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#debugWhatToShow(int)">debugWhatToShow</A>,
<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#execute(org.apache.xpath.XPathContext)">execute</A>,
<A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#execute(org.apache.xpath.XPathContext, org.w3c.dom.Node)">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#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></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.apache.xpath.Expression"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.xpath.<A HREF="../../../../org/apache/xpath/Expression.html">Expression</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/apache/xpath/Expression.html#assert(boolean, java.lang.String)">assert</A>,
<A HREF="../../../../org/apache/xpath/Expression.html#error(org.apache.xpath.XPathContext, int, java.lang.Object[])">error</A>,
<A HREF="../../../../org/apache/xpath/Expression.html#setSourceLocator(javax.xml.transform.SourceLocator)">setSourceLocator</A>,
<A HREF="../../../../org/apache/xpath/Expression.html#warn(org.apache.xpath.XPathContext, int, java.lang.Object[])">warn</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="PredicatedNodeTest(org.apache.xpath.axes.LocPathIterator)"><!-- --></A><H3>
PredicatedNodeTest</H3>
<PRE>
public <B>PredicatedNodeTest</B>(<A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html">LocPathIterator</A> locPathIterator)</PRE>
<DL>
<DD>Construct an AxesWalker using a LocPathIterator.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locPathIterator</CODE> - non-null reference to the parent iterator.</DL>
</DD>
</DL>
<HR>
<A NAME="PredicatedNodeTest()"><!-- --></A><H3>
PredicatedNodeTest</H3>
<PRE>
public <B>PredicatedNodeTest</B>()</PRE>
<DL>
<DD>Construct an AxesWalker. The location path iterator will have to be set
before use.</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="clone()"><!-- --></A><H3>
clone</H3>
<PRE>
public java.lang.Object <B>clone</B>()
throws java.lang.CloneNotSupportedException</PRE>
<DL>
<DD>Get a cloned AxesWalker.<DD><DL>
<DT><B>Returns:</B><DD>A new AxesWalker that can be used without mutating this one.<DT><B>Throws:</B><DD>java.lang.CloneNotSupportedException - </DL>
</DD>
</DL>
<HR>
<A NAME="getPredicateCount()"><!-- --></A><H3>
getPredicateCount</H3>
<PRE>
public int <B>getPredicateCount</B>()</PRE>
<DL>
<DD>Get the number of predicates that this walker has.<DD><DL>
<DT><B>Returns:</B><DD>the number of predicates that this walker has.</DL>
</DD>
</DL>
<HR>
<A NAME="setPredicateCount(int)"><!-- --></A><H3>
setPredicateCount</H3>
<PRE>
public void <B>setPredicateCount</B>(int count)</PRE>
<DL>
<DD>Set the number of predicates that this walker has. This does more
that one would think, as it creates a new predicate array of the
size of the count argument, and copies count predicates into the new
one from the old, and then reassigns the predicates value. All this
to keep from having to have a predicate count value.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>count</CODE> - The number of predicates, which must be equal or less
than the existing count.</DL>
</DD>
</DL>
<HR>
<A NAME="getProximityPosition()"><!-- --></A><H3>
getProximityPosition</H3>
<PRE>
public int <B>getProximityPosition</B>()</PRE>
<DL>
<DD>Get the current sub-context position.<DD><DL>
<DT><B>Returns:</B><DD>The node position of this walker in the sub-context node list.</DL>
</DD>
</DL>
<HR>
<A NAME="getProximityPosition(org.apache.xpath.XPathContext)"><!-- --></A><H3>
getProximityPosition</H3>
<PRE>
public int <B>getProximityPosition</B>(<A HREF="../../../../org/apache/xpath/XPathContext.html">XPathContext</A> xctxt)</PRE>
<DL>
<DD>Get the current sub-context position.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xpath/axes/SubContextList.html#getProximityPosition(org.apache.xpath.XPathContext)">getProximityPosition</A> in interface <A HREF="../../../../org/apache/xpath/axes/SubContextList.html">SubContextList</A><DT><B>Parameters:</B><DD><CODE>xctxt</CODE> - The XPath runtime context.<DT><B>Returns:</B><DD>The node position of this walker in the sub-context node list.</DL>
</DD>
</DL>
<HR>
<A NAME="getLastPos(org.apache.xpath.XPathContext)"><!-- --></A><H3>
getLastPos</H3>
<PRE>
public abstract int <B>getLastPos</B>(<A HREF="../../../../org/apache/xpath/XPathContext.html">XPathContext</A> xctxt)</PRE>
<DL>
<DD>Get the index of the last node that can be itterated to.<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xpath/axes/SubContextList.html#getLastPos(org.apache.xpath.XPathContext)">getLastPos</A> in interface <A HREF="../../../../org/apache/xpath/axes/SubContextList.html">SubContextList</A><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="resetProximityPositions()"><!-- --></A><H3>
resetProximityPositions</H3>
<PRE>
public void <B>resetProximityPositions</B>()</PRE>
<DL>
<DD>Reset the proximity positions counts.<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="initProximityPosition(int)"><!-- --></A><H3>
initProximityPosition</H3>
<PRE>
public void <B>initProximityPosition</B>(int i)
throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
<DL>
<DD>Init the proximity position to zero for a forward axes.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>i</CODE> - The index into the m_proximityPositions array.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - </DL>
</DD>
</DL>
<HR>
<A NAME="isReverseAxes()"><!-- --></A><H3>
isReverseAxes</H3>
<PRE>
public boolean <B>isReverseAxes</B>()</PRE>
<DL>
<DD>Tells if this is a reverse axes.<DD><DL>
<DT><B>Returns:</B><DD>false, unless a derived class overrides.</DL>
</DD>
</DL>
<HR>
<A NAME="getPredicateIndex()"><!-- --></A><H3>
getPredicateIndex</H3>
<PRE>
public int <B>getPredicateIndex</B>()</PRE>
<DL>
<DD>Get which predicate is executing.<DD><DL>
<DT><B>Returns:</B><DD>The current predicate index, or -1 if no predicate is executing.</DL>
</DD>
</DL>
<HR>
<A NAME="acceptNode(org.w3c.dom.Node)"><!-- --></A><H3>
acceptNode</H3>
<PRE>
public short <B>acceptNode</B>(<A HREF="../../../../org/w3c/dom/Node.html">Node</A> n)</PRE>
<DL>
<DD>Test whether a specified node is visible in the logical view of a
TreeWalker or NodeIterator. This function will be called by the
implementation of TreeWalker and NodeIterator; it is not intended to
be called directly from user code.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>n</CODE> - The node to check to see if it passes the filter or not.<DT><B>Returns:</B><DD>a constant to determine whether the node is accepted,
rejected, or skipped, as defined above .</DL>
</DD>
</DL>
<HR>
<A NAME="getLocPathIterator()"><!-- --></A><H3>
getLocPathIterator</H3>
<PRE>
public <A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html">LocPathIterator</A> <B>getLocPathIterator</B>()</PRE>
<DL>
<DD>Get the owning location path iterator.<DD><DL>
<DT><B>Returns:</B><DD>the owning location path iterator, which should not be null.</DL>
</DD>
</DL>
<HR>
<A NAME="setLocPathIterator(org.apache.xpath.axes.LocPathIterator)"><!-- --></A><H3>
setLocPathIterator</H3>
<PRE>
public void <B>setLocPathIterator</B>(<A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html">LocPathIterator</A> li)</PRE>
<DL>
<DD>Set the location path iterator owner for this walker. Besides
initialization, this function is called during cloning operations.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>li</CODE> - non-null reference to the owning location path iterator.</DL>
</DD>
</DL>
<HR>
<A NAME="canTraverseOutsideSubtree()"><!-- --></A><H3>
canTraverseOutsideSubtree</H3>
<PRE>
public boolean <B>canTraverseOutsideSubtree</B>()</PRE>
<DL>
<DD>Tell if this expression or it's subexpressions can traverse outside
the current subtree.<DD><DL>
<DT><B>Returns:</B><DD>true if traversal outside the context node's subtree can occur.<DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/Expression.html#canTraverseOutsideSubtree()">canTraverseOutsideSubtree</A> in class <A HREF="../../../../org/apache/xpath/Expression.html">Expression</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 ID="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="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/PredicatedNodeTest.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT ID="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/PrecedingWalker.html"><B>PREV CLASS</B></A>
<A HREF="../../../../org/apache/xpath/axes/ReverseAxesWalker.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="PredicatedNodeTest.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A HREF="#fields_inherited_from_class_org.apache.xpath.patterns.NodeTest">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
Copyright 2000 Apache XML Project. All Rights Reserved.
</BODY>
</HTML>
|