| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| <!--NewPage-->
|
| <HTML>
|
| <HEAD>
|
| <!-- Generated by javadoc on Thu Nov 22 17:12:55 EST 2007 -->
|
| <TITLE>
|
| Xalan-Java 2.7.1: Class TransformerImpl
|
| </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/TransformerImpl.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/transformer/TransformerIdentityImpl.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xalan/transformer/TrAXFilter.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="TransformerImpl.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.transformer</FONT>
|
| <BR>
|
| Class TransformerImpl</H2>
|
| <PRE>
|
| java.lang.Object
|
| |
|
| +--<A HREF="../../../../javax/xml/transform/Transformer.html">javax.xml.transform.Transformer</A>
|
| |
|
| +--<B>org.apache.xalan.transformer.TransformerImpl</B>
|
| </PRE>
|
| <HR>
|
| <DL>
|
| <DT>public class <B>TransformerImpl</B><DT>extends <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A><DT>implements java.lang.Runnable, <A HREF="../../../../org/apache/xml/dtm/DTMWSFilter.html">DTMWSFilter</A>, <A HREF="../../../../org/apache/xpath/ExtensionsProvider.html">ExtensionsProvider</A>, <A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html">SerializerTrace</A></DL>
|
|
|
| <P>
|
| This class implements the |
| <A HREF="../../../../javax/xml/transform/Transformer.html"><CODE>Transformer</CODE></A> interface, and is the core |
| representation of the transformation execution.</p>
|
| <P>
|
| <DL>
|
| <DT><B>Usage:</B><DD><i><font size="-1" color="#00FF00"> **For advanced use only**</font></i></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/transformer/TransformerImpl.html#TransformerImpl(org.apache.xalan.templates.StylesheetRoot)">TransformerImpl</A></B>(<A HREF="../../../../org/apache/xalan/templates/StylesheetRoot.html">StylesheetRoot</A> stylesheet)</CODE>
|
|
|
| <BR>
|
| Construct a TransformerImpl.</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> boolean</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#applyTemplateToNode(org.apache.xalan.templates.ElemTemplateElement, org.apache.xalan.templates.ElemTemplate, int)">applyTemplateToNode</A></B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> xslInstruction, |
| <A HREF="../../../../org/apache/xalan/templates/ElemTemplate.html">ElemTemplate</A> template, |
| int child)</CODE>
|
|
|
| <BR>
|
| Given an element and mode, find the corresponding |
| template and process the contents.</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/transformer/TransformerImpl.html#clearParameters()">clearParameters</A></B>()</CODE>
|
|
|
| <BR>
|
| Reset the parameters to a null list.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#createSerializationHandler(javax.xml.transform.Result)">createSerializationHandler</A></B>(<A HREF="../../../../javax/xml/transform/Result.html">Result</A> outputTarget)</CODE>
|
|
|
| <BR>
|
| Create a result ContentHandler from a Result object, based |
| on the current OutputProperties.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#createSerializationHandler(javax.xml.transform.Result, org.apache.xalan.templates.OutputProperties)">createSerializationHandler</A></B>(<A HREF="../../../../javax/xml/transform/Result.html">Result</A> outputTarget, |
| <A HREF="../../../../org/apache/xalan/templates/OutputProperties.html">OutputProperties</A> format)</CODE>
|
|
|
| <BR>
|
| Create a ContentHandler from a Result object and an OutputProperties.</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/xalan/transformer/TransformerImpl.html#currentFuncResultSeen()">currentFuncResultSeen</A></B>()</CODE>
|
|
|
| <BR>
|
| Determines whether an EXSLT <code>func:result</code> instruction has been |
| executed for the currently active EXSLT <code>func:function</code>.</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/xalan/transformer/TransformerImpl.html#currentTemplateRuleIsNull()">currentTemplateRuleIsNull</A></B>()</CODE>
|
|
|
| <BR>
|
| Tell if the current template rule is null, i.e.</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/xalan/transformer/TransformerImpl.html#elementAvailable(java.lang.String, java.lang.String)">elementAvailable</A></B>(java.lang.String ns, |
| java.lang.String elemName)</CODE>
|
|
|
| <BR>
|
| </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/transformer/TransformerImpl.html#executeChildTemplates(org.apache.xalan.templates.ElemTemplateElement, boolean)">executeChildTemplates</A></B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> elem, |
| boolean shouldAddAttrs)</CODE>
|
|
|
| <BR>
|
| Execute each of the children of a template element.</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/transformer/TransformerImpl.html#executeChildTemplates(org.apache.xalan.templates.ElemTemplateElement, org.xml.sax.ContentHandler)">executeChildTemplates</A></B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> elem, |
| <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> handler)</CODE>
|
|
|
| <BR>
|
| Execute each of the children of a template element.</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/transformer/TransformerImpl.html#executeChildTemplates(org.apache.xalan.templates.ElemTemplateElement, org.w3c.dom.Node, org.apache.xml.utils.QName, org.xml.sax.ContentHandler)">executeChildTemplates</A></B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> elem, |
| <A HREF="../../../../org/w3c/dom/Node.html">Node</A> context, |
| <A HREF="../../../../org/apache/xml/utils/QName.html">QName</A> mode, |
| <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> handler)</CODE>
|
|
|
| <BR>
|
| Execute each of the children of a template element.</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/transformer/TransformerImpl.html#executeFromSnapshot(org.apache.xalan.transformer.TransformSnapshot)">executeFromSnapshot</A></B>(<A HREF="../../../../org/apache/xalan/transformer/TransformSnapshot.html">TransformSnapshot</A> ts)</CODE>
|
|
|
| <BR>
|
| <B>Deprecated.</B> <I>This is an internal tooling API that nobody seems to be using</I></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/xalan/transformer/TransformerImpl.html#extFunction(org.apache.xpath.functions.FuncExtFunction, java.util.Vector)">extFunction</A></B>(<A HREF="../../../../org/apache/xpath/functions/FuncExtFunction.html">FuncExtFunction</A> extFunction, |
| java.util.Vector argVec)</CODE>
|
|
|
| <BR>
|
| </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/xalan/transformer/TransformerImpl.html#extFunction(java.lang.String, java.lang.String, java.util.Vector, java.lang.Object)">extFunction</A></B>(java.lang.String ns, |
| java.lang.String funcName, |
| java.util.Vector argVec, |
| java.lang.Object methodKey)</CODE>
|
|
|
| <BR>
|
| </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/transformer/TransformerImpl.html#fireGenerateEvent(int)">fireGenerateEvent</A></B>(int eventType)</CODE>
|
|
|
| <BR>
|
| Fire off startDocument, endDocument events.</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/transformer/TransformerImpl.html#fireGenerateEvent(int, char[], int, int)">fireGenerateEvent</A></B>(int eventType, |
| char[] ch, |
| int start, |
| int length)</CODE>
|
|
|
| <BR>
|
| Fire off characters, cdate events.</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/transformer/TransformerImpl.html#fireGenerateEvent(int, java.lang.String)">fireGenerateEvent</A></B>(int eventType, |
| java.lang.String data)</CODE>
|
|
|
| <BR>
|
| Fire off comment and entity ref events.</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/transformer/TransformerImpl.html#fireGenerateEvent(int, java.lang.String, org.xml.sax.Attributes)">fireGenerateEvent</A></B>(int eventType, |
| java.lang.String name, |
| <A HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> atts)</CODE>
|
|
|
| <BR>
|
| Fire off startElement, endElement events.</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/transformer/TransformerImpl.html#fireGenerateEvent(int, java.lang.String, java.lang.String)">fireGenerateEvent</A></B>(int eventType, |
| java.lang.String name, |
| java.lang.String data)</CODE>
|
|
|
| <BR>
|
| Fire off processingInstruction events.</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/xalan/transformer/TransformerImpl.html#functionAvailable(java.lang.String, java.lang.String)">functionAvailable</A></B>(java.lang.String ns, |
| java.lang.String funcName)</CODE>
|
|
|
| <BR>
|
| </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/transformer/TransformerImpl.html#getBaseURLOfSource()">getBaseURLOfSource</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the base URL of the source.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getContentHandler()">getContentHandler</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the content event handler.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getContextNodeList()">getContextNodeList</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> <A HREF="../../../../org/apache/xalan/transformer/CountersTable.html">CountersTable</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getCountersTable()">getCountersTable</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the table of counters, for optimized xsl:number support.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getCurrentElement()">getCurrentElement</A></B>()</CODE>
|
|
|
| <BR>
|
| Retrieves the current ElemTemplateElement that is |
| being executed.</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/xalan/transformer/TransformerImpl.html#getCurrentNode()">getCurrentNode</A></B>()</CODE>
|
|
|
| <BR>
|
| This method retrieves the current context node |
| in the source tree.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/templates/ElemTemplate.html">ElemTemplate</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getCurrentTemplate()">getCurrentTemplate</A></B>()</CODE>
|
|
|
| <BR>
|
| This method retrieves the xsl:template |
| that is in effect, which may be a matched template |
| or a named template.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xml/utils/ObjectStack.html">ObjectStack</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getCurrentTemplateElements()">getCurrentTemplateElements</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the count of how many elements are |
| active.</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/xalan/transformer/TransformerImpl.html#getCurrentTemplateElementsCount()">getCurrentTemplateElementsCount</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the count of how many elements are |
| active.</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/xalan/transformer/TransformerImpl.html#getDebug()">getDebug</A></B>()</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.util.Vector</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getElementCallstack()">getElementCallstack</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the stack of ElemTemplateElements.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../javax/xml/transform/ErrorListener.html">ErrorListener</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getErrorListener()">getErrorListener</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the current error event handler.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.Exception</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getExceptionThrown()">getExceptionThrown</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the exception thrown by the secondary thread (normally |
| the transform thread).</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/extensions/ExtensionsTable.html">ExtensionsTable</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getExtensionsTable()">getExtensionsTable</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the extensions table object.</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/xalan/transformer/TransformerImpl.html#getFeature(java.lang.String)">getFeature</A></B>(java.lang.String name)</CODE>
|
|
|
| <BR>
|
| Look up the value of a feature.</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/xalan/transformer/TransformerImpl.html#getIncremental()">getIncremental</A></B>()</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getInputContentHandler()">getInputContentHandler</A></B>()</CODE>
|
|
|
| <BR>
|
| Get a SAX2 ContentHandler for the input.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getInputContentHandler(boolean)">getInputContentHandler</A></B>(boolean doDocFrag)</CODE>
|
|
|
| <BR>
|
| Get a SAX2 ContentHandler for the input.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getInputDeclHandler()">getInputDeclHandler</A></B>()</CODE>
|
|
|
| <BR>
|
| Get a SAX2 DeclHandler for the input.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getInputLexicalHandler()">getInputLexicalHandler</A></B>()</CODE>
|
|
|
| <BR>
|
| Get a SAX2 LexicalHandler for the input.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/transformer/KeyManager.html">KeyManager</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getKeyManager()">getKeyManager</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the KeyManager object.</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/xalan/transformer/TransformerImpl.html#getMatchedNode()">getMatchedNode</A></B>()</CODE>
|
|
|
| <BR>
|
| Retrieves the node in the source tree that matched |
| the template obtained via getMatchedTemplate().</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/templates/ElemTemplate.html">ElemTemplate</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getMatchedTemplate()">getMatchedTemplate</A></B>()</CODE>
|
|
|
| <BR>
|
| This method retrieves the xsl:template |
| that was matched.</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/transformer/TransformerImpl.html#getMode()">getMode</A></B>()</CODE>
|
|
|
| <BR>
|
| NEEDSDOC Method getMode |
| |
| |
| NEEDSDOC (getMode) @return</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/transformer/MsgMgr.html">MsgMgr</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getMsgMgr()">getMsgMgr</A></B>()</CODE>
|
|
|
| <BR>
|
| Return the message manager.</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/xalan/transformer/TransformerImpl.html#getOptimize()">getOptimize</A></B>()</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/templates/OutputProperties.html">OutputProperties</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getOutputFormat()">getOutputFormat</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the output properties used for the transformation.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.util.Properties</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getOutputProperties()">getOutputProperties</A></B>()</CODE>
|
|
|
| <BR>
|
| Get a copy of the output properties for the transformation.</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/transformer/TransformerImpl.html#getOutputProperty(java.lang.String)">getOutputProperty</A></B>(java.lang.String qnameString)</CODE>
|
|
|
| <BR>
|
| Get an output property that is in effect for the |
| transformation.</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/transformer/TransformerImpl.html#getOutputPropertyNoDefault(java.lang.String)">getOutputPropertyNoDefault</A></B>(java.lang.String qnameString)</CODE>
|
|
|
| <BR>
|
| Get the value of a property, without using the default properties.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../javax/xml/transform/Result.html">Result</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getOutputTarget()">getOutputTarget</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the original output target.</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/xalan/transformer/TransformerImpl.html#getParameter(java.lang.String)">getParameter</A></B>(java.lang.String name)</CODE>
|
|
|
| <BR>
|
| Get a parameter that was explicitly set with setParameter |
| or setParameters.</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/xalan/transformer/TransformerImpl.html#getProperty(java.lang.String)">getProperty</A></B>(java.lang.String property)</CODE>
|
|
|
| <BR>
|
| <code>getProperty</code> returns the current setting of the |
| property described by the <code>property</code> argument.</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/xalan/transformer/TransformerImpl.html#getQuietConflictWarnings()">getQuietConflictWarnings</A></B>()</CODE>
|
|
|
| <BR>
|
| Get quietConflictWarnings property.</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/xalan/transformer/TransformerImpl.html#getRecursionLimit()">getRecursionLimit</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the recursion limit.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getResultTreeHandler()">getResultTreeHandler</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the SerializationHandler object.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getSerializationHandler()">getSerializationHandler</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the SerializationHandler object.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> short</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getShouldStripSpace(int, org.apache.xml.dtm.DTM)">getShouldStripSpace</A></B>(int elementHandle, |
| <A HREF="../../../../org/apache/xml/dtm/DTM.html">DTM</A> dtm)</CODE>
|
|
|
| <BR>
|
| Test whether whitespace-only text nodes are visible in the logical |
| view of <code>DTM</code>.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/transformer/TransformSnapshot.html">TransformSnapshot</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getSnapshot()">getSnapshot</A></B>()</CODE>
|
|
|
| <BR>
|
| <B>Deprecated.</B> <I>This is an internal tooling API that nobody seems to be using</I></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/xalan/transformer/TransformerImpl.html#getSource_location()">getSource_location</A></B>()</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/transformer/StackGuard.html">StackGuard</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getStackGuard()">getStackGuard</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the object used to guard the stack from |
| recursion.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xml/utils/ObjectPool.html">ObjectPool</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getStringWriterPool()">getStringWriterPool</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the StringWriter pool, so that StringWriter |
| objects may be reused.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/templates/StylesheetRoot.html">StylesheetRoot</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getStylesheet()">getStylesheet</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the current stylesheet for this processor.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.util.Vector</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getTemplateCallstack()">getTemplateCallstack</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the call stack of xsl:template elements.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/apache/xalan/trace/TraceManager.html">TraceManager</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getTraceManager()">getTraceManager</A></B>()</CODE>
|
|
|
| <BR>
|
| Get an instance of the trace manager for this transformation.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getTransformer()">getTransformer</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the TrAX Transformer object in effect.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.Thread</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getTransformThread()">getTransformThread</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the thread that the transform process is on.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../javax/xml/transform/URIResolver.html">URIResolver</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getURIResolver()">getURIResolver</A></B>()</CODE>
|
|
|
| <BR>
|
| Get an object that will be used to resolve URIs used in |
| document(), etc.</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">XPathContext</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#getXPathContext()">getXPathContext</A></B>()</CODE>
|
|
|
| <BR>
|
| Get the XPath context associated with this transformer.</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/xalan/transformer/TransformerImpl.html#hasTraceListeners()">hasTraceListeners</A></B>()</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/xalan/transformer/TransformerImpl.html#hasTransformThreadErrorCatcher()">hasTransformThreadErrorCatcher</A></B>()</CODE>
|
|
|
| <BR>
|
| Return true if the transform was initiated from the transform method, |
| otherwise it was probably done from a pure parse events.</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/transformer/TransformerImpl.html#init(org.apache.xml.serializer.ToXMLSAXHandler, javax.xml.transform.Transformer, org.xml.sax.ContentHandler)">init</A></B>(<A HREF="../../../../org/apache/xml/serializer/ToXMLSAXHandler.html">ToXMLSAXHandler</A> h, |
| <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A> transformer, |
| <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> realHandler)</CODE>
|
|
|
| <BR>
|
| Initializer method.</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/xalan/transformer/TransformerImpl.html#isParserEventsOnMain()">isParserEventsOnMain</A></B>()</CODE>
|
|
|
| <BR>
|
| Get true if the parser events should be on the main thread, |
| false if not.</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/xalan/transformer/TransformerImpl.html#isRecursiveAttrSet(org.apache.xalan.templates.ElemAttributeSet)">isRecursiveAttrSet</A></B>(<A HREF="../../../../org/apache/xalan/templates/ElemAttributeSet.html">ElemAttributeSet</A> attrSet)</CODE>
|
|
|
| <BR>
|
| Check to see if this is a recursive attribute definition.</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/xalan/transformer/TransformerImpl.html#isTransformDone()">isTransformDone</A></B>()</CODE>
|
|
|
| <BR>
|
| Tell if the transform method is completed.</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/xalan/transformer/TransformerImpl.html#popCurrentFuncResult()">popCurrentFuncResult</A></B>()</CODE>
|
|
|
| <BR>
|
| Pops the result of the currently active EXSLT <code>func:function</code>.</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/transformer/TransformerImpl.html#popCurrentMatched()">popCurrentMatched</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop the elements that were pushed via pushPairCurrentMatched.</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/transformer/TransformerImpl.html#popCurrentTemplateRuleIsNull()">popCurrentTemplateRuleIsNull</A></B>()</CODE>
|
|
|
| <BR>
|
| Push true if the current template rule is null, false |
| otherwise.</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/transformer/TransformerImpl.html#popElemAttributeSet()">popElemAttributeSet</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop the current executing attribute set.</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/transformer/TransformerImpl.html#popElemTemplateElement()">popElemTemplateElement</A></B>()</CODE>
|
|
|
| <BR>
|
| Pop the current template element.</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/transformer/TransformerImpl.html#popMode()">popMode</A></B>()</CODE>
|
|
|
| <BR>
|
| NEEDSDOC Method popMode</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.util.Vector</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#processSortKeys(org.apache.xalan.templates.ElemForEach, int)">processSortKeys</A></B>(<A HREF="../../../../org/apache/xalan/templates/ElemForEach.html">ElemForEach</A> foreach, |
| int sourceNodeContext)</CODE>
|
|
|
| <BR>
|
| Get the keys for the xsl:sort elements.</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/transformer/TransformerImpl.html#pushCurrentFuncResult(java.lang.Object)">pushCurrentFuncResult</A></B>(java.lang.Object val)</CODE>
|
|
|
| <BR>
|
| Push a funcion result for the currently active EXSLT |
| <code>func:function</code>.</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/transformer/TransformerImpl.html#pushCurrentTemplateRuleIsNull(boolean)">pushCurrentTemplateRuleIsNull</A></B>(boolean b)</CODE>
|
|
|
| <BR>
|
| Push true if the current template rule is null, false |
| otherwise.</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/transformer/TransformerImpl.html#pushElemAttributeSet(org.apache.xalan.templates.ElemAttributeSet)">pushElemAttributeSet</A></B>(<A HREF="../../../../org/apache/xalan/templates/ElemAttributeSet.html">ElemAttributeSet</A> attrSet)</CODE>
|
|
|
| <BR>
|
| Push an executing attribute set, so we can check for |
| recursive attribute definitions.</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/transformer/TransformerImpl.html#pushElemTemplateElement(org.apache.xalan.templates.ElemTemplateElement)">pushElemTemplateElement</A></B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> elem)</CODE>
|
|
|
| <BR>
|
| Push the current template element.</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/transformer/TransformerImpl.html#pushMode(org.apache.xml.utils.QName)">pushMode</A></B>(<A HREF="../../../../org/apache/xml/utils/QName.html">QName</A> mode)</CODE>
|
|
|
| <BR>
|
| NEEDSDOC Method pushMode |
| |
| |
| NEEDSDOC @param mode</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/transformer/TransformerImpl.html#pushPairCurrentMatched(org.apache.xalan.templates.ElemTemplateElement, int)">pushPairCurrentMatched</A></B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> template, |
| int child)</CODE>
|
|
|
| <BR>
|
| Push both the current xsl:template or xsl:for-each onto the |
| stack, along with the child node that was matched.</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/transformer/TransformerImpl.html#reset()">reset</A></B>()</CODE>
|
|
|
| <BR>
|
| Reset the state.</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/transformer/TransformerImpl.html#resetToStylesheet(org.apache.xalan.transformer.TransformSnapshot)">resetToStylesheet</A></B>(<A HREF="../../../../org/apache/xalan/transformer/TransformSnapshot.html">TransformSnapshot</A> ts)</CODE>
|
|
|
| <BR>
|
| <B>Deprecated.</B> <I>This is an internal tooling API that nobody seems to be using</I></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/transformer/TransformerImpl.html#run()">run</A></B>()</CODE>
|
|
|
| <BR>
|
| Run the transform thread.</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/transformer/TransformerImpl.html#runTransformThread()">runTransformThread</A></B>()</CODE>
|
|
|
| <BR>
|
| Called by this.transform() if isParserEventsOnMain()==false.</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/transformer/TransformerImpl.html#runTransformThread(int)">runTransformThread</A></B>(int priority)</CODE>
|
|
|
| <BR>
|
| Called by SourceTreeHandler to start the transformation |
| in a separate thread |
| |
| NEEDSDOC @param priority</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE>static void</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/apache/xalan/transformer/TransformerImpl.html#runTransformThread(java.lang.Runnable)">runTransformThread</A></B>(java.lang.Runnable runnable)</CODE>
|
|
|
| <BR>
|
| Called by CoRoutineSAXParser.</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/transformer/TransformerImpl.html#setBaseURLOfSource(java.lang.String)">setBaseURLOfSource</A></B>(java.lang.String base)</CODE>
|
|
|
| <BR>
|
| Get the base URL of the source.</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/transformer/TransformerImpl.html#setContentHandler(org.xml.sax.ContentHandler)">setContentHandler</A></B>(<A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> handler)</CODE>
|
|
|
| <BR>
|
| Set the content event handler.</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/transformer/TransformerImpl.html#setCurrentElement(org.apache.xalan.templates.ElemTemplateElement)">setCurrentElement</A></B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> e)</CODE>
|
|
|
| <BR>
|
| Set the top of the current template elements |
| 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/xalan/transformer/TransformerImpl.html#setDebug(boolean)">setDebug</A></B>(boolean b)</CODE>
|
|
|
| <BR>
|
| </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/transformer/TransformerImpl.html#setErrorListener(javax.xml.transform.ErrorListener)">setErrorListener</A></B>(<A HREF="../../../../javax/xml/transform/ErrorListener.html">ErrorListener</A> listener)</CODE>
|
|
|
| <BR>
|
| Set the error event listener.</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/transformer/TransformerImpl.html#setExceptionThrown(java.lang.Exception)">setExceptionThrown</A></B>(java.lang.Exception e)</CODE>
|
|
|
| <BR>
|
| Set the exception thrown by the secondary thread (normally |
| the transform thread).</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/transformer/TransformerImpl.html#setIsTransformDone(boolean)">setIsTransformDone</A></B>(boolean done)</CODE>
|
|
|
| <BR>
|
| Set if the transform method is completed.</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/transformer/TransformerImpl.html#setOutputFormat(org.apache.xalan.templates.OutputProperties)">setOutputFormat</A></B>(<A HREF="../../../../org/apache/xalan/templates/OutputProperties.html">OutputProperties</A> oformat)</CODE>
|
|
|
| <BR>
|
| Set the output properties for the transformation.</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/transformer/TransformerImpl.html#setOutputProperties(java.util.Properties)">setOutputProperties</A></B>(java.util.Properties oformat)</CODE>
|
|
|
| <BR>
|
| Set the output properties for the transformation.</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/transformer/TransformerImpl.html#setOutputProperty(java.lang.String, java.lang.String)">setOutputProperty</A></B>(java.lang.String name, |
| java.lang.String value)</CODE>
|
|
|
| <BR>
|
| This method is used to set or override the value |
| of the effective xsl:output attribute values |
| specified in the stylesheet.</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/transformer/TransformerImpl.html#setOutputTarget(javax.xml.transform.Result)">setOutputTarget</A></B>(<A HREF="../../../../javax/xml/transform/Result.html">Result</A> outputTarget)</CODE>
|
|
|
| <BR>
|
| Set the original output target.</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/transformer/TransformerImpl.html#setParameter(java.lang.String, java.lang.Object)">setParameter</A></B>(java.lang.String name, |
| java.lang.Object value)</CODE>
|
|
|
| <BR>
|
| Set a parameter for the transformation.</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/transformer/TransformerImpl.html#setParameter(java.lang.String, java.lang.String, java.lang.Object)">setParameter</A></B>(java.lang.String name, |
| java.lang.String namespace, |
| java.lang.Object value)</CODE>
|
|
|
| <BR>
|
| Set a parameter for the templates.</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/transformer/TransformerImpl.html#setParameters(java.util.Properties)">setParameters</A></B>(java.util.Properties params)</CODE>
|
|
|
| <BR>
|
| Set a bag of parameters for the transformation.</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/transformer/TransformerImpl.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A></B>(java.lang.String property, |
| java.lang.Object value)</CODE>
|
|
|
| <BR>
|
| Set a runtime property for this <code>TransformerImpl</code>.</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/transformer/TransformerImpl.html#setQuietConflictWarnings(boolean)">setQuietConflictWarnings</A></B>(boolean b)</CODE>
|
|
|
| <BR>
|
| If the quietConflictWarnings property is set to |
| true, warnings about pattern conflicts won't be |
| printed to the diagnostics 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/xalan/transformer/TransformerImpl.html#setRecursionLimit(int)">setRecursionLimit</A></B>(int limit)</CODE>
|
|
|
| <BR>
|
| Set the recursion limit.</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/transformer/TransformerImpl.html#setSerializationHandler(org.apache.xml.serializer.SerializationHandler)">setSerializationHandler</A></B>(<A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A> xoh)</CODE>
|
|
|
| <BR>
|
| </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/transformer/TransformerImpl.html#setShouldReset(boolean)">setShouldReset</A></B>(boolean shouldReset)</CODE>
|
|
|
| <BR>
|
| NEEDSDOC Method setShouldReset |
| |
| |
| NEEDSDOC @param shouldReset</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/transformer/TransformerImpl.html#setSourceTreeDocForThread(int)">setSourceTreeDocForThread</A></B>(int doc)</CODE>
|
|
|
| <BR>
|
| This is just a way to set the document for run().</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/transformer/TransformerImpl.html#setStylesheet(org.apache.xalan.templates.StylesheetRoot)">setStylesheet</A></B>(<A HREF="../../../../org/apache/xalan/templates/StylesheetRoot.html">StylesheetRoot</A> stylesheetRoot)</CODE>
|
|
|
| <BR>
|
| Set the stylesheet for this processor.</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/transformer/TransformerImpl.html#setTransformThread(java.lang.Thread)">setTransformThread</A></B>(java.lang.Thread t)</CODE>
|
|
|
| <BR>
|
| Get the thread that the transform process is on.</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/transformer/TransformerImpl.html#setURIResolver(javax.xml.transform.URIResolver)">setURIResolver</A></B>(<A HREF="../../../../javax/xml/transform/URIResolver.html">URIResolver</A> resolver)</CODE>
|
|
|
| <BR>
|
| Set an object that will be used to resolve URIs used in |
| document(), etc.</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/transformer/TransformerImpl.html#setXMLSource(javax.xml.transform.Source)">setXMLSource</A></B>(<A HREF="../../../../javax/xml/transform/Source.html">Source</A> source)</CODE>
|
|
|
| <BR>
|
| Set the input source for the source tree, which is needed if the |
| parse thread is not the main thread, in order for the parse |
| thread's run method to get to the input source.</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/transformer/TransformerImpl.html#setXPathContext(org.apache.xpath.XPathContext)">setXPathContext</A></B>(<A HREF="../../../../org/apache/xpath/XPathContext.html">XPathContext</A> xcontext)</CODE>
|
|
|
| <BR>
|
| Set the execution context for XPath.</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/transformer/TransformerImpl.html#stopTransformation()">stopTransformation</A></B>()</CODE>
|
|
|
| <BR>
|
| NEEDSDOC Method stopTransformation</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/transformer/TransformerImpl.html#transform(javax.xml.transform.Source)">transform</A></B>(<A HREF="../../../../javax/xml/transform/Source.html">Source</A> source)</CODE>
|
|
|
| <BR>
|
| Process the source tree to SAX parse events.</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/transformer/TransformerImpl.html#transform(javax.xml.transform.Source, boolean)">transform</A></B>(<A HREF="../../../../javax/xml/transform/Source.html">Source</A> source, |
| boolean shouldRelease)</CODE>
|
|
|
| <BR>
|
| Process the source tree to SAX parse events.</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/transformer/TransformerImpl.html#transform(javax.xml.transform.Source, javax.xml.transform.Result)">transform</A></B>(<A HREF="../../../../javax/xml/transform/Source.html">Source</A> xmlSource, |
| <A HREF="../../../../javax/xml/transform/Result.html">Result</A> outputTarget)</CODE>
|
|
|
| <BR>
|
| Process the source tree to the output result.</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/transformer/TransformerImpl.html#transform(javax.xml.transform.Source, javax.xml.transform.Result, boolean)">transform</A></B>(<A HREF="../../../../javax/xml/transform/Source.html">Source</A> xmlSource, |
| <A HREF="../../../../javax/xml/transform/Result.html">Result</A> outputTarget, |
| boolean shouldRelease)</CODE>
|
|
|
| <BR>
|
| Process the source tree to the output result.</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/transformer/TransformerImpl.html#transformNode(int)">transformNode</A></B>(int node)</CODE>
|
|
|
| <BR>
|
| Process the source node to the output result, if the |
| processor supports the "http://xml.org/trax/features/dom/input" |
| feature.</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/transformer/TransformerImpl.html#transformNode(int, javax.xml.transform.Result)">transformNode</A></B>(int node, |
| <A HREF="../../../../javax/xml/transform/Result.html">Result</A> outputTarget)</CODE>
|
|
|
| <BR>
|
| Process the source node to the output result, if the |
| processor supports the "http://xml.org/trax/features/dom/input" |
| feature.</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/xalan/transformer/TransformerImpl.html#transformToGlobalRTF(org.apache.xalan.templates.ElemTemplateElement)">transformToGlobalRTF</A></B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> templateParent)</CODE>
|
|
|
| <BR>
|
| Given a stylesheet element, create a result tree fragment from it's |
| contents.</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/xalan/transformer/TransformerImpl.html#transformToRTF(org.apache.xalan.templates.ElemTemplateElement)">transformToRTF</A></B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> templateParent)</CODE>
|
|
|
| <BR>
|
| Given a stylesheet element, create a result tree fragment from it's |
| contents.</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/transformer/TransformerImpl.html#transformToString(org.apache.xalan.templates.ElemTemplateElement)">transformToString</A></B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> elem)</CODE>
|
|
|
| <BR>
|
| Take the contents of a template element, process it, and |
| convert it to a string.</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/transformer/TransformerImpl.html#waitTransformThread()">waitTransformThread</A></B>()</CODE>
|
|
|
| <BR>
|
| Used by SourceTreeHandler to wait until the transform |
| completes</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="TransformerImpl(org.apache.xalan.templates.StylesheetRoot)"><!-- --></A><H3>
|
| TransformerImpl</H3>
|
| <PRE>
|
| public <B>TransformerImpl</B>(<A HREF="../../../../org/apache/xalan/templates/StylesheetRoot.html">StylesheetRoot</A> stylesheet)</PRE>
|
| <DL>
|
| <DD>Construct a TransformerImpl.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>stylesheet</CODE> - The root of the stylesheet tree.</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="setShouldReset(boolean)"><!-- --></A><H3>
|
| setShouldReset</H3>
|
| <PRE>
|
| public void <B>setShouldReset</B>(boolean shouldReset)</PRE>
|
| <DL>
|
| <DD>NEEDSDOC Method setShouldReset |
| |
| |
| NEEDSDOC @param shouldReset<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getExtensionsTable()"><!-- --></A><H3>
|
| getExtensionsTable</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/extensions/ExtensionsTable.html">ExtensionsTable</A> <B>getExtensionsTable</B>()</PRE>
|
| <DL>
|
| <DD>Get the extensions table object.<DD><DL>
|
| <DT><B>Returns:</B><DD>The extensions table.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="functionAvailable(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| functionAvailable</H3>
|
| <PRE>
|
| public boolean <B>functionAvailable</B>(java.lang.String ns, |
| java.lang.String funcName) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xpath/ExtensionsProvider.html#functionAvailable(java.lang.String, java.lang.String)">functionAvailable</A> in interface <A HREF="../../../../org/apache/xpath/ExtensionsProvider.html">ExtensionsProvider</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="elementAvailable(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| elementAvailable</H3>
|
| <PRE>
|
| public boolean <B>elementAvailable</B>(java.lang.String ns, |
| java.lang.String elemName) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xpath/ExtensionsProvider.html#elementAvailable(java.lang.String, java.lang.String)">elementAvailable</A> in interface <A HREF="../../../../org/apache/xpath/ExtensionsProvider.html">ExtensionsProvider</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="extFunction(java.lang.String, java.lang.String, java.util.Vector, java.lang.Object)"><!-- --></A><H3>
|
| extFunction</H3>
|
| <PRE>
|
| public java.lang.Object <B>extFunction</B>(java.lang.String ns, |
| java.lang.String funcName, |
| java.util.Vector argVec, |
| java.lang.Object methodKey) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xpath/ExtensionsProvider.html#extFunction(java.lang.String, java.lang.String, java.util.Vector, java.lang.Object)">extFunction</A> in interface <A HREF="../../../../org/apache/xpath/ExtensionsProvider.html">ExtensionsProvider</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="extFunction(org.apache.xpath.functions.FuncExtFunction, java.util.Vector)"><!-- --></A><H3>
|
| extFunction</H3>
|
| <PRE>
|
| public java.lang.Object <B>extFunction</B>(<A HREF="../../../../org/apache/xpath/functions/FuncExtFunction.html">FuncExtFunction</A> extFunction, |
| java.util.Vector argVec) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xpath/ExtensionsProvider.html#extFunction(org.apache.xpath.functions.FuncExtFunction, java.util.Vector)">extFunction</A> in interface <A HREF="../../../../org/apache/xpath/ExtensionsProvider.html">ExtensionsProvider</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="reset()"><!-- --></A><H3>
|
| reset</H3>
|
| <PRE>
|
| public void <B>reset</B>()</PRE>
|
| <DL>
|
| <DD>Reset the state. This needs to be called after a process() call |
| is invoked, if the processor is to be used again.<DD><DL>
|
| <DT><B>Overrides:</B><DD><A HREF="../../../../javax/xml/transform/Transformer.html#reset()">reset</A> in class <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getProperty(java.lang.String)"><!-- --></A><H3>
|
| getProperty</H3>
|
| <PRE>
|
| public boolean <B>getProperty</B>(java.lang.String property)</PRE>
|
| <DL>
|
| <DD><code>getProperty</code> returns the current setting of the |
| property described by the <code>property</code> argument. |
| |
| %REVIEW% Obsolete now that source_location is handled in the TransformerFactory?<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>property</CODE> - a <code>String</code> value<DT><B>Returns:</B><DD>a <code>boolean</code> value</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setProperty(java.lang.String, java.lang.Object)"><!-- --></A><H3>
|
| setProperty</H3>
|
| <PRE>
|
| public void <B>setProperty</B>(java.lang.String property, |
| java.lang.Object value)</PRE>
|
| <DL>
|
| <DD>Set a runtime property for this <code>TransformerImpl</code>. |
| |
| %REVIEW% Obsolete now that source_location is handled in the TransformerFactory?<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>property</CODE> - a <code>String</code> value<DD><CODE>value</CODE> - an <code>Object</code> value</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="isParserEventsOnMain()"><!-- --></A><H3>
|
| isParserEventsOnMain</H3>
|
| <PRE>
|
| public boolean <B>isParserEventsOnMain</B>()</PRE>
|
| <DL>
|
| <DD>Get true if the parser events should be on the main thread, |
| false if not. Experimental. Can not be set right now.<DD><DL>
|
| <DT><B>Returns:</B><DD>true if the parser events should be on the main thread, |
| false if not.<DT><B>Usage:</B><DD><i><font size="-1" color="#0000FF"> **Experimental**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getTransformThread()"><!-- --></A><H3>
|
| getTransformThread</H3>
|
| <PRE>
|
| public java.lang.Thread <B>getTransformThread</B>()</PRE>
|
| <DL>
|
| <DD>Get the thread that the transform process is on.<DD><DL>
|
| <DT><B>Returns:</B><DD>The thread that the transform process is on, or null.<DT><B>Usage:</B><DD><i><font size="-1" color="#FF0000"> **For internal use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setTransformThread(java.lang.Thread)"><!-- --></A><H3>
|
| setTransformThread</H3>
|
| <PRE>
|
| public void <B>setTransformThread</B>(java.lang.Thread t)</PRE>
|
| <DL>
|
| <DD>Get the thread that the transform process is on.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>t</CODE> - The transform thread, may be null.<DT><B>Usage:</B><DD><i><font size="-1" color="#FF0000"> **For internal use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="hasTransformThreadErrorCatcher()"><!-- --></A><H3>
|
| hasTransformThreadErrorCatcher</H3>
|
| <PRE>
|
| public boolean <B>hasTransformThreadErrorCatcher</B>()</PRE>
|
| <DL>
|
| <DD>Return true if the transform was initiated from the transform method, |
| otherwise it was probably done from a pure parse events. |
| |
| NEEDSDOC ($objectName$) @return<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="transform(javax.xml.transform.Source)"><!-- --></A><H3>
|
| transform</H3>
|
| <PRE>
|
| public void <B>transform</B>(<A HREF="../../../../javax/xml/transform/Source.html">Source</A> source) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Process the source tree to SAX parse events.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>source</CODE> - The input for the source tree.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="transform(javax.xml.transform.Source, boolean)"><!-- --></A><H3>
|
| transform</H3>
|
| <PRE>
|
| public void <B>transform</B>(<A HREF="../../../../javax/xml/transform/Source.html">Source</A> source, |
| boolean shouldRelease) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Process the source tree to SAX parse events.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>source</CODE> - The input for the source tree.<DD><CODE>shouldRelease</CODE> - Flag indicating whether to release DTMManager.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getBaseURLOfSource()"><!-- --></A><H3>
|
| getBaseURLOfSource</H3>
|
| <PRE>
|
| public java.lang.String <B>getBaseURLOfSource</B>()</PRE>
|
| <DL>
|
| <DD>Get the base URL of the source.<DD><DL>
|
| <DT><B>Returns:</B><DD>The base URL of the source tree, or null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setBaseURLOfSource(java.lang.String)"><!-- --></A><H3>
|
| setBaseURLOfSource</H3>
|
| <PRE>
|
| public void <B>setBaseURLOfSource</B>(java.lang.String base)</PRE>
|
| <DL>
|
| <DD>Get the base URL of the source. |
| |
| |
| NEEDSDOC @param base<DD><DL>
|
| <DT><B>Returns:</B><DD>The base URL of the source tree, or null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getOutputTarget()"><!-- --></A><H3>
|
| getOutputTarget</H3>
|
| <PRE>
|
| public <A HREF="../../../../javax/xml/transform/Result.html">Result</A> <B>getOutputTarget</B>()</PRE>
|
| <DL>
|
| <DD>Get the original output target.<DD><DL>
|
| <DT><B>Returns:</B><DD>The Result object used to kick of the transform or null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setOutputTarget(javax.xml.transform.Result)"><!-- --></A><H3>
|
| setOutputTarget</H3>
|
| <PRE>
|
| public void <B>setOutputTarget</B>(<A HREF="../../../../javax/xml/transform/Result.html">Result</A> outputTarget)</PRE>
|
| <DL>
|
| <DD>Set the original output target. This is useful when using a SAX transform and |
| supplying a ContentHandler or when the URI of the output target should |
| not be the same as the systemID of the original output target. |
| |
| |
| NEEDSDOC @param outputTarget<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getOutputProperty(java.lang.String)"><!-- --></A><H3>
|
| getOutputProperty</H3>
|
| <PRE>
|
| public java.lang.String <B>getOutputProperty</B>(java.lang.String qnameString) |
| throws java.lang.IllegalArgumentException</PRE>
|
| <DL>
|
| <DD>Get an output property that is in effect for the |
| transformation. The property specified may be a property |
| that was set with setOutputProperty, or it may be a |
| property specified in the stylesheet. |
| |
| NEEDSDOC @param qnameString<DD><DL>
|
| <DT><B>Returns:</B><DD>The string value of the output property, or null |
| if no property was found.<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - If the property is not supported.<DT><B>Overrides:</B><DD><A HREF="../../../../javax/xml/transform/Transformer.html#getOutputProperty(java.lang.String)">getOutputProperty</A> in class <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A><DT><B>See Also: </B><DD><A HREF="../../../../javax/xml/transform/OutputKeys.html"><CODE>OutputKeys</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getOutputPropertyNoDefault(java.lang.String)"><!-- --></A><H3>
|
| getOutputPropertyNoDefault</H3>
|
| <PRE>
|
| public java.lang.String <B>getOutputPropertyNoDefault</B>(java.lang.String qnameString) |
| throws java.lang.IllegalArgumentException</PRE>
|
| <DL>
|
| <DD>Get the value of a property, without using the default properties. This |
| can be used to test if a property has been explicitly set by the stylesheet |
| or user. |
| |
| NEEDSDOC @param qnameString<DD><DL>
|
| <DT><B>Returns:</B><DD>The value of the property, or null if not found.<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - If the property is not supported, |
| and is not namespaced.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setOutputProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| setOutputProperty</H3>
|
| <PRE>
|
| public void <B>setOutputProperty</B>(java.lang.String name, |
| java.lang.String value) |
| throws java.lang.IllegalArgumentException</PRE>
|
| <DL>
|
| <DD>This method is used to set or override the value |
| of the effective xsl:output attribute values |
| specified in the stylesheet. |
| <p> |
| The recognized standard output properties are: |
| <ul> |
| <li>cdata-section-elements |
| <li>doctype-system |
| <li>doctype-public |
| <li>indent |
| <li>media-type |
| <li>method |
| <li>omit-xml-declaration |
| <li>standalone |
| <li>version |
| </ul> |
| <p> |
| For example: |
| <pre> |
| tran.setOutputProperty("standalone", "yes"); |
| </pre> |
| <p> |
| In the case of the cdata-section-elements property, |
| the value should be a whitespace separated list of |
| element names. The element name is the local name |
| of the element, if it is in no namespace, or, the URI |
| in braces followed immediately by the local name |
| if the element is in that namespace. For example: |
| <pre> |
| tran.setOutputProperty( |
| "cdata-section-elements", |
| "elem1 {http://example.uri}elem2 elem3"); |
| </pre> |
| <p> |
| The recognized Xalan extension elements are: |
| <ul> |
| <li>content-handler |
| <li>entities |
| <li>indent-amount |
| <li>line-separator |
| <li>omit-meta-tag |
| <li>use-url-escaping |
| </ul> |
| <p> |
| These must be in the extension namespace of |
| "http://xml.apache.org/xalan". This is accomplished |
| by putting the namespace URI in braces before the |
| property name, for example: |
| <pre> |
| tran.setOutputProperty( |
| "{http://xml.apache.org/xalan}line-separator" , |
| "\n"); |
| </pre><DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - The property name.<DD><CODE>value</CODE> - The requested value for the property.<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if the property name is not legal.<DT><B>Overrides:</B><DD><A HREF="../../../../javax/xml/transform/Transformer.html#setOutputProperty(java.lang.String, java.lang.String)">setOutputProperty</A> in class <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setOutputProperties(java.util.Properties)"><!-- --></A><H3>
|
| setOutputProperties</H3>
|
| <PRE>
|
| public void <B>setOutputProperties</B>(java.util.Properties oformat) |
| throws java.lang.IllegalArgumentException</PRE>
|
| <DL>
|
| <DD>Set the output properties for the transformation. These |
| properties will override properties set in the templates |
| with xsl:output. |
| |
| <p>If argument to this function is null, any properties |
| previously set will be removed.</p><DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>oformat</CODE> - A set of output properties that will be |
| used to override any of the same properties in effect |
| for the transformation.<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if any of the argument keys are not |
| recognized and are not namespace qualified.<DT><B>Overrides:</B><DD><A HREF="../../../../javax/xml/transform/Transformer.html#setOutputProperties(java.util.Properties)">setOutputProperties</A> in class <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A><DT><B>See Also: </B><DD><A HREF="../../../../javax/xml/transform/OutputKeys.html"><CODE>OutputKeys</CODE></A>,
|
| <CODE>Properties</CODE></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getOutputProperties()"><!-- --></A><H3>
|
| getOutputProperties</H3>
|
| <PRE>
|
| public java.util.Properties <B>getOutputProperties</B>()</PRE>
|
| <DL>
|
| <DD>Get a copy of the output properties for the transformation. These |
| properties will override properties set in the templates |
| with xsl:output. |
| |
| <p>Note that mutation of the Properties object returned will not |
| effect the properties that the transformation contains.</p><DD><DL>
|
| <DT><B>Returns:</B><DD>A copy of the set of output properties in effect |
| for the next transformation. |
| |
| NEEDSDOC ($objectName$) @return<DT><B>Overrides:</B><DD><A HREF="../../../../javax/xml/transform/Transformer.html#getOutputProperties()">getOutputProperties</A> in class <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="createSerializationHandler(javax.xml.transform.Result)"><!-- --></A><H3>
|
| createSerializationHandler</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A> <B>createSerializationHandler</B>(<A HREF="../../../../javax/xml/transform/Result.html">Result</A> outputTarget) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Create a result ContentHandler from a Result object, based |
| on the current OutputProperties.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>outputTarget</CODE> - Where the transform result should go, |
| should not be null.<DT><B>Returns:</B><DD>A valid ContentHandler that will create the |
| result tree when it is fed SAX events.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="createSerializationHandler(javax.xml.transform.Result, org.apache.xalan.templates.OutputProperties)"><!-- --></A><H3>
|
| createSerializationHandler</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A> <B>createSerializationHandler</B>(<A HREF="../../../../javax/xml/transform/Result.html">Result</A> outputTarget, |
| <A HREF="../../../../org/apache/xalan/templates/OutputProperties.html">OutputProperties</A> format) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Create a ContentHandler from a Result object and an OutputProperties.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>outputTarget</CODE> - Where the transform result should go, |
| should not be null.<DD><CODE>format</CODE> - The OutputProperties object that will contain |
| instructions on how to serialize the output.<DT><B>Returns:</B><DD>A valid ContentHandler that will create the |
| result tree when it is fed SAX events.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="transform(javax.xml.transform.Source, javax.xml.transform.Result)"><!-- --></A><H3>
|
| transform</H3>
|
| <PRE>
|
| public void <B>transform</B>(<A HREF="../../../../javax/xml/transform/Source.html">Source</A> xmlSource, |
| <A HREF="../../../../javax/xml/transform/Result.html">Result</A> outputTarget) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Process the source tree to the output result.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>xmlSource</CODE> - The input for the source tree.<DD><CODE>outputTarget</CODE> - The output source target.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - <DT><B>Overrides:</B><DD><A HREF="../../../../javax/xml/transform/Transformer.html#transform(javax.xml.transform.Source, javax.xml.transform.Result)">transform</A> in class <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="transform(javax.xml.transform.Source, javax.xml.transform.Result, boolean)"><!-- --></A><H3>
|
| transform</H3>
|
| <PRE>
|
| public void <B>transform</B>(<A HREF="../../../../javax/xml/transform/Source.html">Source</A> xmlSource, |
| <A HREF="../../../../javax/xml/transform/Result.html">Result</A> outputTarget, |
| boolean shouldRelease) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Process the source tree to the output result.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>xmlSource</CODE> - The input for the source tree.<DD><CODE>outputTarget</CODE> - The output source target.<DD><CODE>shouldRelease</CODE> - Flag indicating whether to release DTMManager.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="transformNode(int, javax.xml.transform.Result)"><!-- --></A><H3>
|
| transformNode</H3>
|
| <PRE>
|
| public void <B>transformNode</B>(int node, |
| <A HREF="../../../../javax/xml/transform/Result.html">Result</A> outputTarget) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Process the source node to the output result, if the |
| processor supports the "http://xml.org/trax/features/dom/input" |
| feature. |
| %REVIEW% Do we need a Node version of this?<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>node</CODE> - The input source node, which can be any valid DTM node.<DD><CODE>outputTarget</CODE> - The output source target.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="transformNode(int)"><!-- --></A><H3>
|
| transformNode</H3>
|
| <PRE>
|
| public void <B>transformNode</B>(int node) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Process the source node to the output result, if the |
| processor supports the "http://xml.org/trax/features/dom/input" |
| feature. |
| %REVIEW% Do we need a Node version of this?<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>node</CODE> - The input source node, which can be any valid DTM node.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getInputContentHandler()"><!-- --></A><H3>
|
| getInputContentHandler</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> <B>getInputContentHandler</B>()</PRE>
|
| <DL>
|
| <DD>Get a SAX2 ContentHandler for the input.<DD><DL>
|
| <DT><B>Returns:</B><DD>A valid ContentHandler, which should never be null, as |
| long as getFeature("http://xml.org/trax/features/sax/input") |
| returns true.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getInputContentHandler(boolean)"><!-- --></A><H3>
|
| getInputContentHandler</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> <B>getInputContentHandler</B>(boolean doDocFrag)</PRE>
|
| <DL>
|
| <DD>Get a SAX2 ContentHandler for the input.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>doDocFrag</CODE> - true if a DocumentFragment should be created as |
| the root, rather than a Document.<DT><B>Returns:</B><DD>A valid ContentHandler, which should never be null, as |
| long as getFeature("http://xml.org/trax/features/sax/input") |
| returns true.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getInputDeclHandler()"><!-- --></A><H3>
|
| getInputDeclHandler</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/xml/sax/ext/DeclHandler.html">DeclHandler</A> <B>getInputDeclHandler</B>()</PRE>
|
| <DL>
|
| <DD>Get a SAX2 DeclHandler for the input.<DD><DL>
|
| <DT><B>Returns:</B><DD>A valid DeclHandler, which should never be null, as |
| long as getFeature("http://xml.org/trax/features/sax/input") |
| returns true.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getInputLexicalHandler()"><!-- --></A><H3>
|
| getInputLexicalHandler</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/xml/sax/ext/LexicalHandler.html">LexicalHandler</A> <B>getInputLexicalHandler</B>()</PRE>
|
| <DL>
|
| <DD>Get a SAX2 LexicalHandler for the input.<DD><DL>
|
| <DT><B>Returns:</B><DD>A valid LexicalHandler, which should never be null, as |
| long as getFeature("http://xml.org/trax/features/sax/input") |
| returns true.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setOutputFormat(org.apache.xalan.templates.OutputProperties)"><!-- --></A><H3>
|
| setOutputFormat</H3>
|
| <PRE>
|
| public void <B>setOutputFormat</B>(<A HREF="../../../../org/apache/xalan/templates/OutputProperties.html">OutputProperties</A> oformat)</PRE>
|
| <DL>
|
| <DD>Set the output properties for the transformation. These |
| properties will override properties set in the templates |
| with xsl:output.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>oformat</CODE> - A valid OutputProperties object (which will |
| not be mutated), or null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getOutputFormat()"><!-- --></A><H3>
|
| getOutputFormat</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/templates/OutputProperties.html">OutputProperties</A> <B>getOutputFormat</B>()</PRE>
|
| <DL>
|
| <DD>Get the output properties used for the transformation.<DD><DL>
|
| <DT><B>Returns:</B><DD>the output format that was set by the user, |
| otherwise the output format from the stylesheet.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setParameter(java.lang.String, java.lang.String, java.lang.Object)"><!-- --></A><H3>
|
| setParameter</H3>
|
| <PRE>
|
| public void <B>setParameter</B>(java.lang.String name, |
| java.lang.String namespace, |
| java.lang.Object value)</PRE>
|
| <DL>
|
| <DD>Set a parameter for the templates.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the parameter.<DD><CODE>namespace</CODE> - The namespace of the parameter.<DD><CODE>value</CODE> - The value object. This can be any valid Java object |
| -- it's up to the processor to provide the proper |
| coersion to the object, or simply pass it on for use |
| in extensions.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setParameter(java.lang.String, java.lang.Object)"><!-- --></A><H3>
|
| setParameter</H3>
|
| <PRE>
|
| public void <B>setParameter</B>(java.lang.String name, |
| java.lang.Object value)</PRE>
|
| <DL>
|
| <DD>Set a parameter for the transformation.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the parameter, |
| which may have a namespace URI.<DD><CODE>value</CODE> - The value object. This can be any valid Java object |
| -- it's up to the processor to provide the proper |
| coersion to the object, or simply pass it on for use |
| in extensions.<DT><B>Overrides:</B><DD><A HREF="../../../../javax/xml/transform/Transformer.html#setParameter(java.lang.String, java.lang.Object)">setParameter</A> in class <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getParameter(java.lang.String)"><!-- --></A><H3>
|
| getParameter</H3>
|
| <PRE>
|
| public java.lang.Object <B>getParameter</B>(java.lang.String name)</PRE>
|
| <DL>
|
| <DD>Get a parameter that was explicitly set with setParameter |
| or setParameters. |
| |
| |
| NEEDSDOC @param name<DD><DL>
|
| <DT><B>Returns:</B><DD>A parameter that has been set with setParameter |
| or setParameters, |
| *not* all the xsl:params on the stylesheet (which require |
| a transformation Source to be evaluated).<DT><B>Overrides:</B><DD><A HREF="../../../../javax/xml/transform/Transformer.html#getParameter(java.lang.String)">getParameter</A> in class <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setParameters(java.util.Properties)"><!-- --></A><H3>
|
| setParameters</H3>
|
| <PRE>
|
| public void <B>setParameters</B>(java.util.Properties params)</PRE>
|
| <DL>
|
| <DD>Set a bag of parameters for the transformation. Note that |
| these will not be additive, they will replace the existing |
| set of parameters. |
| |
| NEEDSDOC @param params<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="clearParameters()"><!-- --></A><H3>
|
| clearParameters</H3>
|
| <PRE>
|
| public void <B>clearParameters</B>()</PRE>
|
| <DL>
|
| <DD>Reset the parameters to a null list.<DD><DL>
|
| <DT><B>Overrides:</B><DD><A HREF="../../../../javax/xml/transform/Transformer.html#clearParameters()">clearParameters</A> in class <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setURIResolver(javax.xml.transform.URIResolver)"><!-- --></A><H3>
|
| setURIResolver</H3>
|
| <PRE>
|
| public void <B>setURIResolver</B>(<A HREF="../../../../javax/xml/transform/URIResolver.html">URIResolver</A> resolver)</PRE>
|
| <DL>
|
| <DD>Set an object that will be used to resolve URIs used in |
| document(), etc.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>resolver</CODE> - An object that implements the URIResolver interface, |
| or null.<DT><B>Overrides:</B><DD><A HREF="../../../../javax/xml/transform/Transformer.html#setURIResolver(javax.xml.transform.URIResolver)">setURIResolver</A> in class <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getURIResolver()"><!-- --></A><H3>
|
| getURIResolver</H3>
|
| <PRE>
|
| public <A HREF="../../../../javax/xml/transform/URIResolver.html">URIResolver</A> <B>getURIResolver</B>()</PRE>
|
| <DL>
|
| <DD>Get an object that will be used to resolve URIs used in |
| document(), etc.<DD><DL>
|
| <DT><B>Returns:</B><DD>An object that implements the URIResolver interface, |
| or null.<DT><B>Overrides:</B><DD><A HREF="../../../../javax/xml/transform/Transformer.html#getURIResolver()">getURIResolver</A> in class <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setContentHandler(org.xml.sax.ContentHandler)"><!-- --></A><H3>
|
| setContentHandler</H3>
|
| <PRE>
|
| public void <B>setContentHandler</B>(<A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> handler)</PRE>
|
| <DL>
|
| <DD>Set the content event handler. |
| |
| NEEDSDOC @param handler<DD><DL>
|
| <DT><B>Throws:</B><DD>java.lang.NullPointerException - If the handler |
| is null.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/XMLReader.html#setContentHandler(org.xml.sax.ContentHandler)"><CODE>XMLReader.setContentHandler(org.xml.sax.ContentHandler)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getContentHandler()"><!-- --></A><H3>
|
| getContentHandler</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> <B>getContentHandler</B>()</PRE>
|
| <DL>
|
| <DD>Get the content event handler.<DD><DL>
|
| <DT><B>Returns:</B><DD>The current content handler, or null if none was set.<DT><B>See Also: </B><DD><A HREF="../../../../org/xml/sax/XMLReader.html#getContentHandler()"><CODE>XMLReader.getContentHandler()</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="transformToRTF(org.apache.xalan.templates.ElemTemplateElement)"><!-- --></A><H3>
|
| transformToRTF</H3>
|
| <PRE>
|
| public int <B>transformToRTF</B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> templateParent) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Given a stylesheet element, create a result tree fragment from it's |
| contents. The fragment will be built within the shared RTF DTM system |
| used as a variable stack.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>templateParent</CODE> - The template element that holds the fragment.<DT><B>Returns:</B><DD>the NodeHandle for the root node of the resulting RTF.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - <DT><B>Usage:</B><DD><i><font size="-1" color="#00FF00"> **For advanced use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="transformToGlobalRTF(org.apache.xalan.templates.ElemTemplateElement)"><!-- --></A><H3>
|
| transformToGlobalRTF</H3>
|
| <PRE>
|
| public int <B>transformToGlobalRTF</B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> templateParent) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Given a stylesheet element, create a result tree fragment from it's |
| contents. The fragment will also use the shared DTM system, but will |
| obtain its space from the global variable pool rather than the dynamic |
| variable stack. This allows late binding of XUnresolvedVariables without |
| the risk that their content will be discarded when the variable stack |
| is popped.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>templateParent</CODE> - The template element that holds the fragment.<DT><B>Returns:</B><DD>the NodeHandle for the root node of the resulting RTF.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - <DT><B>Usage:</B><DD><i><font size="-1" color="#00FF00"> **For advanced use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getStringWriterPool()"><!-- --></A><H3>
|
| getStringWriterPool</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xml/utils/ObjectPool.html">ObjectPool</A> <B>getStringWriterPool</B>()</PRE>
|
| <DL>
|
| <DD>Get the StringWriter pool, so that StringWriter |
| objects may be reused.<DD><DL>
|
| <DT><B>Returns:</B><DD>The string writer pool, not null.<DT><B>Usage:</B><DD><i><font size="-1" color="#FF0000"> **For internal use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="transformToString(org.apache.xalan.templates.ElemTemplateElement)"><!-- --></A><H3>
|
| transformToString</H3>
|
| <PRE>
|
| public java.lang.String <B>transformToString</B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> elem) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Take the contents of a template element, process it, and |
| convert it to a string.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>elem</CODE> - The parent element whose children will be output |
| as a string.<DT><B>Returns:</B><DD>The stringized result of executing the elements children.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - <DT><B>Usage:</B><DD><i><font size="-1" color="#00FF00"> **For advanced use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="applyTemplateToNode(org.apache.xalan.templates.ElemTemplateElement, org.apache.xalan.templates.ElemTemplate, int)"><!-- --></A><H3>
|
| applyTemplateToNode</H3>
|
| <PRE>
|
| public boolean <B>applyTemplateToNode</B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> xslInstruction, |
| <A HREF="../../../../org/apache/xalan/templates/ElemTemplate.html">ElemTemplate</A> template, |
| int child) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Given an element and mode, find the corresponding |
| template and process the contents.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>xslInstruction</CODE> - The calling element.<DD><CODE>template</CODE> - The template to use if xsl:for-each, current template for apply-imports, or null.<DD><CODE>child</CODE> - The source context node.<DT><B>Returns:</B><DD>true if applied a template, false if not.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - <DT><B>Usage:</B><DD><i><font size="-1" color="#00FF00"> **For advanced use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="executeChildTemplates(org.apache.xalan.templates.ElemTemplateElement, org.w3c.dom.Node, org.apache.xml.utils.QName, org.xml.sax.ContentHandler)"><!-- --></A><H3>
|
| executeChildTemplates</H3>
|
| <PRE>
|
| public void <B>executeChildTemplates</B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> elem, |
| <A HREF="../../../../org/w3c/dom/Node.html">Node</A> context, |
| <A HREF="../../../../org/apache/xml/utils/QName.html">QName</A> mode, |
| <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> handler) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Execute each of the children of a template element. This method |
| is only for extension use.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>elem</CODE> - The ElemTemplateElement that contains the children |
| that should execute. |
| NEEDSDOC @param context<DD><CODE>mode</CODE> - The current mode.<DD><CODE>handler</CODE> - The ContentHandler to where the result events |
| should be fed.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - <DT><B>Usage:</B><DD><i><font size="-1" color="#00FF00"> **For advanced use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="executeChildTemplates(org.apache.xalan.templates.ElemTemplateElement, boolean)"><!-- --></A><H3>
|
| executeChildTemplates</H3>
|
| <PRE>
|
| public void <B>executeChildTemplates</B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> elem, |
| boolean shouldAddAttrs) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Execute each of the children of a template element.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>elem</CODE> - The ElemTemplateElement that contains the children |
| that should execute.<DD><CODE>shouldAddAttrs</CODE> - true if xsl:attributes should be executed.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - <DT><B>Usage:</B><DD><i><font size="-1" color="#00FF00"> **For advanced use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="executeChildTemplates(org.apache.xalan.templates.ElemTemplateElement, org.xml.sax.ContentHandler)"><!-- --></A><H3>
|
| executeChildTemplates</H3>
|
| <PRE>
|
| public void <B>executeChildTemplates</B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> elem, |
| <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> handler) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Execute each of the children of a template element.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>elem</CODE> - The ElemTemplateElement that contains the children |
| that should execute.<DD><CODE>handler</CODE> - The ContentHandler to where the result events |
| should be fed.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - <DT><B>Usage:</B><DD><i><font size="-1" color="#00FF00"> **For advanced use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="processSortKeys(org.apache.xalan.templates.ElemForEach, int)"><!-- --></A><H3>
|
| processSortKeys</H3>
|
| <PRE>
|
| public java.util.Vector <B>processSortKeys</B>(<A HREF="../../../../org/apache/xalan/templates/ElemForEach.html">ElemForEach</A> foreach, |
| int sourceNodeContext) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD>Get the keys for the xsl:sort elements. |
| Note: Should this go into ElemForEach?<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>foreach</CODE> - Valid ElemForEach element, not null.<DD><CODE>sourceNodeContext</CODE> - The current node context in the source tree, |
| needed to evaluate the Attribute Value Templates.<DT><B>Returns:</B><DD>A Vector of NodeSortKeys, or null.<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - <DT><B>Usage:</B><DD><i><font size="-1" color="#00FF00"> **For advanced use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getElementCallstack()"><!-- --></A><H3>
|
| getElementCallstack</H3>
|
| <PRE>
|
| public java.util.Vector <B>getElementCallstack</B>()</PRE>
|
| <DL>
|
| <DD>Get the stack of ElemTemplateElements.<DD><DL>
|
| <DT><B>Returns:</B><DD>A copy of stack that contains the xsl element instructions, |
| the earliest called in index zero, and the latest called in index size()-1.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getCurrentTemplateElementsCount()"><!-- --></A><H3>
|
| getCurrentTemplateElementsCount</H3>
|
| <PRE>
|
| public int <B>getCurrentTemplateElementsCount</B>()</PRE>
|
| <DL>
|
| <DD>Get the count of how many elements are |
| active.<DD><DL>
|
| <DT><B>Returns:</B><DD>The number of active elements on |
| the currentTemplateElements stack.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getCurrentTemplateElements()"><!-- --></A><H3>
|
| getCurrentTemplateElements</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xml/utils/ObjectStack.html">ObjectStack</A> <B>getCurrentTemplateElements</B>()</PRE>
|
| <DL>
|
| <DD>Get the count of how many elements are |
| active.<DD><DL>
|
| <DT><B>Returns:</B><DD>The number of active elements on |
| the currentTemplateElements stack.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushElemTemplateElement(org.apache.xalan.templates.ElemTemplateElement)"><!-- --></A><H3>
|
| pushElemTemplateElement</H3>
|
| <PRE>
|
| public void <B>pushElemTemplateElement</B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> elem)</PRE>
|
| <DL>
|
| <DD>Push the current template element.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>elem</CODE> - The current ElemTemplateElement (may be null, and then |
| set via setCurrentElement).</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popElemTemplateElement()"><!-- --></A><H3>
|
| popElemTemplateElement</H3>
|
| <PRE>
|
| public void <B>popElemTemplateElement</B>()</PRE>
|
| <DL>
|
| <DD>Pop the current template element.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setCurrentElement(org.apache.xalan.templates.ElemTemplateElement)"><!-- --></A><H3>
|
| setCurrentElement</H3>
|
| <PRE>
|
| public void <B>setCurrentElement</B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> e)</PRE>
|
| <DL>
|
| <DD>Set the top of the current template elements |
| stack.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>e</CODE> - The current ElemTemplateElement about to |
| be executed.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getCurrentElement()"><!-- --></A><H3>
|
| getCurrentElement</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> <B>getCurrentElement</B>()</PRE>
|
| <DL>
|
| <DD>Retrieves the current ElemTemplateElement that is |
| being executed.<DD><DL>
|
| <DT><B>Returns:</B><DD>The current ElemTemplateElement that is executing, |
| should not normally be null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getCurrentNode()"><!-- --></A><H3>
|
| getCurrentNode</H3>
|
| <PRE>
|
| public int <B>getCurrentNode</B>()</PRE>
|
| <DL>
|
| <DD>This method retrieves the current context node |
| in the source tree.<DD><DL>
|
| <DT><B>Returns:</B><DD>The current context node (should never be null?).</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getTemplateCallstack()"><!-- --></A><H3>
|
| getTemplateCallstack</H3>
|
| <PRE>
|
| public java.util.Vector <B>getTemplateCallstack</B>()</PRE>
|
| <DL>
|
| <DD>Get the call stack of xsl:template elements.<DD><DL>
|
| <DT><B>Returns:</B><DD>A copy of stack that contains the xsl:template |
| (ElemTemplate) instructions, the earliest called in index |
| zero, and the latest called in index size()-1.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getCurrentTemplate()"><!-- --></A><H3>
|
| getCurrentTemplate</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/templates/ElemTemplate.html">ElemTemplate</A> <B>getCurrentTemplate</B>()</PRE>
|
| <DL>
|
| <DD>This method retrieves the xsl:template |
| that is in effect, which may be a matched template |
| or a named template. |
| |
| <p>Please note that the ElemTemplate returned may |
| be a default template, and thus may not have a template |
| defined in the stylesheet.</p><DD><DL>
|
| <DT><B>Returns:</B><DD>The current xsl:template, should not be null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushPairCurrentMatched(org.apache.xalan.templates.ElemTemplateElement, int)"><!-- --></A><H3>
|
| pushPairCurrentMatched</H3>
|
| <PRE>
|
| public void <B>pushPairCurrentMatched</B>(<A HREF="../../../../org/apache/xalan/templates/ElemTemplateElement.html">ElemTemplateElement</A> template, |
| int child)</PRE>
|
| <DL>
|
| <DD>Push both the current xsl:template or xsl:for-each onto the |
| stack, along with the child node that was matched. |
| (Note: should this only be used for xsl:templates?? -sb)<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>template</CODE> - xsl:template or xsl:for-each.<DD><CODE>child</CODE> - The child that was matched.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popCurrentMatched()"><!-- --></A><H3>
|
| popCurrentMatched</H3>
|
| <PRE>
|
| public void <B>popCurrentMatched</B>()</PRE>
|
| <DL>
|
| <DD>Pop the elements that were pushed via pushPairCurrentMatched.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getMatchedTemplate()"><!-- --></A><H3>
|
| getMatchedTemplate</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/templates/ElemTemplate.html">ElemTemplate</A> <B>getMatchedTemplate</B>()</PRE>
|
| <DL>
|
| <DD>This method retrieves the xsl:template |
| that was matched. Note that this may not be |
| the same thing as the current template (which |
| may be from getCurrentElement()), since a named |
| template may be in effect.<DD><DL>
|
| <DT><B>Returns:</B><DD>The pushed template that was pushed via pushPairCurrentMatched.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getMatchedNode()"><!-- --></A><H3>
|
| getMatchedNode</H3>
|
| <PRE>
|
| public int <B>getMatchedNode</B>()</PRE>
|
| <DL>
|
| <DD>Retrieves the node in the source tree that matched |
| the template obtained via getMatchedTemplate().<DD><DL>
|
| <DT><B>Returns:</B><DD>The matched node that corresponds to the |
| match attribute of the current xsl:template.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getContextNodeList()"><!-- --></A><H3>
|
| getContextNodeList</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xml/dtm/DTMIterator.html">DTMIterator</A> <B>getContextNodeList</B>()</PRE>
|
| <DL>
|
| <DD>Get the current context node list.<DD><DL>
|
| <DT><B>Returns:</B><DD>A reset clone of the context node list.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getTransformer()"><!-- --></A><H3>
|
| getTransformer</H3>
|
| <PRE>
|
| public <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A> <B>getTransformer</B>()</PRE>
|
| <DL>
|
| <DD>Get the TrAX Transformer object in effect.<DD><DL>
|
| <DT><B>Returns:</B><DD>This object.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setStylesheet(org.apache.xalan.templates.StylesheetRoot)"><!-- --></A><H3>
|
| setStylesheet</H3>
|
| <PRE>
|
| public void <B>setStylesheet</B>(<A HREF="../../../../org/apache/xalan/templates/StylesheetRoot.html">StylesheetRoot</A> stylesheetRoot)</PRE>
|
| <DL>
|
| <DD>Set the stylesheet for this processor. If this is set, then the |
| process calls that take only the input .xml will use |
| this instead of looking for a stylesheet PI. Also, |
| setting the stylesheet is needed if you are going |
| to use the processor as a SAX ContentHandler.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>stylesheetRoot</CODE> - A non-null StylesheetRoot object, |
| or null if you wish to clear the stylesheet reference.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getStylesheet()"><!-- --></A><H3>
|
| getStylesheet</H3>
|
| <PRE>
|
| public final <A HREF="../../../../org/apache/xalan/templates/StylesheetRoot.html">StylesheetRoot</A> <B>getStylesheet</B>()</PRE>
|
| <DL>
|
| <DD>Get the current stylesheet for this processor.<DD><DL>
|
| <DT><B>Returns:</B><DD>The stylesheet that is associated with this |
| transformer.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getQuietConflictWarnings()"><!-- --></A><H3>
|
| getQuietConflictWarnings</H3>
|
| <PRE>
|
| public boolean <B>getQuietConflictWarnings</B>()</PRE>
|
| <DL>
|
| <DD>Get quietConflictWarnings property. If the quietConflictWarnings |
| property is set to true, warnings about pattern conflicts won't be |
| printed to the diagnostics stream.<DD><DL>
|
| <DT><B>Returns:</B><DD>True if this transformer should not report |
| template match conflicts.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setQuietConflictWarnings(boolean)"><!-- --></A><H3>
|
| setQuietConflictWarnings</H3>
|
| <PRE>
|
| public void <B>setQuietConflictWarnings</B>(boolean b)</PRE>
|
| <DL>
|
| <DD>If the quietConflictWarnings property is set to |
| true, warnings about pattern conflicts won't be |
| printed to the diagnostics stream. |
| False by default. |
| (Currently setting this property will have no effect.)<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>b</CODE> - true if conflict warnings should be suppressed.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setXPathContext(org.apache.xpath.XPathContext)"><!-- --></A><H3>
|
| setXPathContext</H3>
|
| <PRE>
|
| public void <B>setXPathContext</B>(<A HREF="../../../../org/apache/xpath/XPathContext.html">XPathContext</A> xcontext)</PRE>
|
| <DL>
|
| <DD>Set the execution context for XPath.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>xcontext</CODE> - A non-null reference to the XPathContext |
| associated with this transformer.<DT><B>Usage:</B><DD><i><font size="-1" color="#FF0000"> **For internal use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getXPathContext()"><!-- --></A><H3>
|
| getXPathContext</H3>
|
| <PRE>
|
| public final <A HREF="../../../../org/apache/xpath/XPathContext.html">XPathContext</A> <B>getXPathContext</B>()</PRE>
|
| <DL>
|
| <DD>Get the XPath context associated with this transformer.<DD><DL>
|
| <DT><B>Returns:</B><DD>The XPathContext reference, never null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getStackGuard()"><!-- --></A><H3>
|
| getStackGuard</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/transformer/StackGuard.html">StackGuard</A> <B>getStackGuard</B>()</PRE>
|
| <DL>
|
| <DD>Get the object used to guard the stack from |
| recursion.<DD><DL>
|
| <DT><B>Returns:</B><DD>The StackGuard object, which should never be null.<DT><B>Usage:</B><DD><i><font size="-1" color="#FF0000"> **For internal use only**</font></i></DD> |
| </DD>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getRecursionLimit()"><!-- --></A><H3>
|
| getRecursionLimit</H3>
|
| <PRE>
|
| public int <B>getRecursionLimit</B>()</PRE>
|
| <DL>
|
| <DD>Get the recursion limit. |
| Used for infinite loop check. If the value is -1, do not |
| check for infinite loops. Anyone who wants to enable that |
| check should change the value of this variable to be the |
| level of recursion that they want to check. Be careful setting |
| this variable, if the number is too low, it may report an |
| infinite loop situation, when there is none. |
| Post version 1.0.0, we'll make this a runtime feature.<DD><DL>
|
| <DT><B>Returns:</B><DD>The limit on recursion, or -1 if no check is to be made.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setRecursionLimit(int)"><!-- --></A><H3>
|
| setRecursionLimit</H3>
|
| <PRE>
|
| public void <B>setRecursionLimit</B>(int limit)</PRE>
|
| <DL>
|
| <DD>Set the recursion limit. |
| Used for infinite loop check. If the value is -1, do not |
| check for infinite loops. Anyone who wants to enable that |
| check should change the value of this variable to be the |
| level of recursion that they want to check. Be careful setting |
| this variable, if the number is too low, it may report an |
| infinite loop situation, when there is none. |
| Post version 1.0.0, we'll make this a runtime feature.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>limit</CODE> - A number that represents the limit of recursion, |
| or -1 if no checking is to be done.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getResultTreeHandler()"><!-- --></A><H3>
|
| getResultTreeHandler</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A> <B>getResultTreeHandler</B>()</PRE>
|
| <DL>
|
| <DD>Get the SerializationHandler object.<DD><DL>
|
| <DT><B>Returns:</B><DD>The current SerializationHandler, which may not |
| be the main result tree manager.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getSerializationHandler()"><!-- --></A><H3>
|
| getSerializationHandler</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A> <B>getSerializationHandler</B>()</PRE>
|
| <DL>
|
| <DD>Get the SerializationHandler object.<DD><DL>
|
| <DT><B>Returns:</B><DD>The current SerializationHandler, which may not |
| be the main result tree manager.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getKeyManager()"><!-- --></A><H3>
|
| getKeyManager</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/transformer/KeyManager.html">KeyManager</A> <B>getKeyManager</B>()</PRE>
|
| <DL>
|
| <DD>Get the KeyManager object.<DD><DL>
|
| <DT><B>Returns:</B><DD>A reference to the KeyManager object, which should |
| never be null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="isRecursiveAttrSet(org.apache.xalan.templates.ElemAttributeSet)"><!-- --></A><H3>
|
| isRecursiveAttrSet</H3>
|
| <PRE>
|
| public boolean <B>isRecursiveAttrSet</B>(<A HREF="../../../../org/apache/xalan/templates/ElemAttributeSet.html">ElemAttributeSet</A> attrSet)</PRE>
|
| <DL>
|
| <DD>Check to see if this is a recursive attribute definition.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>attrSet</CODE> - A non-null ElemAttributeSet reference.<DT><B>Returns:</B><DD>true if the attribute set is recursive.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushElemAttributeSet(org.apache.xalan.templates.ElemAttributeSet)"><!-- --></A><H3>
|
| pushElemAttributeSet</H3>
|
| <PRE>
|
| public void <B>pushElemAttributeSet</B>(<A HREF="../../../../org/apache/xalan/templates/ElemAttributeSet.html">ElemAttributeSet</A> attrSet)</PRE>
|
| <DL>
|
| <DD>Push an executing attribute set, so we can check for |
| recursive attribute definitions.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>attrSet</CODE> - A non-null ElemAttributeSet reference.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popElemAttributeSet()"><!-- --></A><H3>
|
| popElemAttributeSet</H3>
|
| <PRE>
|
| public void <B>popElemAttributeSet</B>()</PRE>
|
| <DL>
|
| <DD>Pop the current executing attribute set.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getCountersTable()"><!-- --></A><H3>
|
| getCountersTable</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/transformer/CountersTable.html">CountersTable</A> <B>getCountersTable</B>()</PRE>
|
| <DL>
|
| <DD>Get the table of counters, for optimized xsl:number support.<DD><DL>
|
| <DT><B>Returns:</B><DD>The CountersTable, never null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="currentTemplateRuleIsNull()"><!-- --></A><H3>
|
| currentTemplateRuleIsNull</H3>
|
| <PRE>
|
| public boolean <B>currentTemplateRuleIsNull</B>()</PRE>
|
| <DL>
|
| <DD>Tell if the current template rule is null, i.e. if we are |
| directly within an apply-templates. Used for xsl:apply-imports.<DD><DL>
|
| <DT><B>Returns:</B><DD>True if the current template rule is null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushCurrentTemplateRuleIsNull(boolean)"><!-- --></A><H3>
|
| pushCurrentTemplateRuleIsNull</H3>
|
| <PRE>
|
| public void <B>pushCurrentTemplateRuleIsNull</B>(boolean b)</PRE>
|
| <DL>
|
| <DD>Push true if the current template rule is null, false |
| otherwise.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>b</CODE> - True if the we are executing an xsl:for-each |
| (or xsl:call-template?).</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popCurrentTemplateRuleIsNull()"><!-- --></A><H3>
|
| popCurrentTemplateRuleIsNull</H3>
|
| <PRE>
|
| public void <B>popCurrentTemplateRuleIsNull</B>()</PRE>
|
| <DL>
|
| <DD>Push true if the current template rule is null, false |
| otherwise.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushCurrentFuncResult(java.lang.Object)"><!-- --></A><H3>
|
| pushCurrentFuncResult</H3>
|
| <PRE>
|
| public void <B>pushCurrentFuncResult</B>(java.lang.Object val)</PRE>
|
| <DL>
|
| <DD>Push a funcion result for the currently active EXSLT |
| <code>func:function</code>.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>val</CODE> - the result of executing an EXSLT |
| <code>func:result</code> instruction for the current |
| <code>func:function</code>.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popCurrentFuncResult()"><!-- --></A><H3>
|
| popCurrentFuncResult</H3>
|
| <PRE>
|
| public java.lang.Object <B>popCurrentFuncResult</B>()</PRE>
|
| <DL>
|
| <DD>Pops the result of the currently active EXSLT <code>func:function</code>.<DD><DL>
|
| <DT><B>Returns:</B><DD>the value of the <code>func:function</code></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="currentFuncResultSeen()"><!-- --></A><H3>
|
| currentFuncResultSeen</H3>
|
| <PRE>
|
| public boolean <B>currentFuncResultSeen</B>()</PRE>
|
| <DL>
|
| <DD>Determines whether an EXSLT <code>func:result</code> instruction has been |
| executed for the currently active EXSLT <code>func:function</code>.<DD><DL>
|
| <DT><B>Returns:</B><DD><code>true</code> if and only if a <code>func:result</code> |
| instruction has been executed</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getMsgMgr()"><!-- --></A><H3>
|
| getMsgMgr</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/transformer/MsgMgr.html">MsgMgr</A> <B>getMsgMgr</B>()</PRE>
|
| <DL>
|
| <DD>Return the message manager.<DD><DL>
|
| <DT><B>Returns:</B><DD>The message manager, never null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setErrorListener(javax.xml.transform.ErrorListener)"><!-- --></A><H3>
|
| setErrorListener</H3>
|
| <PRE>
|
| public void <B>setErrorListener</B>(<A HREF="../../../../javax/xml/transform/ErrorListener.html">ErrorListener</A> listener) |
| throws java.lang.IllegalArgumentException</PRE>
|
| <DL>
|
| <DD>Set the error event listener.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>listener</CODE> - The new error listener.<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if<DT><B>Overrides:</B><DD><A HREF="../../../../javax/xml/transform/Transformer.html#setErrorListener(javax.xml.transform.ErrorListener)">setErrorListener</A> in class <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getErrorListener()"><!-- --></A><H3>
|
| getErrorListener</H3>
|
| <PRE>
|
| public <A HREF="../../../../javax/xml/transform/ErrorListener.html">ErrorListener</A> <B>getErrorListener</B>()</PRE>
|
| <DL>
|
| <DD>Get the current error event handler.<DD><DL>
|
| <DT><B>Returns:</B><DD>The current error handler, which should never be null.<DT><B>Overrides:</B><DD><A HREF="../../../../javax/xml/transform/Transformer.html#getErrorListener()">getErrorListener</A> in class <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getTraceManager()"><!-- --></A><H3>
|
| getTraceManager</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/trace/TraceManager.html">TraceManager</A> <B>getTraceManager</B>()</PRE>
|
| <DL>
|
| <DD>Get an instance of the trace manager for this transformation. |
| This object can be used to set trace listeners on various |
| events during the transformation.<DD><DL>
|
| <DT><B>Returns:</B><DD>A reference to the TraceManager, never null.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getFeature(java.lang.String)"><!-- --></A><H3>
|
| getFeature</H3>
|
| <PRE>
|
| public boolean <B>getFeature</B>(java.lang.String name) |
| throws <A HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A>, |
| <A HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A></PRE>
|
| <DL>
|
| <DD>Look up the value of a feature. |
| |
| <p>The feature name is any fully-qualified URI. It is |
| possible for an TransformerFactory to recognize a feature name but |
| to be unable to return its value; this is especially true |
| in the case of an adapter for a SAX1 Parser, which has |
| no way of knowing whether the underlying parser is |
| validating, for example.</p> |
| |
| <h3>Open issues:</h3> |
| <dl> |
| <dt><h4>Should getFeature be changed to hasFeature?</h4></dt> |
| <dd>Keith Visco writes: Should getFeature be changed to hasFeature? |
| It returns a boolean which indicated whether the "state" |
| of feature is "true or false". I assume this means whether |
| or not a feature is supported? I know SAX is using "getFeature", |
| but to me "hasFeature" is cleaner.</dd> |
| </dl><DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - The feature name, which is a fully-qualified |
| URI.<DT><B>Returns:</B><DD>The current state of the feature (true or false).<DT><B>Throws:</B><DD><A HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A> - When the |
| TransformerFactory does not recognize the feature name.<DD><A HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A> - When the |
| TransformerFactory recognizes the feature name but |
| cannot determine its value at this time.<DD><A HREF="../../../../org/xml/sax/SAXNotRecognizedException.html">SAXNotRecognizedException</A> - <DD><A HREF="../../../../org/xml/sax/SAXNotSupportedException.html">SAXNotSupportedException</A> - </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>NEEDSDOC Method getMode |
| |
| |
| NEEDSDOC (getMode) @return<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="pushMode(org.apache.xml.utils.QName)"><!-- --></A><H3>
|
| pushMode</H3>
|
| <PRE>
|
| public void <B>pushMode</B>(<A HREF="../../../../org/apache/xml/utils/QName.html">QName</A> mode)</PRE>
|
| <DL>
|
| <DD>NEEDSDOC Method pushMode |
| |
| |
| NEEDSDOC @param mode<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="popMode()"><!-- --></A><H3>
|
| popMode</H3>
|
| <PRE>
|
| public void <B>popMode</B>()</PRE>
|
| <DL>
|
| <DD>NEEDSDOC Method popMode<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="runTransformThread(int)"><!-- --></A><H3>
|
| runTransformThread</H3>
|
| <PRE>
|
| public void <B>runTransformThread</B>(int priority)</PRE>
|
| <DL>
|
| <DD>Called by SourceTreeHandler to start the transformation |
| in a separate thread |
| |
| NEEDSDOC @param priority<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="runTransformThread()"><!-- --></A><H3>
|
| runTransformThread</H3>
|
| <PRE>
|
| public void <B>runTransformThread</B>()</PRE>
|
| <DL>
|
| <DD>Called by this.transform() if isParserEventsOnMain()==false. |
| Similar with runTransformThread(), but no priority is set |
| and setTransformThread is not set.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="runTransformThread(java.lang.Runnable)"><!-- --></A><H3>
|
| runTransformThread</H3>
|
| <PRE>
|
| public static void <B>runTransformThread</B>(java.lang.Runnable runnable)</PRE>
|
| <DL>
|
| <DD>Called by CoRoutineSAXParser. Launches the CoroutineSAXParser |
| in a thread, and prepares it to invoke the parser from that thread |
| upon request.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="waitTransformThread()"><!-- --></A><H3>
|
| waitTransformThread</H3>
|
| <PRE>
|
| public void <B>waitTransformThread</B>() |
| throws <A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A></PRE>
|
| <DL>
|
| <DD>Used by SourceTreeHandler to wait until the transform |
| completes<DD><DL>
|
| <DT><B>Throws:</B><DD><A HREF="../../../../org/xml/sax/SAXException.html">SAXException</A> - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getExceptionThrown()"><!-- --></A><H3>
|
| getExceptionThrown</H3>
|
| <PRE>
|
| public java.lang.Exception <B>getExceptionThrown</B>()</PRE>
|
| <DL>
|
| <DD>Get the exception thrown by the secondary thread (normally |
| the transform thread).<DD><DL>
|
| <DT><B>Returns:</B><DD>The thrown exception, or null if no exception was |
| thrown.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setExceptionThrown(java.lang.Exception)"><!-- --></A><H3>
|
| setExceptionThrown</H3>
|
| <PRE>
|
| public void <B>setExceptionThrown</B>(java.lang.Exception e)</PRE>
|
| <DL>
|
| <DD>Set the exception thrown by the secondary thread (normally |
| the transform thread).<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>e</CODE> - The thrown exception, or null if no exception was |
| thrown.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setSourceTreeDocForThread(int)"><!-- --></A><H3>
|
| setSourceTreeDocForThread</H3>
|
| <PRE>
|
| public void <B>setSourceTreeDocForThread</B>(int doc)</PRE>
|
| <DL>
|
| <DD>This is just a way to set the document for run().<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>doc</CODE> - A non-null reference to the root of the |
| tree to be transformed.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setXMLSource(javax.xml.transform.Source)"><!-- --></A><H3>
|
| setXMLSource</H3>
|
| <PRE>
|
| public void <B>setXMLSource</B>(<A HREF="../../../../javax/xml/transform/Source.html">Source</A> source)</PRE>
|
| <DL>
|
| <DD>Set the input source for the source tree, which is needed if the |
| parse thread is not the main thread, in order for the parse |
| thread's run method to get to the input source.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>source</CODE> - The input source for the source tree.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="isTransformDone()"><!-- --></A><H3>
|
| isTransformDone</H3>
|
| <PRE>
|
| public boolean <B>isTransformDone</B>()</PRE>
|
| <DL>
|
| <DD>Tell if the transform method is completed.<DD><DL>
|
| <DT><B>Returns:</B><DD>True if transformNode has completed, or |
| an exception was thrown.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setIsTransformDone(boolean)"><!-- --></A><H3>
|
| setIsTransformDone</H3>
|
| <PRE>
|
| public void <B>setIsTransformDone</B>(boolean done)</PRE>
|
| <DL>
|
| <DD>Set if the transform method is completed.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>done</CODE> - True if transformNode has completed, or |
| an exception was thrown.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="run()"><!-- --></A><H3>
|
| run</H3>
|
| <PRE>
|
| public void <B>run</B>()</PRE>
|
| <DL>
|
| <DD>Run the transform thread.<DD><DL>
|
| <DT><B>Specified by: </B><DD>run in interface java.lang.Runnable</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getSnapshot()"><!-- --></A><H3>
|
| getSnapshot</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/apache/xalan/transformer/TransformSnapshot.html">TransformSnapshot</A> <B>getSnapshot</B>()</PRE>
|
| <DL>
|
| <DD><B>Deprecated.</B> <I>This is an internal tooling API that nobody seems to be using</I><DD>This will get a snapshot of the current executing context<DD><DL>
|
| <DT><B>Returns:</B><DD>TransformSnapshot object, snapshot of executing context</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="executeFromSnapshot(org.apache.xalan.transformer.TransformSnapshot)"><!-- --></A><H3>
|
| executeFromSnapshot</H3>
|
| <PRE>
|
| public void <B>executeFromSnapshot</B>(<A HREF="../../../../org/apache/xalan/transformer/TransformSnapshot.html">TransformSnapshot</A> ts) |
| throws <A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A></PRE>
|
| <DL>
|
| <DD><B>Deprecated.</B> <I>This is an internal tooling API that nobody seems to be using</I><DD>This will execute the following XSLT instructions |
| from the snapshot point, after the stylesheet execution |
| context has been reset from the snapshot point.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>ts</CODE> - The snapshot of where to start execution<DT><B>Throws:</B><DD><A HREF="../../../../javax/xml/transform/TransformerException.html">TransformerException</A> - </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="resetToStylesheet(org.apache.xalan.transformer.TransformSnapshot)"><!-- --></A><H3>
|
| resetToStylesheet</H3>
|
| <PRE>
|
| public void <B>resetToStylesheet</B>(<A HREF="../../../../org/apache/xalan/transformer/TransformSnapshot.html">TransformSnapshot</A> ts)</PRE>
|
| <DL>
|
| <DD><B>Deprecated.</B> <I>This is an internal tooling API that nobody seems to be using</I><DD>This will reset the stylesheet execution context |
| from the snapshot point.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>ts</CODE> - The snapshot of where to start execution</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="stopTransformation()"><!-- --></A><H3>
|
| stopTransformation</H3>
|
| <PRE>
|
| public void <B>stopTransformation</B>()</PRE>
|
| <DL>
|
| <DD>NEEDSDOC Method stopTransformation<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getShouldStripSpace(int, org.apache.xml.dtm.DTM)"><!-- --></A><H3>
|
| getShouldStripSpace</H3>
|
| <PRE>
|
| public short <B>getShouldStripSpace</B>(int elementHandle, |
| <A HREF="../../../../org/apache/xml/dtm/DTM.html">DTM</A> dtm)</PRE>
|
| <DL>
|
| <DD>Test whether whitespace-only text nodes are visible in the logical |
| view of <code>DTM</code>. Normally, this function |
| will be called by the implementation of <code>DTM</code>; |
| it is not normally called directly from |
| user code.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xml/dtm/DTMWSFilter.html#getShouldStripSpace(int, org.apache.xml.dtm.DTM)">getShouldStripSpace</A> in interface <A HREF="../../../../org/apache/xml/dtm/DTMWSFilter.html">DTMWSFilter</A><DT><B>Parameters:</B><DD><CODE>elementHandle</CODE> - int Handle of the element.<DT><B>Returns:</B><DD>one of NOTSTRIP, STRIP, or INHERIT.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="init(org.apache.xml.serializer.ToXMLSAXHandler, javax.xml.transform.Transformer, org.xml.sax.ContentHandler)"><!-- --></A><H3>
|
| init</H3>
|
| <PRE>
|
| public void <B>init</B>(<A HREF="../../../../org/apache/xml/serializer/ToXMLSAXHandler.html">ToXMLSAXHandler</A> h, |
| <A HREF="../../../../javax/xml/transform/Transformer.html">Transformer</A> transformer, |
| <A HREF="../../../../org/xml/sax/ContentHandler.html">ContentHandler</A> realHandler)</PRE>
|
| <DL>
|
| <DD>Initializer method.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>transformer</CODE> - non-null transformer instance<DD><CODE>realHandler</CODE> - Content Handler instance</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setSerializationHandler(org.apache.xml.serializer.SerializationHandler)"><!-- --></A><H3>
|
| setSerializationHandler</H3>
|
| <PRE>
|
| public void <B>setSerializationHandler</B>(<A HREF="../../../../org/apache/xml/serializer/SerializationHandler.html">SerializationHandler</A> xoh)</PRE>
|
| <DL>
|
| <DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="fireGenerateEvent(int, char[], int, int)"><!-- --></A><H3>
|
| fireGenerateEvent</H3>
|
| <PRE>
|
| public void <B>fireGenerateEvent</B>(int eventType, |
| char[] ch, |
| int start, |
| int length)</PRE>
|
| <DL>
|
| <DD>Fire off characters, cdate events.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html#fireGenerateEvent(int, char[], int, int)">fireGenerateEvent</A> in interface <A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html">SerializerTrace</A><DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html#fireGenerateEvent(int, char[], int, int)"><CODE>SerializerTrace.fireGenerateEvent(int, char[], int, int)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="fireGenerateEvent(int, java.lang.String, org.xml.sax.Attributes)"><!-- --></A><H3>
|
| fireGenerateEvent</H3>
|
| <PRE>
|
| public void <B>fireGenerateEvent</B>(int eventType, |
| java.lang.String name, |
| <A HREF="../../../../org/xml/sax/Attributes.html">Attributes</A> atts)</PRE>
|
| <DL>
|
| <DD>Fire off startElement, endElement events.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html#fireGenerateEvent(int, java.lang.String, org.xml.sax.Attributes)">fireGenerateEvent</A> in interface <A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html">SerializerTrace</A><DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html#fireGenerateEvent(int, java.lang.String, org.xml.sax.Attributes)"><CODE>SerializerTrace.fireGenerateEvent(int, String, Attributes)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="fireGenerateEvent(int, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
| fireGenerateEvent</H3>
|
| <PRE>
|
| public void <B>fireGenerateEvent</B>(int eventType, |
| java.lang.String name, |
| java.lang.String data)</PRE>
|
| <DL>
|
| <DD>Fire off processingInstruction events.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html#fireGenerateEvent(int, java.lang.String, java.lang.String)">fireGenerateEvent</A> in interface <A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html">SerializerTrace</A><DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html#fireGenerateEvent(int, java.lang.String, java.lang.String)"><CODE>SerializerTrace.fireGenerateEvent(int, String, String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="fireGenerateEvent(int, java.lang.String)"><!-- --></A><H3>
|
| fireGenerateEvent</H3>
|
| <PRE>
|
| public void <B>fireGenerateEvent</B>(int eventType, |
| java.lang.String data)</PRE>
|
| <DL>
|
| <DD>Fire off comment and entity ref events.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html#fireGenerateEvent(int, java.lang.String)">fireGenerateEvent</A> in interface <A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html">SerializerTrace</A><DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html#fireGenerateEvent(int, java.lang.String)"><CODE>SerializerTrace.fireGenerateEvent(int, String)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="fireGenerateEvent(int)"><!-- --></A><H3>
|
| fireGenerateEvent</H3>
|
| <PRE>
|
| public void <B>fireGenerateEvent</B>(int eventType)</PRE>
|
| <DL>
|
| <DD>Fire off startDocument, endDocument events.<DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html#fireGenerateEvent(int)">fireGenerateEvent</A> in interface <A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html">SerializerTrace</A><DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html#fireGenerateEvent(int)"><CODE>SerializerTrace.fireGenerateEvent(int)</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="hasTraceListeners()"><!-- --></A><H3>
|
| hasTraceListeners</H3>
|
| <PRE>
|
| public boolean <B>hasTraceListeners</B>()</PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>Specified by: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html#hasTraceListeners()">hasTraceListeners</A> in interface <A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html">SerializerTrace</A><DT><B>See Also: </B><DD><A HREF="../../../../org/apache/xml/serializer/SerializerTrace.html#hasTraceListeners()"><CODE>SerializerTrace.hasTraceListeners()</CODE></A></DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getDebug()"><!-- --></A><H3>
|
| getDebug</H3>
|
| <PRE>
|
| public boolean <B>getDebug</B>()</PRE>
|
| <DL>
|
| <DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setDebug(boolean)"><!-- --></A><H3>
|
| setDebug</H3>
|
| <PRE>
|
| public void <B>setDebug</B>(boolean b)</PRE>
|
| <DL>
|
| <DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getIncremental()"><!-- --></A><H3>
|
| getIncremental</H3>
|
| <PRE>
|
| public boolean <B>getIncremental</B>()</PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>Returns:</B><DD>Incremental flag</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getOptimize()"><!-- --></A><H3>
|
| getOptimize</H3>
|
| <PRE>
|
| public boolean <B>getOptimize</B>()</PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>Returns:</B><DD>Optimization flag</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getSource_location()"><!-- --></A><H3>
|
| getSource_location</H3>
|
| <PRE>
|
| public boolean <B>getSource_location</B>()</PRE>
|
| <DL>
|
| <DD><DL>
|
| <DT><B>Returns:</B><DD>Source location flag</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/TransformerImpl.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/transformer/TransformerIdentityImpl.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/apache/xalan/transformer/TrAXFilter.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="TransformerImpl.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>
|