Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 16 19 package org.apache.xalan.transformer; 20 21 import java.util.Vector ; 22 23 import org.apache.xml.utils.MutableAttrListImpl; 24 25 26 31 public abstract class QueuedEvents 32 { 33 34 35 protected int m_eventCount = 0; 36 37 38 40 41 43 public boolean m_docPending = false; 44 protected boolean m_docEnded = false; 45 46 48 public boolean m_elemIsPending = false; 49 50 51 public boolean m_elemIsEnded = false; 52 53 60 protected MutableAttrListImpl m_attributes = new MutableAttrListImpl(); 61 62 66 protected boolean m_nsDeclsHaveBeenAdded = false; 67 68 71 protected String m_name; 72 73 74 protected String m_url; 75 76 77 protected String m_localName; 78 79 80 81 protected Vector m_namespaces = null; 82 83 93 97 protected void reInitEvents() 98 { 99 } 100 101 105 public void reset() 106 { 107 pushDocumentEvent(); 108 reInitEvents(); 109 } 110 111 114 void pushDocumentEvent() 115 { 116 117 m_docPending = true; 120 121 m_eventCount++; 122 } 123 124 128 void popEvent() 129 { 130 m_elemIsPending = false; 131 m_attributes.clear(); 132 133 m_nsDeclsHaveBeenAdded = false; 134 m_name = null; 135 m_url = null; 136 m_localName = null; 137 m_namespaces = null; 138 139 m_eventCount--; 140 } 141 142 143 private org.apache.xml.serializer.Serializer m_serializer; 144 145 151 void setSerializer(org.apache.xml.serializer.Serializer s) 152 { 153 m_serializer = s; 154 } 155 156 162 org.apache.xml.serializer.Serializer getSerializer() 163 { 164 return m_serializer; 165 } 166 } 167
| Popular Tags
|