org.apache.xalan.transformer |
Xalan Transformer Package.
In charge of run-time transformations and the production of result trees.
{@link org.apache.xalan.transformer.TransformerImpl} implements the
{@link javax.xml.transform.Transformer} interface, and is the core representation
of the transformation execution.
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
none.
The Transformer works with {@link org.apache.xml.serializer.SerializationHandler} to
forward the SAX-like events produced by the
transformation to the appropriate output ContentHandler.
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.
|
Java Source File Name | Type | Comment |
ClonerToResultTree.java | Class | Class used to clone a node, possibly including its children to
a result tree. |
Counter.java | Class | A class that does incremental counting for support of xsl:number. |
CountersTable.java | Class | This is a table of counters, keyed by ElemNumber objects, each
of which has a list of Counter objects. |
DecimalToRoman.java | Class | |
KeyIterator.java | Class | This class implements an optimized iterator for
"key()" patterns, matching each node to the
match attribute in one or more xsl:key declarations. |
KeyManager.java | Class | This class manages the key tables. |
KeyRefIterator.java | Class | This class filters nodes from a key iterator, according to
whether or not the use value matches the ref value. |
KeyTable.java | Class | Table of element keys, keyed by document node. |
MsgMgr.java | Class | This class will manage error messages, warning messages, and other types of
message events. |
NodeSorter.java | Class | This class can sort vectors of DOM nodes according to a select pattern. |
NodeSortKey.java | Class | Data structure for use by the NodeSorter class. |
NumeratorFormatter.java | Class | Converts enumerated numbers into strings, using the XSL conversion attributes. |
QueuedEvents.java | Class | This class acts as a base for ResultTreeHandler, and keeps
queud stack events. |
ResultNameSpace.java | Class | A representation of a result namespace. |
SerializerSwitcher.java | Class | This is a helper class that decides if Xalan needs to switch
serializers, based on the first output element. |
StackGuard.java | Class | Class to guard against recursion getting too deep. |
TransformerClient.java | Interface | A content handler can get a reference
to a TransformState by implementing
the TransformerClient interface. |
TransformerHandlerImpl.java | Class | A TransformerHandler
listens for SAX ContentHandler parse events and transforms
them to a Result. |
TransformerIdentityImpl.java | Class | This class implements an identity transformer for
javax.xml.transform.sax.SAXTransformerFactory.newTransformerHandler and
javax.xml.transform.TransformerFactory.newTransformer . |
TransformerImpl.java | Class | |
TransformSnapshot.java | Interface | This is an opaque interface that allows the transformer to return a
"snapshot" of it's current state, which can later be restored. |
TransformSnapshotImpl.java | Class | This class holds a "snapshot" of it's current transformer state,
which can later be restored.
This only saves state which can change over the course of the side-effect-free
(i.e. |
TransformState.java | Interface | This interface is meant to be used by a consumer of
SAX2 events produced by Xalan, and enables the consumer
to get information about the state of the transform. |
TrAXFilter.java | Class | |
TreeWalker2Result.java | Class | Handle a walk of a tree, but screen out attributes for
the result tree. |
XalanProperties.java | Class | XalanProperties defines the features understood by
Xalan. |
XalanTransformState.java | Class | Before the serializer merge, the TransformState interface was
implemented by ResultTreeHandler. |
XSLInfiniteLoopException.java | Class | |