75 int $ai; |
75 int $ai; |
76 $uri = $__uri; |
76 $uri = $__uri; |
77 $localName = $__local; |
77 $localName = $__local; |
78 $qname = $__qname; |
78 $qname = $__qname; |
79 switch($_ngcc_current_state) { |
79 switch($_ngcc_current_state) { |
|
80 case 1: |
|
81 { |
|
82 if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { |
|
83 $runtime.consumeAttribute($ai); |
|
84 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
85 } |
|
86 else { |
|
87 $_ngcc_current_state = 0; |
|
88 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
89 } |
|
90 } |
|
91 break; |
80 case 5: |
92 case 5: |
81 { |
93 { |
82 if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) { |
94 if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) { |
83 $runtime.consumeAttribute($ai); |
95 $runtime.consumeAttribute($ai); |
84 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
96 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
89 } |
101 } |
90 } |
102 } |
91 break; |
103 break; |
92 case 9: |
104 case 9: |
93 { |
105 { |
94 if((($ai = $runtime.getAttributeIndex("","processContents"))>=0 || ($ai = $runtime.getAttributeIndex("","namespace"))>=0)) { |
106 if((($ai = $runtime.getAttributeIndex("","namespace"))>=0 || ($ai = $runtime.getAttributeIndex("","processContents"))>=0)) { |
95 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 412, null); |
107 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 409, null); |
96 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
108 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
97 } |
109 } |
98 else { |
110 else { |
99 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 412, null); |
111 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 409, null); |
100 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
112 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
101 } |
113 } |
102 } |
114 } |
103 break; |
115 break; |
104 case 10: |
116 case 10: |
105 { |
117 { |
106 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { |
118 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { |
107 NGCCHandler h = new annotation(this, super._source, $runtime, 414, null,AnnotationContext.WILDCARD); |
119 NGCCHandler h = new annotation(this, super._source, $runtime, 411, null,AnnotationContext.WILDCARD); |
108 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
120 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
109 } |
121 } |
110 else { |
122 else { |
111 $_ngcc_current_state = 9; |
123 $_ngcc_current_state = 9; |
112 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
113 } |
|
114 } |
|
115 break; |
|
116 case 1: |
|
117 { |
|
118 if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { |
|
119 $runtime.consumeAttribute($ai); |
|
120 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
121 } |
|
122 else { |
|
123 $_ngcc_current_state = 0; |
|
124 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
124 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
125 } |
125 } |
126 } |
126 } |
127 break; |
127 break; |
128 case 0: |
128 case 0: |
142 int $ai; |
142 int $ai; |
143 $uri = $__uri; |
143 $uri = $__uri; |
144 $localName = $__local; |
144 $localName = $__local; |
145 $qname = $__qname; |
145 $qname = $__qname; |
146 switch($_ngcc_current_state) { |
146 switch($_ngcc_current_state) { |
|
147 case 1: |
|
148 { |
|
149 if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { |
|
150 $runtime.consumeAttribute($ai); |
|
151 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
|
152 } |
|
153 else { |
|
154 $_ngcc_current_state = 0; |
|
155 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
|
156 } |
|
157 } |
|
158 break; |
147 case 5: |
159 case 5: |
148 { |
160 { |
149 if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) { |
161 if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) { |
150 $runtime.consumeAttribute($ai); |
162 $runtime.consumeAttribute($ai); |
151 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
163 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
156 } |
168 } |
157 } |
169 } |
158 break; |
170 break; |
159 case 9: |
171 case 9: |
160 { |
172 { |
161 if((($ai = $runtime.getAttributeIndex("","processContents"))>=0 || ($ai = $runtime.getAttributeIndex("","namespace"))>=0)) { |
173 if((($ai = $runtime.getAttributeIndex("","namespace"))>=0 || ($ai = $runtime.getAttributeIndex("","processContents"))>=0)) { |
162 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 412, null); |
174 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 409, null); |
163 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
175 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
164 } |
176 } |
165 else { |
177 else { |
166 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 412, null); |
178 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 409, null); |
167 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
179 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
168 } |
180 } |
169 } |
181 } |
170 break; |
182 break; |
171 case 10: |
183 case 10: |
172 { |
184 { |
173 $_ngcc_current_state = 9; |
185 $_ngcc_current_state = 9; |
174 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
186 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
175 } |
|
176 break; |
|
177 case 1: |
|
178 { |
|
179 if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { |
|
180 $runtime.consumeAttribute($ai); |
|
181 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
|
182 } |
|
183 else { |
|
184 $_ngcc_current_state = 0; |
|
185 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
|
186 } |
|
187 } |
187 } |
188 break; |
188 break; |
189 case 0: |
189 case 0: |
190 { |
190 { |
191 revertToParentFromLeaveElement(makeResult(), super._cookie, $__uri, $__local, $__qname); |
191 revertToParentFromLeaveElement(makeResult(), super._cookie, $__uri, $__local, $__qname); |
216 } |
227 } |
217 } |
228 } |
218 break; |
229 break; |
219 case 9: |
230 case 9: |
220 { |
231 { |
221 if((($__uri.equals("") && $__local.equals("processContents")) || ($__uri.equals("") && $__local.equals("namespace")))) { |
232 if((($__uri.equals("") && $__local.equals("namespace")) || ($__uri.equals("") && $__local.equals("processContents")))) { |
222 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 412, null); |
233 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 409, null); |
223 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); |
234 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); |
224 } |
235 } |
225 else { |
236 else { |
226 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 412, null); |
237 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 409, null); |
227 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); |
238 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); |
228 } |
239 } |
229 } |
240 } |
230 break; |
241 break; |
231 case 10: |
242 case 10: |
232 { |
243 { |
233 $_ngcc_current_state = 9; |
244 $_ngcc_current_state = 9; |
234 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
245 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
235 } |
|
236 break; |
|
237 case 1: |
|
238 { |
|
239 if(($__uri.equals("") && $__local.equals("namespace"))) { |
|
240 $_ngcc_current_state = 3; |
|
241 } |
|
242 else { |
|
243 $_ngcc_current_state = 0; |
|
244 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
|
245 } |
|
246 } |
246 } |
247 break; |
247 break; |
248 case 0: |
248 case 0: |
249 { |
249 { |
250 revertToParentFromEnterAttribute(makeResult(), super._cookie, $__uri, $__local, $__qname); |
250 revertToParentFromEnterAttribute(makeResult(), super._cookie, $__uri, $__local, $__qname); |
262 int $ai; |
262 int $ai; |
263 $uri = $__uri; |
263 $uri = $__uri; |
264 $localName = $__local; |
264 $localName = $__local; |
265 $qname = $__qname; |
265 $qname = $__qname; |
266 switch($_ngcc_current_state) { |
266 switch($_ngcc_current_state) { |
|
267 case 1: |
|
268 { |
|
269 $_ngcc_current_state = 0; |
|
270 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
|
271 } |
|
272 break; |
267 case 5: |
273 case 5: |
268 { |
274 { |
269 $_ngcc_current_state = 1; |
275 $_ngcc_current_state = 1; |
270 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
276 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
271 } |
277 } |
272 break; |
278 break; |
|
279 case 6: |
|
280 { |
|
281 if(($__uri.equals("") && $__local.equals("processContents"))) { |
|
282 $_ngcc_current_state = 1; |
|
283 } |
|
284 else { |
|
285 unexpectedLeaveAttribute($__qname); |
|
286 } |
|
287 } |
|
288 break; |
273 case 9: |
289 case 9: |
274 { |
290 { |
275 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 412, null); |
291 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 409, null); |
276 spawnChildFromLeaveAttribute(h, $__uri, $__local, $__qname); |
292 spawnChildFromLeaveAttribute(h, $__uri, $__local, $__qname); |
|
293 } |
|
294 break; |
|
295 case 10: |
|
296 { |
|
297 $_ngcc_current_state = 9; |
|
298 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
|
299 } |
|
300 break; |
|
301 case 0: |
|
302 { |
|
303 revertToParentFromLeaveAttribute(makeResult(), super._cookie, $__uri, $__local, $__qname); |
277 } |
304 } |
278 break; |
305 break; |
279 case 2: |
306 case 2: |
280 { |
307 { |
281 if(($__uri.equals("") && $__local.equals("namespace"))) { |
308 if(($__uri.equals("") && $__local.equals("namespace"))) { |
282 $_ngcc_current_state = 0; |
309 $_ngcc_current_state = 0; |
283 } |
310 } |
284 else { |
311 else { |
285 unexpectedLeaveAttribute($__qname); |
312 unexpectedLeaveAttribute($__qname); |
286 } |
313 } |
287 } |
|
288 break; |
|
289 case 10: |
|
290 { |
|
291 $_ngcc_current_state = 9; |
|
292 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
|
293 } |
|
294 break; |
|
295 case 1: |
|
296 { |
|
297 $_ngcc_current_state = 0; |
|
298 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
|
299 } |
|
300 break; |
|
301 case 6: |
|
302 { |
|
303 if(($__uri.equals("") && $__local.equals("processContents"))) { |
|
304 $_ngcc_current_state = 1; |
|
305 } |
|
306 else { |
|
307 unexpectedLeaveAttribute($__qname); |
|
308 } |
|
309 } |
|
310 break; |
|
311 case 0: |
|
312 { |
|
313 revertToParentFromLeaveAttribute(makeResult(), super._cookie, $__uri, $__local, $__qname); |
|
314 } |
314 } |
315 break; |
315 break; |
316 default: |
316 default: |
317 { |
317 { |
318 unexpectedLeaveAttribute($__qname); |
318 unexpectedLeaveAttribute($__qname); |
322 } |
322 } |
323 |
323 |
324 public void text(String $value) throws SAXException { |
324 public void text(String $value) throws SAXException { |
325 int $ai; |
325 int $ai; |
326 switch($_ngcc_current_state) { |
326 switch($_ngcc_current_state) { |
|
327 case 1: |
|
328 { |
|
329 if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { |
|
330 $runtime.consumeAttribute($ai); |
|
331 $runtime.sendText(super._cookie, $value); |
|
332 } |
|
333 else { |
|
334 $_ngcc_current_state = 0; |
|
335 $runtime.sendText(super._cookie, $value); |
|
336 } |
|
337 } |
|
338 break; |
|
339 case 3: |
|
340 { |
|
341 ns = $value; |
|
342 $_ngcc_current_state = 2; |
|
343 } |
|
344 break; |
327 case 5: |
345 case 5: |
328 { |
346 { |
329 if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) { |
347 if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) { |
330 $runtime.consumeAttribute($ai); |
348 $runtime.consumeAttribute($ai); |
331 $runtime.sendText(super._cookie, $value); |
349 $runtime.sendText(super._cookie, $value); |
334 $_ngcc_current_state = 1; |
352 $_ngcc_current_state = 1; |
335 $runtime.sendText(super._cookie, $value); |
353 $runtime.sendText(super._cookie, $value); |
336 } |
354 } |
337 } |
355 } |
338 break; |
356 break; |
339 case 7: |
|
340 { |
|
341 modeValue = $value; |
|
342 $_ngcc_current_state = 6; |
|
343 } |
|
344 break; |
|
345 case 9: |
357 case 9: |
346 { |
358 { |
347 if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { |
359 if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) { |
348 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 412, null); |
360 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 409, null); |
349 spawnChildFromText(h, $value); |
361 spawnChildFromText(h, $value); |
350 } |
362 } |
351 else { |
363 else { |
352 if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) { |
364 if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { |
353 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 412, null); |
365 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 409, null); |
354 spawnChildFromText(h, $value); |
366 spawnChildFromText(h, $value); |
355 } |
367 } |
356 else { |
368 else { |
357 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 412, null); |
369 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 409, null); |
358 spawnChildFromText(h, $value); |
370 spawnChildFromText(h, $value); |
359 } |
371 } |
360 } |
372 } |
361 } |
373 } |
362 break; |
374 break; |
363 case 3: |
|
364 { |
|
365 ns = $value; |
|
366 $_ngcc_current_state = 2; |
|
367 } |
|
368 break; |
|
369 case 10: |
375 case 10: |
370 { |
376 { |
371 $_ngcc_current_state = 9; |
377 $_ngcc_current_state = 9; |
372 $runtime.sendText(super._cookie, $value); |
378 $runtime.sendText(super._cookie, $value); |
373 } |
379 } |
374 break; |
380 break; |
375 case 1: |
|
376 { |
|
377 if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { |
|
378 $runtime.consumeAttribute($ai); |
|
379 $runtime.sendText(super._cookie, $value); |
|
380 } |
|
381 else { |
|
382 $_ngcc_current_state = 0; |
|
383 $runtime.sendText(super._cookie, $value); |
|
384 } |
|
385 } |
|
386 break; |
|
387 case 0: |
381 case 0: |
388 { |
382 { |
389 revertToParentFromText(makeResult(), super._cookie, $value); |
383 revertToParentFromText(makeResult(), super._cookie, $value); |
|
384 } |
|
385 break; |
|
386 case 7: |
|
387 { |
|
388 modeValue = $value; |
|
389 $_ngcc_current_state = 6; |
390 } |
390 } |
391 break; |
391 break; |
392 } |
392 } |
393 } |
393 } |
394 |
394 |
395 public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException { |
395 public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException { |
396 switch($__cookie__) { |
396 switch($__cookie__) { |
397 case 412: |
397 case 409: |
398 { |
398 { |
399 fa = ((ForeignAttributesImpl)$__result__); |
399 fa = ((ForeignAttributesImpl)$__result__); |
400 $_ngcc_current_state = 5; |
400 $_ngcc_current_state = 5; |
401 } |
401 } |
402 break; |
402 break; |
403 case 414: |
403 case 411: |
404 { |
404 { |
405 annotation = ((AnnotationImpl)$__result__); |
405 annotation = ((AnnotationImpl)$__result__); |
406 $_ngcc_current_state = 9; |
406 $_ngcc_current_state = 9; |
407 } |
407 } |
408 break; |
408 break; |
409 } |
409 } |
410 } |
410 } |
411 |
411 |
412 public boolean accepted() { |
412 public boolean accepted() { |
413 return((($_ngcc_current_state == 0) || (($_ngcc_current_state == 1) || ($_ngcc_current_state == 5)))); |
413 return((($_ngcc_current_state == 0) || (($_ngcc_current_state == 5) || ($_ngcc_current_state == 1)))); |
414 } |
414 } |
415 |
415 |
416 |
416 |
417 private WildcardImpl makeResult() { |
417 private WildcardImpl makeResult() { |
418 if(modeValue==null) modeValue="strict"; |
418 if(modeValue==null) modeValue="strict"; |