Class MultiTypeNodeList

All Implemented Interfaces:
Cloneable

public class MultiTypeNodeList extends TypedSubstantial<TypedExtension> implements Cloneable
Holds the contents of one future result element, as long as it is incomplete and the tdom element can not yet be constructed. This can be (1) because the result element contains at least one xslt element, or (2) at least one calculated attribute (AttributeValueTemplate), or (3) one of its descendants does so.
Used in three roles: (1) Part of the xslt code. Here one particular instance is always the content model of one particular xslt element. This relation is realized non-invasively, but by Templates.result_subtrees.
(2) During the evaluating process of the xslt code, as an intermediate storage, which will be transformed bottom-up and finally be replaced by a result element. There it acts as a "stack frame", and is our realization of "result tree fragments".
(3) As the top-level result of an xslt application.

Some fields are only needed in role(2); this could be modelled as a sub-class.

The processing is supported by CombinedDumper and CombinedVisitor.