| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| <!--NewPage-->
|
| <HTML>
|
| <HEAD>
|
| <!-- Generated by javadoc on Thu Nov 22 17:12:53 EST 2007 -->
|
| <TITLE>
|
| Xalan-Java 2.7.1: Class XSLProcessorContext
|
| </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/XSLProcessorContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
| </TR>
|
| </TABLE>
|
| </TD>
|
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
| </EM>
|
| </TD>
|
| </TR>
|
|
|
| <TR>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../org/apache/xalan/extensions/XPathFunctionResolverImpl.html"><B>PREV CLASS</B></A>
|
| NEXT CLASS</FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="XSLProcessorContext.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.xalan.extensions</FONT>
|
| <BR>
|
| Class XSLProcessorContext</H2>
|
| <PRE>
|
| java.lang.Object
|
| |
|
| +--<B>org.apache.xalan.extensions.XSLProcessorContext</B>
|
| </PRE>
|
| <HR>
|
| <DL>
|
| <DT>public class <B>XSLProcessorContext</B><DT>extends java.lang.Object</DL>
|
|
|
| <P>
|
| Provides transformer context to be passed to an extension element.
|
| <P>
|
| <DL>
|
| <DT><B>Usage:</B><DD></DD>
|
| </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/xalan/extensions/XSLProcessorContext.html#XSLProcessorContext(org.apache.xalan.transformer.TransformerImpl, org.apache.xalan.templates.Stylesheet)">XSLProcessorContext</A></B>(<A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html">TransformerImpl</A> transformer, |
| <A HREF="../../../../org/apache/xalan/templates/Stylesheet.html">Stylesheet</A> stylesheetTree)</CODE>
|
|
|
| <BR>
|
| Create a processor context to be passed to an extension.</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> <A HREF="../../../../org/w3c/dom/Node.html">Node</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/XSLProcessorContext.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> <A HREF="../../../../org/apache/xml/utils/QName.html">QName</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/XSLProcessorContext.html#getMode()">getMode</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the current mode being executed.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/w3c/dom/Node.html">Node</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/XSLProcessorContext.html#getSourceTree()">getSourceTree</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the root of the source tree being executed.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/templates/Stylesheet.html">Stylesheet</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/XSLProcessorContext.html#getStylesheet()">getStylesheet</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the Stylesheet being executed.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html">TransformerImpl</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/XSLProcessorContext.html#getTransformer()">getTransformer</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the transformer.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/extensions/XSLProcessorContext.html#outputToResultTree(org.apache.xalan.templates.Stylesheet, java.lang.Object)">outputToResultTree</A></B>(<A HREF="../../../../org/apache/xalan/templates/Stylesheet.html">Stylesheet</A> stylesheetTree, |
| java.lang.Object obj)</CODE>
|
|
|
| <BR>
|
| Output an object to the result tree by doing the right conversions.</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="XSLProcessorContext(org.apache.xalan.transformer.TransformerImpl, org.apache.xalan.templates.Stylesheet)"><!-- --></A><H3>
|
| XSLProcessorContext</H3>
|
| <PRE>
|
| public <B>XSLProcessorContext</B>(<A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html">TransformerImpl</A> transformer, |
| <A HREF="../../../../org/apache/xalan/templates/Stylesheet.html">Stylesheet</A> stylesheetTree)</PRE>
|
| <DL>
|
| <DD>Create a processor context to be passed to an extension. |
| (Notice it is a package-only constructor).<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>transformer</CODE> - non-null transformer instance<DD><CODE>stylesheetTree</CODE> - The owning stylesheet</DL>
|
| </DD>
|
| </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="getTransformer()"><!-- --></A><H3>
|
| getTransformer</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html">TransformerImpl</A> <B>getTransformer</B>()</PRE>
|
| <DL>
|
| <DD>Get the transformer.<DD><DL>
|
| <DT><B>Returns:</B><DD>the transformer instance for this context</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getStylesheet()"><!-- --></A><H3>
|
| getStylesheet</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/templates/Stylesheet.html">Stylesheet</A> <B>getStylesheet</B>()</PRE>
|
| <DL>
|
| <DD>Get the Stylesheet being executed.<DD><DL>
|
| <DT><B>Returns:</B><DD>the Stylesheet being executed.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getSourceTree()"><!-- --></A><H3>
|
| getSourceTree</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/w3c/dom/Node.html">Node</A> <B>getSourceTree</B>()</PRE>
|
| <DL>
|
| <DD>Get the root of the source tree being executed.<DD><DL>
|
| <DT><B>Returns:</B><DD>the root of the source tree being executed.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getContextNode()"><!-- --></A><H3>
|
| getContextNode</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/w3c/dom/Node.html">Node</A> <B>getContextNode</B>()</PRE>
|
| <DL>
|
| <DD>Get the current context node.<DD><DL>
|
| <DT><B>Returns:</B><DD>the current context node.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getMode()"><!-- --></A><H3>
|
| getMode</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xml/utils/QName.html">QName</A> <B>getMode</B>()</PRE>
|
| <DL>
|
| <DD>Get the current mode being executed.<DD><DL>
|
| <DT><B>Returns:</B><DD>the current mode being executed.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="outputToResultTree(org.apache.xalan.templates.Stylesheet, java.lang.Object)"><!-- --></A><H3>
|
| outputToResultTree</H3>
|
| <PRE>
|
| public void <B>outputToResultTree</B>(<A HREF="../../../../org/apache/xalan/templates/Stylesheet.html">Stylesheet</A> stylesheetTree, |
| java.lang.Object obj) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A>, |
| java.net.MalformedURLException, |
| java.io.FileNotFoundException, |
| java.io.IOException</PRE>
|
| <DL>
|
| <DD>Output an object to the result tree by doing the right conversions. |
| This is public for access by extensions.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>stylesheetTree</CODE> - The owning stylesheet<DD><CODE>obj</CODE> - the Java object to output. If its of an X<something> type |
| then that conversion is done first and then sent out.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - <DD>java.io.FileNotFoundException - <DD>java.io.IOException - <DD>java.net.MalformedURLException - </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/XSLProcessorContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
| </TR>
|
| </TABLE>
|
| </TD>
|
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
| </EM>
|
| </TD>
|
| </TR>
|
|
|
| <TR>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../org/apache/xalan/extensions/XPathFunctionResolverImpl.html"><B>PREV CLASS</B></A>
|
| NEXT CLASS</FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="XSLProcessorContext.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>
|