blob: 128381582ddc9a6c934970b8287b291f2f03fbe4 [file] [log] [blame]
<title>Xalan Transformer Package.</title>
<p>In charge of run-time transformations and the production of result trees.</p>
<p>{@link org.apache.xalan.transformer.TransformerImpl} implements the
{@link javax.xml.transform.Transformer} interface, and is the core representation
of the transformation execution.</p>
<p>For each node in the XML source, TransformerImpl uses the StylesheetRoot and underlying XSLT schema to determine which
template to apply: one of the templates in the StylesheetRoot, a default template rule as specified in the XSLT spec, or
<p>The Transformer works with {@link org.apache.xalan.transformer.ResultTreeHandler} to
forward the SAX events produced by the
transformation to the appropriate output ContentHandler.</p>
<p>To the degree possible, the parsing of the XML source and application of the Templates object to that source are performed
concurrently in separate threads. When necessary, the Transformer waits for the parse events that must be in place before a
given template may be applied.</p>