1 28 29 package com.caucho.jsp; 30 31 import com.caucho.log.Log; 32 import com.caucho.util.L10N; 33 34 import java.util.logging.Logger ; 35 36 39 public class AnalyzedTag { 40 private static final Logger log = Log.open(AnalyzedTag.class); 41 static final L10N L = new L10N(AnalyzedTag.class); 42 43 private boolean _isBodyTag; 44 45 private boolean _doStart; 46 private boolean _startReturnsSkip; 47 private boolean _startReturnsInclude; 48 private boolean _startReturnsBuffered; 49 50 private boolean _doEnd; 51 private boolean _endReturnsSkip; 52 private boolean _endReturnsEval; 53 54 private boolean _doAfter; 55 private boolean _afterReturnsAgain; 56 57 private boolean _doInit; 58 59 private boolean _doCatch; 60 private boolean _doFinally; 61 62 private boolean _hasInjection; 63 64 67 public void setBodyTag(boolean isBodyTag) 68 { 69 _isBodyTag = isBodyTag; 70 } 71 72 75 public boolean isBodyTag() 76 { 77 return _isBodyTag; 78 } 79 80 83 public boolean getDoStart() 84 { 85 return _doStart; 86 } 87 88 91 public void setDoStart(boolean doStart) 92 { 93 _doStart = doStart; 94 } 95 96 99 public boolean getStartReturnsSkip() 100 { 101 return _startReturnsSkip; 102 } 103 104 107 public void setStartReturnsSkip(boolean skip) 108 { 109 _startReturnsSkip = skip; 110 } 111 112 115 public boolean getStartReturnsInclude() 116 { 117 return _startReturnsInclude; 118 } 119 120 123 public void setStartReturnsInclude(boolean include) 124 { 125 _startReturnsInclude = include; 126 } 127 128 131 public boolean getStartReturnsBuffered() 132 { 133 return _isBodyTag && _startReturnsBuffered; 134 } 135 136 139 public boolean getStartReturnsBufferedAsParent() 140 { 141 return _startReturnsBuffered; 142 } 143 144 147 public void setStartReturnsBuffered(boolean buffered) 148 { 149 _startReturnsBuffered = buffered; 150 } 151 152 155 public boolean getDoEnd() 156 { 157 return _doEnd; 158 } 159 160 163 public void setDoEnd(boolean doEnd) 164 { 165 _doEnd = doEnd; 166 } 167 168 171 public boolean getEndReturnsSkip() 172 { 173 return _endReturnsSkip; 174 } 175 176 179 public void setEndReturnsSkip(boolean skip) 180 { 181 _endReturnsSkip = skip; 182 } 183 184 187 public boolean getEndReturnsEval() 188 { 189 return _endReturnsEval; 190 } 191 192 195 public void setEndReturnsEval(boolean eval) 196 { 197 _endReturnsEval = eval; 198 } 199 200 203 public boolean getDoAfter() 204 { 205 return _doAfter; 206 } 207 208 211 public void setDoAfter(boolean doAfter) 212 { 213 _doAfter = doAfter; 214 } 215 216 219 public boolean getAfterReturnsAgain() 220 { 221 return _afterReturnsAgain; 222 } 223 224 227 public void setAfterReturnsAgain(boolean again) 228 { 229 _afterReturnsAgain = again; 230 } 231 232 235 public boolean getDoInit() 236 { 237 return _doInit; 238 } 239 240 243 public void setDoInit(boolean doInit) 244 { 245 _doInit = doInit; 246 } 247 248 251 public boolean getDoCatch() 252 { 253 return _doCatch; 254 } 255 256 259 public void setDoCatch(boolean doCatch) 260 { 261 _doCatch = doCatch; 262 } 263 264 267 public boolean getDoFinally() 268 { 269 return _doFinally; 270 } 271 272 275 public void setDoFinally(boolean doFinally) 276 { 277 _doFinally = doFinally; 278 } 279 280 283 public boolean getHasInjection() 284 { 285 return _hasInjection; 286 } 287 288 291 public void setHasInjection(boolean hasInjection) 292 { 293 _hasInjection = hasInjection; 294 } 295 } 296 | Popular Tags |