blob: 13f2493ed68dd150b74d01fab4b6b9121001aea2 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_18) on Sun Apr 01 21:18:47 PDT 2012 -->
<TITLE>
org.apache.xalan.processor
</TITLE>
<META NAME="keywords" CONTENT="org.apache.xalan.processor package">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="org.apache.xalan.processor";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/xalan/lib/sql/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/xalan/res/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/xalan/processor/package-summary.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<H2>
Package org.apache.xalan.processor
</H2>
Parses an XSLT stylesheet document (which may include and import other stylesheet documents) and produces a StylesheetRoot
(a TRaX Templates object).
<P>
<B>See:</B>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="#package_description"><B>Description</B></A>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorAttributeSet.html" title="class in org.apache.xalan.processor">ProcessorAttributeSet</A></B></TD>
<TD>This class processes parse events for an xsl:attribute-set.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorCharacters.html" title="class in org.apache.xalan.processor">ProcessorCharacters</A></B></TD>
<TD>This class processes character events for a XSLT template element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorDecimalFormat.html" title="class in org.apache.xalan.processor">ProcessorDecimalFormat</A></B></TD>
<TD>Process xsl:decimal-format by creating a DecimalFormatProperties
object and passing it to the stylesheet.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorExsltFuncResult.html" title="class in org.apache.xalan.processor">ProcessorExsltFuncResult</A></B></TD>
<TD>This class processes parse events for an exslt func:result element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorExsltFunction.html" title="class in org.apache.xalan.processor">ProcessorExsltFunction</A></B></TD>
<TD>This class processes parse events for an exslt func:function element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorGlobalParamDecl.html" title="class in org.apache.xalan.processor">ProcessorGlobalParamDecl</A></B></TD>
<TD>This class processes parse events for an xsl:param element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorGlobalVariableDecl.html" title="class in org.apache.xalan.processor">ProcessorGlobalVariableDecl</A></B></TD>
<TD>This class processes parse events for an xsl:variable element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorImport.html" title="class in org.apache.xalan.processor">ProcessorImport</A></B></TD>
<TD>This class processes parse events for an xsl:import element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorInclude.html" title="class in org.apache.xalan.processor">ProcessorInclude</A></B></TD>
<TD>TransformerFactory class for xsl:include markup.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorKey.html" title="class in org.apache.xalan.processor">ProcessorKey</A></B></TD>
<TD>TransformerFactory for xsl:key markup.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorLRE.html" title="class in org.apache.xalan.processor">ProcessorLRE</A></B></TD>
<TD>Processes an XSLT literal-result-element, or something that looks
like one.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorNamespaceAlias.html" title="class in org.apache.xalan.processor">ProcessorNamespaceAlias</A></B></TD>
<TD>TransformerFactory for xsl:namespace-alias markup.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorOutputElem.html" title="class in org.apache.xalan.processor">ProcessorOutputElem</A></B></TD>
<TD>TransformerFactory for xsl:output markup.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorPreserveSpace.html" title="class in org.apache.xalan.processor">ProcessorPreserveSpace</A></B></TD>
<TD>TransformerFactory for xsl:preserve-space markup.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorStripSpace.html" title="class in org.apache.xalan.processor">ProcessorStripSpace</A></B></TD>
<TD>TransformerFactory for xsl:strip-space markup.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorStylesheetDoc.html" title="class in org.apache.xalan.processor">ProcessorStylesheetDoc</A></B></TD>
<TD>This class processes the xsl:stylesheet element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorStylesheetElement.html" title="class in org.apache.xalan.processor">ProcessorStylesheetElement</A></B></TD>
<TD>TransformerFactory for xsl:stylesheet or xsl:transform markup.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorTemplate.html" title="class in org.apache.xalan.processor">ProcessorTemplate</A></B></TD>
<TD>TransformerFactory for xsl:template markup.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorTemplateElem.html" title="class in org.apache.xalan.processor">ProcessorTemplateElem</A></B></TD>
<TD>This class processes parse events for an XSLT template element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorText.html" title="class in org.apache.xalan.processor">ProcessorText</A></B></TD>
<TD>Process xsl:text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/ProcessorUnknown.html" title="class in org.apache.xalan.processor">ProcessorUnknown</A></B></TD>
<TD>This class processes an unknown template element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/StylesheetHandler.html" title="class in org.apache.xalan.processor">StylesheetHandler</A></B></TD>
<TD>Initializes and processes a stylesheet via SAX events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/TransformerFactoryImpl.html" title="class in org.apache.xalan.processor">TransformerFactoryImpl</A></B></TD>
<TD>The TransformerFactoryImpl, which implements the TRaX TransformerFactory
interface, processes XSLT stylesheets into a Templates object
(a StylesheetRoot).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/WhitespaceInfoPaths.html" title="class in org.apache.xalan.processor">WhitespaceInfoPaths</A></B></TD>
<TD>&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/XSLTAttributeDef.html" title="class in org.apache.xalan.processor">XSLTAttributeDef</A></B></TD>
<TD>This class defines an attribute for an element in a XSLT stylesheet,
is meant to reflect the structure defined in http://www.w3.org/TR/xslt#dtd, and the
mapping between Xalan classes and the markup attributes in the element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/XSLTElementDef.html" title="class in org.apache.xalan.processor">XSLTElementDef</A></B></TD>
<TD>This class defines the allowed structure for an element in a XSLT stylesheet,
is meant to reflect the structure defined in http://www.w3.org/TR/xslt#dtd, and the
mapping between Xalan classes and the markup elements in the XSLT instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/XSLTElementProcessor.html" title="class in org.apache.xalan.processor">XSLTElementProcessor</A></B></TD>
<TD>This class acts as the superclass for all stylesheet element
processors, and deals with things that are common to all elements.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../../org/apache/xalan/processor/XSLTSchema.html" title="class in org.apache.xalan.processor">XSLTSchema</A></B></TD>
<TD>This class defines the allowed structure for a stylesheet, and the
mapping between Xalan classes and the markup elements in the stylesheet.</TD>
</TR>
</TABLE>
&nbsp;
<P>
<A NAME="package_description"><!-- --></A><H2>
Package org.apache.xalan.processor Description
</H2>
<P>
<p>Parses an XSLT stylesheet document (which may include and import other stylesheet documents) and produces a StylesheetRoot
(a TRaX Templates object).</p>
<p>StylesheetProcessor implements the TRaX <CODE>TransformerFactory</CODE> interface,
as well as the <CODE>SAXTransformerFactory</CODE> interface.
It registers the <A HREF="../../../../org/apache/xalan/processor/StylesheetHandler.html" title="class in org.apache.xalan.processor"><CODE>StylesheetHandler</CODE></A> object
(a TrAX <CODE>TemplatesHandler</CODE> implementation)
as the SAX ContentHandler for an XMLReader, and uses the XMLReader to parse
the stylesheet document.</p>
<p>Before parsing the XSLT input, StylesheetHandler assembles an <A HREF="../../../../org/apache/xalan/processor/XSLTSchema.html" title="class in org.apache.xalan.processor"><CODE>XSLTSchema</CODE></A>,
which uses <A HREF="../../../../org/apache/xalan/processor/XSLTElementDef.html" title="class in org.apache.xalan.processor"><CODE>XSLTElementDef</CODE></A>
and <A HREF="../../../../org/apache/xalan/processor/XSLTAttributeDef.html" title="class in org.apache.xalan.processor"><CODE>XSLTAttributeDef</CODE></A> objects to
recursively define the elements and attributes that an XSLT stylesheet may
contain. The StylesheetHandler then passes on each parse event to the
<A HREF="../../../../org/apache/xalan/processor/XSLTElementProcessor.html" title="class in org.apache.xalan.processor"><CODE>XSLTElementProcessor</CODE></A> which the
XSLTElementDef assigned to the element associated with that event.</p>
<P>
<P>
<DL>
</DL>
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/xalan/lib/sql/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/xalan/res/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/xalan/processor/package-summary.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>