|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xalan.transformer.QueuedEvents
This class acts as a base for ResultTreeHandler, and keeps queud stack events. In truth, we don't need a stack, so I may change this down the line a bit.
Field Summary | |
protected MutableAttrListImpl |
m_attributes
The pending attributes. |
protected boolean |
m_docEnded
|
boolean |
m_docPending
Queued start element |
boolean |
m_elemIsEnded
Flag indicating that an event is ended |
boolean |
m_elemIsPending
Flag indicating that an event is pending. |
protected int |
m_eventCount
The number of events queued |
protected String |
m_localName
Local part of qualified name of the element |
protected String |
m_name
The pending element, namespace, and local name. |
protected Vector |
m_namespaces
Vector of namespaces for this element |
protected boolean |
m_nsDeclsHaveBeenAdded
Flag to try and get the xmlns decls to the attribute list before other attributes are added. |
private Serializer |
m_serializer
Instance of a serializer |
protected String |
m_url
Namespace URL of the element |
Constructor Summary | |
QueuedEvents()
|
Method Summary | |
(package private) Serializer |
getSerializer()
This is only for use of object pooling, so the that it can be reset. |
(package private) void |
popEvent()
Pop element event |
(package private) void |
pushDocumentEvent()
Push the document event. |
protected void |
reInitEvents()
To re-initialize the document and element events |
void |
reset()
Push document event and re-initialize events |
(package private) void |
setSerializer(Serializer s)
This is only for use of object pooling, so that it can be reset. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int m_eventCount
public boolean m_docPending
protected boolean m_docEnded
public boolean m_elemIsPending
public boolean m_elemIsEnded
protected MutableAttrListImpl m_attributes
protected boolean m_nsDeclsHaveBeenAdded
protected String m_name
protected String m_url
protected String m_localName
protected Vector m_namespaces
private Serializer m_serializer
Constructor Detail |
public QueuedEvents()
Method Detail |
protected void reInitEvents()
public void reset()
void pushDocumentEvent()
void popEvent()
void setSerializer(Serializer s)
s
- non-null instance of a serializerSerializer getSerializer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |