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
CompiledTemplate  
CompilingStylesheetHandler **For advanced use only** Initializes and processes a stylesheet via SAX events.
CompilingStylesheetProcessor The StylesheetProcessor, which implements the TRaX Processor interface, processes XSLT Stylesheets into a Templates object.
ProcessorCharacters This class processes character events for a XSLT template element.
ProcessorLRE  
ProcessorStylesheetDoc  
ProcessorTemplateElem This class processes parse events for an XSLT template element.
ProcessorText Process xsl:text.
ProcessorUnknown  
StylesheetHandler **For advanced use only** Initializes and processes a stylesheet via SAX events.
StylesheetPIHandler Handle the xml-stylesheet processing instruction.
StylesheetProcessor The StylesheetProcessor, which implements the TRaX Processor interface, processes XSLT stylesheets into a Templates object (a StylesheetRoot).
TemplateElementFactory  
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.
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  
 

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 Processor interface. It registers a StylesheetHandler (a TrAX TemplatesBuilder) as the SAX ContentHandler for an XMLReader, and uses the XMLReader to parse the stylesheet document.

Before parsing the XSLT input, StylesheetHandler assembles an XSLT schema (see 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.

Version:
xalan-j_2_0_D01, September 6, 2000
Author:
Scott Boag



Copyright © 2000 Apache XML Project. All Rights Reserved.