| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| <!--NewPage-->
|
| <HTML>
|
| <HEAD>
|
| <!-- Generated by javadoc on Thu Nov 22 17:12:59 EST 2007 -->
|
| <TITLE>
|
| Xalan-Java 2.7.1: Class Variable
|
| </TITLE>
|
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
| </HEAD>
|
| <BODY BGCOLOR="white">
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_top"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <TR ALIGN="center" VALIGN="top">
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Variable.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/operations/UnaryOperation.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xpath/operations/VariableSafeAbsRef.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="Variable.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| <!-- ======== START OF CLASS DATA ======== -->
|
| <H2>
|
| <FONT SIZE="-1">
|
| org.apache.xpath.operations</FONT>
|
| <BR>
|
| Class Variable</H2>
|
| <PRE>
|
| java.lang.Object
|
| |
|
| +--<A HREF="../../../../org/apache/xpath/Expression.html">org.apache.xpath.Expression</A>
|
| |
|
| +--<B>org.apache.xpath.operations.Variable</B>
|
| </PRE>
|
| <DL>
|
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/xpath/operations/VariableSafeAbsRef.html">VariableSafeAbsRef</A></DD>
|
| </DL>
|
| <HR>
|
| <DL>
|
| <DT>public class <B>Variable</B><DT>extends <A HREF="../../../../org/apache/xpath/Expression.html">Expression</A><DT>implements <A HREF="../../../../org/apache/xpath/axes/PathComponent.html">PathComponent</A></DL>
|
|
|
| <P>
|
| The variable reference expression executer.
|
| <P>
|
| <DL>
|
| <DT><B>See Also: </B><DD><A HREF="../../../../serialized-form.html#org.apache.xpath.operations.Variable">Serialized Form</A></DL>
|
| <HR>
|
|
|
| <P>
|
| <!-- ======== INNER CLASS SUMMARY ======== -->
|
|
|
|
|
| <!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
|
| <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Constructor Summary</B></FONT></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/operations/Variable.html#Variable()">Variable</A></B>()</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ========== METHOD SUMMARY =========== -->
|
|
|
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Method Summary</B></FONT></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/operations/Variable.html#callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)">callVisitors</A></B>(<A HREF="../../../../org/apache/xpath/ExpressionOwner.html">ExpressionOwner</A> owner, |
| <A HREF="../../../../org/apache/xpath/XPathVisitor.html">XPathVisitor</A> visitor)</CODE>
|
|
|
| <BR>
|
| </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/operations/Variable.html#deepEquals(org.apache.xpath.Expression)">deepEquals</A></B>(<A HREF="../../../../org/apache/xpath/Expression.html">Expression</A> expr)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xpath/objects/XObject.html">XObject</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/operations/Variable.html#execute(org.apache.xpath.XPathContext)">execute</A></B>(<A HREF="../../../../org/apache/xpath/XPathContext.html">XPathContext</A> xctxt)</CODE>
|
|
|
| <BR>
|
| Execute an expression in the XPath runtime context, and return the |
| result of the expression.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xpath/objects/XObject.html">XObject</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/operations/Variable.html#execute(org.apache.xpath.XPathContext, boolean)">execute</A></B>(<A HREF="../../../../org/apache/xpath/XPathContext.html">XPathContext</A> xctxt, |
| boolean destructiveOK)</CODE>
|
|
|
| <BR>
|
| Dereference the variable, and return the reference value.</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/operations/Variable.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> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/operations/Variable.html#getAnalysisBits()">getAnalysisBits</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the analysis bits for this walker, as defined in the WalkerFactory.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/templates/ElemVariable.html">ElemVariable</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/operations/Variable.html#getElemVariable()">getElemVariable</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the XSLT ElemVariable that this sub-expression references.</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/operations/Variable.html#getGlobal()">getGlobal</A></B>()</CODE>
|
|
|
| <BR>
|
| Set the index for the variable into the stack.</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/operations/Variable.html#getIndex()">getIndex</A></B>()</CODE>
|
|
|
| <BR>
|
| Set the index for the variable into the stack.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xml/utils/QName.html">QName</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xpath/operations/Variable.html#getQName()">getQName</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the qualified name of the variable.</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/operations/Variable.html#isPsuedoVarRef()">isPsuedoVarRef</A></B>()</CODE>
|
|
|
| <BR>
|
| Tell if this is a psuedo variable reference, declared by Xalan instead |
| of by the user.</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/operations/Variable.html#isStableNumber()">isStableNumber</A></B>()</CODE>
|
|
|
| <BR>
|
| Tell if this expression returns a stable number that will not change during |
| iterations within the expression.</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/operations/Variable.html#setIndex(int)">setIndex</A></B>(int index)</CODE>
|
|
|
| <BR>
|
| Set the index for the variable into the stack.</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/operations/Variable.html#setIsGlobal(boolean)">setIsGlobal</A></B>(boolean isGlobal)</CODE>
|
|
|
| <BR>
|
| Set whether or not this is a global reference.</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/operations/Variable.html#setQName(org.apache.xml.utils.QName)">setQName</A></B>(<A HREF="../../../../org/apache/xml/utils/QName.html">QName</A> qname)</CODE>
|
|
|
| <BR>
|
| Set the qualified name of the variable.</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#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#canTraverseOutsideSubtree()">canTraverseOutsideSubtree</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, int)">execute</A>,
|
| <A HREF="../../../../org/apache/xpath/Expression.html#execute(org.apache.xpath.XPathContext, int, org.apache.xml.dtm.DTM, int)">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#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" 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="Variable()"><!-- --></A><H3>
|
| Variable</H3>
|
| <PRE>
|
| public <B>Variable</B>()</PRE>
|
| <DL>
|
| </DL>
|
|
|
| <!-- ============ METHOD DETAIL ========== -->
|
|
|
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Method Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="setIndex(int)"><!-- --></A><H3>
|
| setIndex</H3>
|
| <PRE>
|
| public void <B>setIndex</B>(int index)</PRE>
|
| <DL>
|
| <DD>Set the index for the variable into the stack. For advanced use only. You |
| must know what you are doing to use this.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>index</CODE> - a global or local index.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getIndex()"><!-- --></A><H3>
|
| getIndex</H3>
|
| <PRE>
|
| public int <B>getIndex</B>()</PRE>
|
| <DL>
|
| <DD>Set the index for the variable into the stack. For advanced use only.<DD><DL>
|
| <DT><B>Returns:</B><DD>index a global or local index.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setIsGlobal(boolean)"><!-- --></A><H3>
|
| setIsGlobal</H3>
|
| <PRE>
|
| public void <B>setIsGlobal</B>(boolean isGlobal)</PRE>
|
| <DL>
|
| <DD>Set whether or not this is a global reference. For advanced use only.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>isGlobal</CODE> - true if this should be a global variable reference.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getGlobal()"><!-- --></A><H3>
|
| getGlobal</H3>
|
| <PRE>
|
| public boolean <B>getGlobal</B>()</PRE>
|
| <DL>
|
| <DD>Set the index for the variable into the stack. For advanced use only.<DD><DL>
|
| <DT><B>Returns:</B><DD>true if this should be a global variable reference.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="fixupVariables(java.util.Vector, int)"><!-- --></A><H3>
|
| fixupVariables</H3>
|
| <PRE>
|
| public void <B>fixupVariables</B>(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.<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).<DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/Expression.html#fixupVariables(java.util.Vector, int)">fixupVariables</A> in class <A HREF="../../../../org/apache/xpath/Expression.html">Expression</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setQName(org.apache.xml.utils.QName)"><!-- --></A><H3>
|
| setQName</H3>
|
| <PRE>
|
| public void <B>setQName</B>(<A HREF="../../../../org/apache/xml/utils/QName.html">QName</A> qname)</PRE>
|
| <DL>
|
| <DD>Set the qualified name of the variable.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>qname</CODE> - Must be a non-null reference to a qualified name.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getQName()"><!-- --></A><H3>
|
| getQName</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xml/utils/QName.html">QName</A> <B>getQName</B>()</PRE>
|
| <DL>
|
| <DD>Get the qualified name of the variable.<DD><DL>
|
| <DT><B>Returns:</B><DD>A non-null reference to a qualified name.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="execute(org.apache.xpath.XPathContext)"><!-- --></A><H3>
|
| execute</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xpath/objects/XObject.html">XObject</A> <B>execute</B>(<A HREF="../../../../org/apache/xpath/XPathContext.html">XPathContext</A> xctxt) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Execute an expression in the XPath runtime context, and return the |
| result of the expression.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>xctxt</CODE> - The XPath runtime context.<DT><B>Returns:</B><DD>The result of the expression in the form of a <code>XObject</code>.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - if a runtime exception |
| occurs.<DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/Expression.html#execute(org.apache.xpath.XPathContext)">execute</A> in class <A HREF="../../../../org/apache/xpath/Expression.html">Expression</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="execute(org.apache.xpath.XPathContext, boolean)"><!-- --></A><H3>
|
| execute</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xpath/objects/XObject.html">XObject</A> <B>execute</B>(<A HREF="../../../../org/apache/xpath/XPathContext.html">XPathContext</A> xctxt, |
| boolean destructiveOK) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Dereference the variable, and return the reference value. Note that lazy |
| evaluation will occur. If a variable within scope is not found, a warning |
| will be sent to the error listener, and an empty nodeset will be returned.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>xctxt</CODE> - The runtime execution context.<DT><B>Returns:</B><DD>The evaluated variable, or an empty nodeset if not found.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - <DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/Expression.html#execute(org.apache.xpath.XPathContext, boolean)">execute</A> in class <A HREF="../../../../org/apache/xpath/Expression.html">Expression</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getElemVariable()"><!-- --></A><H3>
|
| getElemVariable</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/templates/ElemVariable.html">ElemVariable</A> <B>getElemVariable</B>()</PRE>
|
| <DL>
|
| <DD>Get the XSLT ElemVariable that this sub-expression references. In order for |
| this to work, the SourceLocator must be the owning ElemTemplateElement.<DD><DL>
|
| <DT><B>Returns:</B><DD>The dereference to the ElemVariable, or null if not found.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="isStableNumber()"><!-- --></A><H3>
|
| isStableNumber</H3>
|
| <PRE>
|
| public boolean <B>isStableNumber</B>()</PRE>
|
| <DL>
|
| <DD>Tell if this expression returns a stable number that will not change during |
| iterations within the expression. This is used to determine if a proximity |
| position predicate can indicate that no more searching has to occur.<DD><DL>
|
| <DT><B>Returns:</B><DD>true if the expression represents a stable number.<DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/Expression.html#isStableNumber()">isStableNumber</A> in class <A HREF="../../../../org/apache/xpath/Expression.html">Expression</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getAnalysisBits()"><!-- --></A><H3>
|
| getAnalysisBits</H3>
|
| <PRE>
|
| public int <B>getAnalysisBits</B>()</PRE>
|
| <DL>
|
| <DD>Get the analysis bits for this walker, as defined in the WalkerFactory.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xpath/axes/PathComponent.html#getAnalysisBits()">getAnalysisBits</A> in interface <A HREF="../../../../org/apache/xpath/axes/PathComponent.html">PathComponent</A><DT><B>Returns:</B><DD>One of WalkerFactory#BIT_DESCENDANT, etc.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)"><!-- --></A><H3>
|
| callVisitors</H3>
|
| <PRE>
|
| public void <B>callVisitors</B>(<A HREF="../../../../org/apache/xpath/ExpressionOwner.html">ExpressionOwner</A> owner, |
| <A HREF="../../../../org/apache/xpath/XPathVisitor.html">XPathVisitor</A> visitor)</PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xpath/XPathVisitable.html#callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor)"><CODE>XPathVisitable.callVisitors(ExpressionOwner, XPathVisitor)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="deepEquals(org.apache.xpath.Expression)"><!-- --></A><H3>
|
| deepEquals</H3>
|
| <PRE>
|
| public boolean <B>deepEquals</B>(<A HREF="../../../../org/apache/xpath/Expression.html">Expression</A> expr)</PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>Overrides:</B><DD><A HREF="../../../../org/apache/xpath/Expression.html#deepEquals(org.apache.xpath.Expression)">deepEquals</A> in class <A HREF="../../../../org/apache/xpath/Expression.html">Expression</A><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>
|
| <HR>
|
|
|
| <A NAME="isPsuedoVarRef()"><!-- --></A><H3>
|
| isPsuedoVarRef</H3>
|
| <PRE>
|
| public boolean <B>isPsuedoVarRef</B>()</PRE>
|
| <DL>
|
| <DD>Tell if this is a psuedo variable reference, declared by Xalan instead |
| of by the user.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <!-- ========= END OF CLASS DATA ========= -->
|
| <HR>
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_bottom"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <TR ALIGN="center" VALIGN="top">
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Variable.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/operations/UnaryOperation.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xpath/operations/VariableSafeAbsRef.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="Variable.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| Copyright © 2006 Apache XML Project. All Rights Reserved.
|
| </BODY>
|
| </HTML>
|