Package org.apache.xalan.processor

Parses an XSLT stylesheet document (which may include and import other stylesheet documents) and produces a StylesheetRoot (a TRaX Templates object).

See:
          Description

Class Summary
ProcessorAttributeSet This class processes parse events for an xsl:attribute-set.
ProcessorCharacters This class processes character events for a XSLT template element.
ProcessorDecimalFormat Process xsl:decimal-format by creating a DecimalFormatProperties object and passing it to the stylesheet.
ProcessorExsltFuncResult This class processes parse events for an exslt func:result element.
ProcessorExsltFunction This class processes parse events for an exslt func:function element.
ProcessorGlobalParamDecl This class processes parse events for an xsl:param element.
ProcessorGlobalVariableDecl This class processes parse events for an xsl:variable element.
ProcessorImport This class processes parse events for an xsl:import element.
ProcessorInclude TransformerFactory class for xsl:include markup.
ProcessorKey TransformerFactory for xsl:key markup.
ProcessorLRE Processes an XSLT literal-result-element, or something that looks like one.
ProcessorNamespaceAlias TransformerFactory for xsl:namespace-alias markup.
ProcessorOutputElem TransformerFactory for xsl:output markup.
ProcessorPreserveSpace TransformerFactory for xsl:preserve-space markup.
ProcessorStripSpace TransformerFactory for xsl:strip-space markup.
ProcessorStylesheetDoc This class processes the xsl:stylesheet element.
ProcessorStylesheetElement TransformerFactory for xsl:stylesheet or xsl:transform markup.
ProcessorTemplate TransformerFactory for xsl:template markup.
ProcessorTemplateElem This class processes parse events for an XSLT template element.
ProcessorText Process xsl:text.
ProcessorUnknown This class processes an unknown template element.
StylesheetHandler Initializes and processes a stylesheet via SAX events.
TransformerFactoryImpl The TransformerFactoryImpl, which implements the TRaX TransformerFactory interface, processes XSLT stylesheets into a Templates object (a StylesheetRoot).
WhitespaceInfoPaths  
XSLTAttributeDef 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.
XSLTElementDef 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.
XSLTElementProcessor This class acts as the superclass for all stylesheet element processors, and deals with things that are common to all elements.
XSLTSchema This class defines the allowed structure for a stylesheet, and the mapping between Xalan classes and the markup elements in the stylesheet.
 

Package org.apache.xalan.processor Description

Parses an XSLT stylesheet document (which may include and import other stylesheet documents) and produces a StylesheetRoot (a TRaX Templates object).

StylesheetProcessor implements the TRaX TransformerFactory interface, as well as the SAXTransformerFactory interface. It registers the StylesheetHandler object (a TrAX TemplatesHandler implementation) as the SAX ContentHandler for an XMLReader, and uses the XMLReader to parse the stylesheet document.

Before parsing the XSLT input, StylesheetHandler assembles an XSLTSchema, which uses XSLTElementDef and XSLTAttributeDef objects to recursively define the elements and attributes that an XSLT stylesheet may contain. The StylesheetHandler then passes on each parse event to the XSLTElementProcessor which the XSLTElementDef assigned to the element associated with that event.