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
CompiledStylesheetBundle **For advanced use only** Serialize and reload routines for Compiled Stylesheets.
CompiledTemplate  
CompilingStylesheetHandler **For advanced use only** Initializes and processes a stylesheet via SAX events.
CompilingStylesheetProcessor The TransformerFactoryImpl, which implements the TRaX TransformerFactory interface, processes XSLT Stylesheets into a Templates object.
ProcessorCharacters This class processes character events for a XSLT template element.
ProcessorLRE **For internal use only** Processes an XSLT literal-result-element, or something that looks like one.
ProcessorStylesheetDoc **For internal use only** This class processes the xsl:stylesheet element.
ProcessorTemplateElem This class processes parse events for an XSLT template element.
ProcessorText Process xsl:text.
ProcessorUnknown **For internal use only** This class processes an unknown template element, and ignores the startElement and endElement events.
StylesheetHandler **For advanced use only** Initializes and processes a stylesheet via SAX events.
StylesheetPIHandler Search for the xml-stylesheet processing instructions in an XML document.
TransformerFactoryImpl The TransformerFactoryImpl, which implements the TRaX TransformerFactory interface, processes XSLT stylesheets into a Templates object (a StylesheetRoot).
XSLProcessorVersion Administrative class to keep track of the version number of the Xalan release.
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.
 

Exception Summary
StopParseException **For internal use only** This is a special exception that is used to stop parsing when search for an element.
 

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.



Copyright � 2000 Apache XML Project. All Rights Reserved.