<!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:40 PDT 2012 --> | |
<TITLE> | |
PredicatedNodeTest | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xpath.axes.PredicatedNodeTest class"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="PredicatedNodeTest"; | |
} | |
</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/PredicatedNodeTest.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/PathComponent.html" title="interface in org.apache.xpath.axes"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.PredOwner.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/PredicatedNodeTest.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="PredicatedNodeTest.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_class_summary">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 PredicatedNodeTest</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 "><B>org.apache.xpath.axes.PredicatedNodeTest</B> | |
</PRE> | |
<DL> | |
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, javax.xml.transform.SourceLocator, <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/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/AxesWalker.html" title="class in org.apache.xpath.axes">AxesWalker</A>, <A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html" title="class in org.apache.xpath.axes">LocPathIterator</A></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public abstract class <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.34"><B>PredicatedNodeTest</B></A><DT>extends <A HREF="../../../../org/apache/xpath/patterns/NodeTest.html" title="class in org.apache.xpath.patterns">NodeTest</A><DT>implements <A HREF="../../../../org/apache/xpath/axes/SubContextList.html" title="interface in org.apache.xpath.axes">SubContextList</A></DL> | |
</PRE> | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.xpath.axes.PredicatedNodeTest">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> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) class</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.PredOwner.html" title="class in org.apache.xpath.axes">PredicatedNodeTest.PredOwner</A></B></CODE> | |
<BR> | |
</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>(package private) static boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#DEBUG_PREDICATECOUNTING">DEBUG_PREDICATECOUNTING</A></B></CODE> | |
<BR> | |
If true, diagnostic messages about predicate execution will be posted.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#m_foundLast">m_foundLast</A></B></CODE> | |
<BR> | |
This is true if nextNode returns null.</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/LocPathIterator.html" title="class in org.apache.xpath.axes">LocPathIterator</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#m_lpi">m_lpi</A></B></CODE> | |
<BR> | |
The owning location path iterator.</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/PredicatedNodeTest.html#m_predCount">m_predCount</A></B></CODE> | |
<BR> | |
</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/PredicatedNodeTest.html#m_predicateIndex">m_predicateIndex</A></B></CODE> | |
<BR> | |
Which predicate we are executing.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private <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/PredicatedNodeTest.html#m_predicates">m_predicates</A></B></CODE> | |
<BR> | |
The list of predicate expressions.</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/PredicatedNodeTest.html#m_proximityPositions">m_proximityPositions</A></B></CODE> | |
<BR> | |
An array of counts that correspond to the number | |
of predicates the step contains.</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/PredicatedNodeTest.html#serialVersionUID">serialVersionUID</A></B></CODE> | |
<BR> | |
</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/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" title="class in org.apache.xpath.axes">LocPathIterator</A> locPathIterator)</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> short</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#acceptNode(int)">acceptNode</A></B>(int 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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#callPredicateVisitors(org.apache.xpath.XPathVisitor)">callPredicateVisitors</A></B>(<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> 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 PrdicatedNodeTest.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>protected void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#countProximityPosition(int)">countProximityPosition</A></B>(int i)</CODE> | |
<BR> | |
Count forward one proximity position.</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#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>(package private) boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#executePredicates(int, org.apache.xpath.XPathContext)">executePredicates</A></B>(int context, | |
<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> xctxt)</CODE> | |
<BR> | |
Process the predicates.</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#fixupVariables(java.util.Vector, int)">fixupVariables</A></B>(java.util.Vector vars, | |
int globalsSize)</CODE> | |
<BR> | |
This function is used to fixup variables from QNames to stack frame | |
indexes at stylesheet build time.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>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" 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> <A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html" title="class in org.apache.xpath.axes">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> <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/PredicatedNodeTest.html#getPredicate(int)">getPredicate</A></B>(int index)</CODE> | |
<BR> | |
Get a predicate expression at the given index.</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>protected int</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#getProximityPosition(int)">getProximityPosition</A></B>(int predicateIndex)</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" title="class in org.apache.xpath">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>protected void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#initPredicateInfo(org.apache.xpath.compiler.Compiler, int)">initPredicateInfo</A></B>(<A HREF="../../../../org/apache/xpath/compiler/Compiler.html" title="class in org.apache.xpath.compiler">Compiler</A> compiler, | |
int opPos)</CODE> | |
<BR> | |
Init predicate info.</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>protected java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#nodeToString(int)">nodeToString</A></B>(int n)</CODE> | |
<BR> | |
Diagnostics.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>private void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.html#readObject(java.io.ObjectInputStream)">readObject</A></B>(java.io.ObjectInputStream stream)</CODE> | |
<BR> | |
Read the object from a serialization stream.</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" title="class in org.apache.xpath.axes">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" 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#callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)">callVisitors</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/PredicatedNodeTest.html#line.36"><B>serialVersionUID</B></A></PRE> | |
<DL> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xpath.axes.PredicatedNodeTest.serialVersionUID">Constant Field Values</A></DL> | |
</DL> | |
<HR> | |
<A NAME="m_predCount"><!-- --></A><H3> | |
m_predCount</H3> | |
<PRE> | |
protected int <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.109"><B>m_predCount</B></A></PRE> | |
<DL> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_foundLast"><!-- --></A><H3> | |
m_foundLast</H3> | |
<PRE> | |
protected transient boolean <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.593"><B>m_foundLast</B></A></PRE> | |
<DL> | |
<DD>This is true if nextNode returns null. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_lpi"><!-- --></A><H3> | |
m_lpi</H3> | |
<PRE> | |
protected <A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html" title="class in org.apache.xpath.axes">LocPathIterator</A> <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.597"><B>m_lpi</B></A></PRE> | |
<DL> | |
<DD>The owning location path iterator. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_predicateIndex"><!-- --></A><H3> | |
m_predicateIndex</H3> | |
<PRE> | |
transient int <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.602"><B>m_predicateIndex</B></A></PRE> | |
<DL> | |
<DD>Which predicate we are executing. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_predicates"><!-- --></A><H3> | |
m_predicates</H3> | |
<PRE> | |
private <A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A>[] <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.608"><B>m_predicates</B></A></PRE> | |
<DL> | |
<DD>The list of predicate expressions. Is static and does not need | |
to be deep cloned. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="m_proximityPositions"><!-- --></A><H3> | |
m_proximityPositions</H3> | |
<PRE> | |
protected transient int[] <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.614"><B>m_proximityPositions</B></A></PRE> | |
<DL> | |
<DD>An array of counts that correspond to the number | |
of predicates the step contains. | |
<P> | |
<DL> | |
</DL> | |
</DL> | |
<HR> | |
<A NAME="DEBUG_PREDICATECOUNTING"><!-- --></A><H3> | |
DEBUG_PREDICATECOUNTING</H3> | |
<PRE> | |
static final boolean <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.617"><B>DEBUG_PREDICATECOUNTING</B></A></PRE> | |
<DL> | |
<DD>If true, diagnostic messages about predicate execution will be posted. | |
<P> | |
<DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.xpath.axes.PredicatedNodeTest.DEBUG_PREDICATECOUNTING">Constant Field Values</A></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="PredicatedNodeTest(org.apache.xpath.axes.LocPathIterator)"><!-- --></A><H3> | |
PredicatedNodeTest</H3> | |
<PRE> | |
<A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.43"><B>PredicatedNodeTest</B></A>(<A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html" title="class in org.apache.xpath.axes">LocPathIterator</A> locPathIterator)</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> | |
<HR> | |
<A NAME="PredicatedNodeTest()"><!-- --></A><H3> | |
PredicatedNodeTest</H3> | |
<PRE> | |
<A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.52"><B>PredicatedNodeTest</B></A>()</PRE> | |
<DL> | |
<DD>Construct an AxesWalker. The location path iterator will have to be set | |
before use. | |
<P> | |
</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="readObject(java.io.ObjectInputStream)"><!-- --></A><H3> | |
readObject</H3> | |
<PRE> | |
private void <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.64"><B>readObject</B></A>(java.io.ObjectInputStream stream) | |
throws java.io.IOException, | |
javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Read the object from a serialization stream. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>stream</CODE> - Input stream to read from | |
<DT><B>Throws:</B> | |
<DD><CODE>java.io.IOException</CODE> | |
<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/PredicatedNodeTest.html#line.86"><B>clone</B></A>() | |
throws java.lang.CloneNotSupportedException</PRE> | |
<DL> | |
<DD>Get a cloned PrdicatedNodeTest. | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>A new PredicatedNodeTest that can be used without mutating this one. | |
<DT><B>Throws:</B> | |
<DD><CODE>java.lang.CloneNotSupportedException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getPredicateCount()"><!-- --></A><H3> | |
getPredicateCount</H3> | |
<PRE> | |
public int <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.116"><B>getPredicateCount</B></A>()</PRE> | |
<DL> | |
<DD>Get the number of predicates that this walker has. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<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 <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.134"><B>setPredicateCount</B></A>(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. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<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="initPredicateInfo(org.apache.xpath.compiler.Compiler, int)"><!-- --></A><H3> | |
initPredicateInfo</H3> | |
<PRE> | |
protected void <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.159"><B>initPredicateInfo</B></A>(<A HREF="../../../../org/apache/xpath/compiler/Compiler.html" title="class in org.apache.xpath.compiler">Compiler</A> compiler, | |
int opPos) | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Init predicate info. | |
<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. | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getPredicate(int)"><!-- --></A><H3> | |
getPredicate</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/PredicatedNodeTest.html#line.186"><B>getPredicate</B></A>(int index)</PRE> | |
<DL> | |
<DD>Get a predicate expression at the given index. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>index</CODE> - Index of the predicate. | |
<DT><B>Returns:</B><DD>A predicate expression.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getProximityPosition()"><!-- --></A><H3> | |
getProximityPosition</H3> | |
<PRE> | |
public int <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.196"><B>getProximityPosition</B></A>()</PRE> | |
<DL> | |
<DD>Get the current sub-context position. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<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 <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.210"><B>getProximityPosition</B></A>(<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> xctxt)</PRE> | |
<DL> | |
<DD>Get the current sub-context position. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xpath/axes/SubContextList.html#getProximityPosition(org.apache.xpath.XPathContext)">getProximityPosition</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xpath/axes/SubContextList.html" title="interface in org.apache.xpath.axes">SubContextList</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<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 <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.223"><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></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="getProximityPosition(int)"><!-- --></A><H3> | |
getProximityPosition</H3> | |
<PRE> | |
protected int <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.233"><B>getProximityPosition</B></A>(int predicateIndex)</PRE> | |
<DL> | |
<DD>Get the current sub-context position. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>predicateIndex</CODE> - The index of the predicate where the proximity | |
should be taken from. | |
<DT><B>Returns:</B><DD>The node position of this walker in the sub-context node list.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="resetProximityPositions()"><!-- --></A><H3> | |
resetProximityPositions</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.241"><B>resetProximityPositions</B></A>()</PRE> | |
<DL> | |
<DD>Reset the proximity positions counts. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="initProximityPosition(int)"><!-- --></A><H3> | |
initProximityPosition</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.271"><B>initProximityPosition</B></A>(int i) | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Init the proximity position to zero for a forward axes. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>i</CODE> - The index into the m_proximityPositions array. | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="countProximityPosition(int)"><!-- --></A><H3> | |
countProximityPosition</H3> | |
<PRE> | |
protected void <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.282"><B>countProximityPosition</B></A>(int i)</PRE> | |
<DL> | |
<DD>Count forward one proximity position. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>i</CODE> - The index into the m_proximityPositions array, where the increment | |
will occur.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isReverseAxes()"><!-- --></A><H3> | |
isReverseAxes</H3> | |
<PRE> | |
public boolean <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.296"><B>isReverseAxes</B></A>()</PRE> | |
<DL> | |
<DD>Tells if this is a reverse axes. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<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 <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.306"><B>getPredicateIndex</B></A>()</PRE> | |
<DL> | |
<DD>Get which predicate is executing. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>The current predicate index, or -1 if no predicate is executing.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="executePredicates(int, org.apache.xpath.XPathContext)"><!-- --></A><H3> | |
executePredicates</H3> | |
<PRE> | |
boolean <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.321"><B>executePredicates</B></A>(int context, | |
<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> xctxt) | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Process the predicates. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>context</CODE> - The current context node.<DD><CODE>xctxt</CODE> - The XPath runtime context. | |
<DT><B>Returns:</B><DD>the result of executing the predicate expressions. | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="fixupVariables(java.util.Vector, int)"><!-- --></A><H3> | |
fixupVariables</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.417"><B>fixupVariables</B></A>(java.util.Vector vars, | |
int globalsSize)</PRE> | |
<DL> | |
<DD>This function is used to fixup variables from QNames to stack frame | |
indexes at stylesheet build time. | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/xpath/patterns/NodeTest.html#fixupVariables(java.util.Vector, int)">fixupVariables</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>vars</CODE> - List of QNames that correspond to variables. This list | |
should be searched backwards for the first qualified name that | |
corresponds to the variable reference qname. The position of the | |
QName in the vector from the start of the vector will be its position | |
in the stack frame (but variables above the globalsTop value will need | |
to be offset to the current stack frame).</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="nodeToString(int)"><!-- --></A><H3> | |
nodeToString</H3> | |
<PRE> | |
protected java.lang.String <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.437"><B>nodeToString</B></A>(int n)</PRE> | |
<DL> | |
<DD>Diagnostics. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>n</CODE> - Node to give diagnostic information about, or null. | |
<DT><B>Returns:</B><DD>Informative string about the argument.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="acceptNode(int)"><!-- --></A><H3> | |
acceptNode</H3> | |
<PRE> | |
public short <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.461"><B>acceptNode</B></A>(int 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. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<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" title="class in org.apache.xpath.axes">LocPathIterator</A> <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.506"><B>getLocPathIterator</B></A>()</PRE> | |
<DL> | |
<DD>Get the owning location path iterator. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<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 <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.517"><B>setLocPathIterator</B></A>(<A HREF="../../../../org/apache/xpath/axes/LocPathIterator.html" title="class in org.apache.xpath.axes">LocPathIterator</A> li)</PRE> | |
<DL> | |
<DD>Set the location path iterator owner for this walker. Besides | |
initialization, this function is called during cloning operations. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<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 <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.530"><B>canTraverseOutsideSubtree</B></A>()</PRE> | |
<DL> | |
<DD>Tell if this expression or it's subexpressions can traverse outside | |
the current subtree. | |
<P> | |
<DD><DL> | |
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/xpath/Expression.html#canTraverseOutsideSubtree()">canTraverseOutsideSubtree</A></CODE> in class <CODE><A HREF="../../../../org/apache/xpath/Expression.html" title="class in org.apache.xpath">Expression</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>true if traversal outside the context node's subtree can occur.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="callPredicateVisitors(org.apache.xpath.XPathVisitor)"><!-- --></A><H3> | |
callPredicateVisitors</H3> | |
<PRE> | |
public void <A HREF="../../../../src-html/org/apache/xpath/axes/PredicatedNodeTest.html#line.548"><B>callPredicateVisitors</B></A>(<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> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>visitor</CODE> - The visitor whose appropriate method will be called.</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/PredicatedNodeTest.html#line.568"><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/patterns/NodeTest.html#deepEquals(org.apache.xpath.Expression)">deepEquals</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>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/PredicatedNodeTest.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/PathComponent.html" title="interface in org.apache.xpath.axes"><B>PREV CLASS</B></A> | |
<A HREF="../../../../org/apache/xpath/axes/PredicatedNodeTest.PredOwner.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/PredicatedNodeTest.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="PredicatedNodeTest.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_class_summary">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> |