|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xalan.templates.StylesheetRoot.ComposeState
class StylesheetRoot.ComposeState
Class to track state global state during the compose() operation.
Field Summary | |
---|---|
private ExpandedNameTable |
m_ent
|
(package private) IntStack |
m_marks
|
private int |
m_maxStackFrameSize
|
private java.util.Vector |
m_variableNames
A Vector of the current params and QNames within the current template. |
Constructor Summary | |
---|---|
StylesheetRoot.ComposeState()
|
Method Summary | |
---|---|
(package private) int |
addVariableName(QName qname)
Add the name of a qualified name within the template. |
(package private) int |
getCurrentStackFrameSize()
Get the current size of the stack frame. |
(package private) int |
getFrameSize()
|
(package private) int |
getGlobalsSize()
|
int |
getQNameID(QName qname)
Given a qualified name, return an integer ID that can be quickly compared. |
(package private) java.util.Vector |
getVariableNames()
Get the Vector of the current params and QNames to be collected within the current template. |
(package private) void |
popStackMark()
|
(package private) void |
pushStackMark()
|
(package private) void |
resetStackFrameSize()
|
(package private) void |
setCurrentStackFrameSize(int sz)
Set the current size of the stack frame. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private ExpandedNameTable m_ent
private java.util.Vector m_variableNames
IntStack m_marks
private int m_maxStackFrameSize
Constructor Detail |
---|
StylesheetRoot.ComposeState()
Method Detail |
---|
public int getQNameID(QName qname)
qname
- a qualified name object, must not be null.
int addVariableName(QName qname)
qname
- A qualified name of a param or variable, should be non-null.
void resetStackFrameSize()
int getFrameSize()
int getCurrentStackFrameSize()
void setCurrentStackFrameSize(int sz)
int getGlobalsSize()
void pushStackMark()
void popStackMark()
java.util.Vector getVariableNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |