<!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:05 PDT 2012 --> | |
<TITLE> | |
ExpressionContext | |
</TITLE> | |
<META NAME="keywords" CONTENT="org.apache.xalan.extensions.ExpressionContext interface"> | |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> | |
<SCRIPT type="text/javascript"> | |
function windowTitle() | |
{ | |
parent.document.title="ExpressionContext"; | |
} | |
</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/ExpressionContext.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"> | |
PREV CLASS | |
<A HREF="../../../../org/apache/xalan/extensions/ExpressionVisitor.html" title="class in org.apache.xalan.extensions"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xalan/extensions/ExpressionContext.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="ExpressionContext.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_top"></A> | |
<!-- ========= END OF TOP NAVBAR ========= --> | |
<HR> | |
<!-- ======== START OF CLASS DATA ======== --> | |
<H2> | |
<FONT SIZE="-1"> | |
org.apache.xalan.extensions</FONT> | |
<BR> | |
Interface ExpressionContext</H2> | |
<DL> | |
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/xpath/XPathContext.XPathExpressionContext.html" title="class in org.apache.xpath">XPathContext.XPathExpressionContext</A></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>public interface <A HREF="../../../../src-html/org/apache/xalan/extensions/ExpressionContext.html#line.33"><B>ExpressionContext</B></A></DL> | |
</PRE> | |
<P> | |
An object that implements this interface can supply | |
information about the current XPath expression context. | |
<P> | |
<P> | |
<HR> | |
<P> | |
<!-- ========== 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> org.w3c.dom.Node</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExpressionContext.html#getContextNode()">getContextNode</A></B>()</CODE> | |
<BR> | |
Get the current context node.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> org.w3c.dom.traversal.NodeIterator</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExpressionContext.html#getContextNodes()">getContextNodes</A></B>()</CODE> | |
<BR> | |
Get the current context node list.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> javax.xml.transform.ErrorListener</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExpressionContext.html#getErrorListener()">getErrorListener</A></B>()</CODE> | |
<BR> | |
Get the error listener.</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" title="class in org.apache.xpath.objects">XObject</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExpressionContext.html#getVariableOrParam(org.apache.xml.utils.QName)">getVariableOrParam</A></B>(<A HREF="../../../../org/apache/xml/utils/QName.html" title="class in org.apache.xml.utils">QName</A> qname)</CODE> | |
<BR> | |
Get a variable based on it's qualified name.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExpressionContext.html#getXPathContext()">getXPathContext</A></B>()</CODE> | |
<BR> | |
Get the XPathContext that owns this ExpressionContext.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> double</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExpressionContext.html#toNumber(org.w3c.dom.Node)">toNumber</A></B>(org.w3c.dom.Node n)</CODE> | |
<BR> | |
Get the value of a node as a number.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> java.lang.String</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/ExpressionContext.html#toString(org.w3c.dom.Node)">toString</A></B>(org.w3c.dom.Node n)</CODE> | |
<BR> | |
Get the value of a node as a string.</TD> | |
</TR> | |
</TABLE> | |
| |
<P> | |
<!-- ============ 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="getContextNode()"><!-- --></A><H3> | |
getContextNode</H3> | |
<PRE> | |
org.w3c.dom.Node <A HREF="../../../../src-html/org/apache/xalan/extensions/ExpressionContext.html#line.40"><B>getContextNode</B></A>()</PRE> | |
<DL> | |
<DD>Get the current context node. | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>The current context node.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getContextNodes()"><!-- --></A><H3> | |
getContextNodes</H3> | |
<PRE> | |
org.w3c.dom.traversal.NodeIterator <A HREF="../../../../src-html/org/apache/xalan/extensions/ExpressionContext.html#line.47"><B>getContextNodes</B></A>()</PRE> | |
<DL> | |
<DD>Get the current context node list. | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>An iterator for the current context list, as | |
defined in XSLT.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getErrorListener()"><!-- --></A><H3> | |
getErrorListener</H3> | |
<PRE> | |
javax.xml.transform.ErrorListener <A HREF="../../../../src-html/org/apache/xalan/extensions/ExpressionContext.html#line.53"><B>getErrorListener</B></A>()</PRE> | |
<DL> | |
<DD>Get the error listener. | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>The registered error listener.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="toNumber(org.w3c.dom.Node)"><!-- --></A><H3> | |
toNumber</H3> | |
<PRE> | |
double <A HREF="../../../../src-html/org/apache/xalan/extensions/ExpressionContext.html#line.60"><B>toNumber</B></A>(org.w3c.dom.Node n)</PRE> | |
<DL> | |
<DD>Get the value of a node as a number. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>n</CODE> - Node to be converted to a number. May be null. | |
<DT><B>Returns:</B><DD>value of n as a number.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="toString(org.w3c.dom.Node)"><!-- --></A><H3> | |
toString</H3> | |
<PRE> | |
java.lang.String <A HREF="../../../../src-html/org/apache/xalan/extensions/ExpressionContext.html#line.67"><B>toString</B></A>(org.w3c.dom.Node n)</PRE> | |
<DL> | |
<DD>Get the value of a node as a string. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>n</CODE> - Node to be converted to a string. May be null. | |
<DT><B>Returns:</B><DD>value of n as a string, or an empty string if n is null.</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getVariableOrParam(org.apache.xml.utils.QName)"><!-- --></A><H3> | |
getVariableOrParam</H3> | |
<PRE> | |
<A HREF="../../../../org/apache/xpath/objects/XObject.html" title="class in org.apache.xpath.objects">XObject</A> <A HREF="../../../../src-html/org/apache/xalan/extensions/ExpressionContext.html#line.78"><B>getVariableOrParam</B></A>(<A HREF="../../../../org/apache/xml/utils/QName.html" title="class in org.apache.xml.utils">QName</A> qname) | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Get a variable based on it's qualified name. | |
<P> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>qname</CODE> - The qualified name of the variable. | |
<DT><B>Returns:</B><DD>The evaluated value of the variable. | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getXPathContext()"><!-- --></A><H3> | |
getXPathContext</H3> | |
<PRE> | |
<A HREF="../../../../org/apache/xpath/XPathContext.html" title="class in org.apache.xpath">XPathContext</A> <A HREF="../../../../src-html/org/apache/xalan/extensions/ExpressionContext.html#line.90"><B>getXPathContext</B></A>() | |
throws javax.xml.transform.TransformerException</PRE> | |
<DL> | |
<DD>Get the XPathContext that owns this ExpressionContext. | |
Note: exslt:function requires the XPathContext to access | |
the variable stack and TransformerImpl. | |
<P> | |
<DD><DL> | |
<DT><B>Returns:</B><DD>The current XPathContext. | |
<DT><B>Throws:</B> | |
<DD><CODE>javax.xml.transform.TransformerException</CODE></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/ExpressionContext.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"> | |
PREV CLASS | |
<A HREF="../../../../org/apache/xalan/extensions/ExpressionVisitor.html" title="class in org.apache.xalan.extensions"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../index.html?org/apache/xalan/extensions/ExpressionContext.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="ExpressionContext.html" target="_top"><B>NO FRAMES</B></A> | |
<SCRIPT type="text/javascript"> | |
<!-- | |
if(window==top) { | |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
} | |
//--> | |
</SCRIPT> | |
<NOSCRIPT> | |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
</NOSCRIPT> | |
</FONT></TD> | |
</TR> | |
<TR> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
</BODY> | |
</HTML> |