|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xalan.transformer.TransformSnapshotImpl
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. no extensions that call setURIResolver, etc.).
Field Summary | |
private Stack |
m_attrSetStack
Stack for the purposes of flagging infinite recursion with attribute sets. |
private Stack |
m_axesIteratorStack
Stack of AxesIterators. |
private DTMIterator |
m_contextNodeList
The current context node list. |
private Stack |
m_contextNodeLists
The current context node lists stack. |
private CountersTable |
m_countersTable
The table of counters for xsl:number support. |
private IntStack |
m_currentExpressionNodes
A stack of the current sub-expression nodes. |
private NodeVector |
m_currentMatchNodes
A node vector used as a stack to track the current ElemTemplate that was matched, as well as the node that was matched. |
private Stack |
m_currentMatchTemplates
A node vector used as a stack to track the current ElemTemplate that was matched, as well as the node that was matched. |
private IntStack |
m_currentNodes
The stack of current node objects. |
private ObjectStack |
m_currentTemplateElements
A node vector used as a stack to track the current ElemTemplateElement. |
private BoolStack |
m_currentTemplateRuleIsNull
Is > 0 when we're processing a for-each. |
(package private) int |
m_eventCount
The number of events queued |
(package private) boolean |
m_nsContextPushed
Indicate whether a namespace context was pushed |
private org.xml.sax.helpers.NamespaceSupport |
m_nsSupport
Use the SAX2 helper class to track result namespaces. |
private VariableStack |
m_variableStacks
The stack of Variable stack frames. |
Constructor Summary | |
(package private) |
TransformSnapshotImpl(TransformerImpl transformer)
Constructor TransformSnapshotImpl Take a snapshot of the currently executing context. |
Method Summary | |
(package private) void |
apply(TransformerImpl transformer)
This will reset the stylesheet to a given execution context based on some previously taken snapshot where we can then start execution |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private VariableStack m_variableStacks
private IntStack m_currentNodes
private IntStack m_currentExpressionNodes
private Stack m_contextNodeLists
private DTMIterator m_contextNodeList
private Stack m_axesIteratorStack
private BoolStack m_currentTemplateRuleIsNull
private ObjectStack m_currentTemplateElements
private Stack m_currentMatchTemplates
private NodeVector m_currentMatchNodes
private CountersTable m_countersTable
ElemNumber
private Stack m_attrSetStack
boolean m_nsContextPushed
private org.xml.sax.helpers.NamespaceSupport m_nsSupport
int m_eventCount
Constructor Detail |
TransformSnapshotImpl(TransformerImpl transformer)
transformer
- Non null transformer instanceMethod Detail |
void apply(TransformerImpl transformer)
transformer
- Non null transformer instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |