109 int $ai; |
109 int $ai; |
110 $uri = $__uri; |
110 $uri = $__uri; |
111 $localName = $__local; |
111 $localName = $__local; |
112 $qname = $__qname; |
112 $qname = $__qname; |
113 switch($_ngcc_current_state) { |
113 switch($_ngcc_current_state) { |
114 case 6: |
114 case 4: |
115 { |
115 { |
116 if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType")))) { |
116 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { |
117 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 665, fa); |
117 NGCCHandler h = new annotation(this, super._source, $runtime, 183, annotation,AnnotationContext.SIMPLETYPE_DECL); |
118 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
118 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
119 } |
119 } |
120 else { |
120 else { |
|
121 $_ngcc_current_state = 2; |
|
122 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
123 } |
|
124 } |
|
125 break; |
|
126 case 0: |
|
127 { |
|
128 revertToParentFromEnterElement(result, super._cookie, $__uri, $__local, $__qname, $attrs); |
|
129 } |
|
130 break; |
|
131 case 1: |
|
132 { |
|
133 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) { |
|
134 NGCCHandler h = new simpleType(this, super._source, $runtime, 179); |
|
135 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
|
136 } |
|
137 else { |
121 unexpectedEnterElement($__qname); |
138 unexpectedEnterElement($__qname); |
122 } |
139 } |
123 } |
140 } |
124 break; |
141 break; |
125 case 0: |
142 case 7: |
126 { |
143 { |
127 revertToParentFromEnterElement(result, super._cookie, $__uri, $__local, $__qname, $attrs); |
144 if(($ai = $runtime.getAttributeIndex("","memberTypes"))>=0) { |
|
145 $runtime.consumeAttribute($ai); |
|
146 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
147 } |
|
148 else { |
|
149 $_ngcc_current_state = 6; |
|
150 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
151 } |
128 } |
152 } |
129 break; |
153 break; |
130 case 12: |
154 case 12: |
131 { |
155 { |
132 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("union"))) { |
156 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("union"))) { |
137 else { |
161 else { |
138 unexpectedEnterElement($__qname); |
162 unexpectedEnterElement($__qname); |
139 } |
163 } |
140 } |
164 } |
141 break; |
165 break; |
142 case 1: |
166 case 2: |
143 { |
167 { |
144 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) { |
168 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) { |
145 NGCCHandler h = new simpleType(this, super._source, $runtime, 659); |
169 NGCCHandler h = new simpleType(this, super._source, $runtime, 180); |
146 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
|
147 } |
|
148 else { |
|
149 unexpectedEnterElement($__qname); |
|
150 } |
|
151 } |
|
152 break; |
|
153 case 7: |
|
154 { |
|
155 if(($ai = $runtime.getAttributeIndex("","memberTypes"))>=0) { |
|
156 $runtime.consumeAttribute($ai); |
|
157 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
158 } |
|
159 else { |
|
160 $_ngcc_current_state = 6; |
|
161 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
162 } |
|
163 } |
|
164 break; |
|
165 case 4: |
|
166 { |
|
167 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { |
|
168 NGCCHandler h = new annotation(this, super._source, $runtime, 663, annotation,AnnotationContext.SIMPLETYPE_DECL); |
|
169 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
|
170 } |
|
171 else { |
|
172 $_ngcc_current_state = 2; |
|
173 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
174 } |
|
175 } |
|
176 break; |
|
177 case 2: |
|
178 { |
|
179 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) { |
|
180 NGCCHandler h = new simpleType(this, super._source, $runtime, 660); |
|
181 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
170 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
182 } |
171 } |
183 else { |
172 else { |
184 $_ngcc_current_state = 1; |
173 $_ngcc_current_state = 1; |
185 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
174 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
175 } |
|
176 } |
|
177 break; |
|
178 case 6: |
|
179 { |
|
180 if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType")))) { |
|
181 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 185, fa); |
|
182 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
|
183 } |
|
184 else { |
|
185 unexpectedEnterElement($__qname); |
186 } |
186 } |
187 } |
187 } |
188 break; |
188 break; |
189 default: |
189 default: |
190 { |
190 { |
198 int $ai; |
198 int $ai; |
199 $uri = $__uri; |
199 $uri = $__uri; |
200 $localName = $__local; |
200 $localName = $__local; |
201 $qname = $__qname; |
201 $qname = $__qname; |
202 switch($_ngcc_current_state) { |
202 switch($_ngcc_current_state) { |
203 case 6: |
203 case 4: |
204 { |
204 { |
205 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("union"))) { |
205 $_ngcc_current_state = 2; |
206 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 665, fa); |
206 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
207 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
|
208 } |
|
209 else { |
|
210 unexpectedLeaveElement($__qname); |
|
211 } |
|
212 } |
207 } |
213 break; |
208 break; |
214 case 0: |
209 case 0: |
215 { |
210 { |
216 revertToParentFromLeaveElement(result, super._cookie, $__uri, $__local, $__qname); |
211 revertToParentFromLeaveElement(result, super._cookie, $__uri, $__local, $__qname); |
238 $_ngcc_current_state = 6; |
233 $_ngcc_current_state = 6; |
239 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
234 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
240 } |
235 } |
241 } |
236 } |
242 break; |
237 break; |
243 case 4: |
238 case 2: |
244 { |
239 { |
245 $_ngcc_current_state = 2; |
240 $_ngcc_current_state = 1; |
246 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
241 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
247 } |
242 } |
248 break; |
243 break; |
249 case 2: |
244 case 6: |
250 { |
245 { |
251 $_ngcc_current_state = 1; |
246 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("union"))) { |
252 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
247 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 185, fa); |
|
248 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
|
249 } |
|
250 else { |
|
251 unexpectedLeaveElement($__qname); |
|
252 } |
253 } |
253 } |
254 break; |
254 break; |
255 default: |
255 default: |
256 { |
256 { |
257 unexpectedLeaveElement($__qname); |
257 unexpectedLeaveElement($__qname); |
264 int $ai; |
264 int $ai; |
265 $uri = $__uri; |
265 $uri = $__uri; |
266 $localName = $__local; |
266 $localName = $__local; |
267 $qname = $__qname; |
267 $qname = $__qname; |
268 switch($_ngcc_current_state) { |
268 switch($_ngcc_current_state) { |
|
269 case 4: |
|
270 { |
|
271 $_ngcc_current_state = 2; |
|
272 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
|
273 } |
|
274 break; |
269 case 0: |
275 case 0: |
270 { |
276 { |
271 revertToParentFromEnterAttribute(result, super._cookie, $__uri, $__local, $__qname); |
277 revertToParentFromEnterAttribute(result, super._cookie, $__uri, $__local, $__qname); |
272 } |
278 } |
273 break; |
279 break; |
306 int $ai; |
306 int $ai; |
307 $uri = $__uri; |
307 $uri = $__uri; |
308 $localName = $__local; |
308 $localName = $__local; |
309 $qname = $__qname; |
309 $qname = $__qname; |
310 switch($_ngcc_current_state) { |
310 switch($_ngcc_current_state) { |
|
311 case 4: |
|
312 { |
|
313 $_ngcc_current_state = 2; |
|
314 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
|
315 } |
|
316 break; |
311 case 0: |
317 case 0: |
312 { |
318 { |
313 revertToParentFromLeaveAttribute(result, super._cookie, $__uri, $__local, $__qname); |
319 revertToParentFromLeaveAttribute(result, super._cookie, $__uri, $__local, $__qname); |
|
320 } |
|
321 break; |
|
322 case 7: |
|
323 { |
|
324 $_ngcc_current_state = 6; |
|
325 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
314 } |
326 } |
315 break; |
327 break; |
316 case 8: |
328 case 8: |
317 { |
329 { |
318 if(($__uri.equals("") && $__local.equals("memberTypes"))) { |
330 if(($__uri.equals("") && $__local.equals("memberTypes"))) { |
319 $_ngcc_current_state = 6; |
331 $_ngcc_current_state = 6; |
320 } |
332 } |
321 else { |
333 else { |
322 unexpectedLeaveAttribute($__qname); |
334 unexpectedLeaveAttribute($__qname); |
323 } |
335 } |
324 } |
|
325 break; |
|
326 case 7: |
|
327 { |
|
328 $_ngcc_current_state = 6; |
|
329 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
|
330 } |
|
331 break; |
|
332 case 4: |
|
333 { |
|
334 $_ngcc_current_state = 2; |
|
335 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
|
336 } |
336 } |
337 break; |
337 break; |
338 case 2: |
338 case 2: |
339 { |
339 { |
340 $_ngcc_current_state = 1; |
340 $_ngcc_current_state = 1; |
350 } |
350 } |
351 |
351 |
352 public void text(String $value) throws SAXException { |
352 public void text(String $value) throws SAXException { |
353 int $ai; |
353 int $ai; |
354 switch($_ngcc_current_state) { |
354 switch($_ngcc_current_state) { |
355 case 0: |
355 case 4: |
356 { |
356 { |
357 revertToParentFromText(result, super._cookie, $value); |
357 $_ngcc_current_state = 2; |
358 } |
358 $runtime.sendText(super._cookie, $value); |
359 break; |
359 } |
360 case 8: |
360 break; |
361 { |
361 case 9: |
362 NGCCHandler h = new qname(this, super._source, $runtime, 668); |
362 { |
|
363 NGCCHandler h = new qname(this, super._source, $runtime, 187); |
363 spawnChildFromText(h, $value); |
364 spawnChildFromText(h, $value); |
364 } |
365 } |
365 break; |
366 break; |
366 case 10: |
367 case 10: |
367 { |
368 { |
368 __text = $value; |
369 __text = $value; |
369 $_ngcc_current_state = 9; |
370 $_ngcc_current_state = 9; |
370 action3(); |
371 action3(); |
371 } |
372 } |
372 break; |
373 break; |
373 case 9: |
374 case 0: |
374 { |
375 { |
375 NGCCHandler h = new qname(this, super._source, $runtime, 667); |
376 revertToParentFromText(result, super._cookie, $value); |
376 spawnChildFromText(h, $value); |
|
377 } |
377 } |
378 break; |
378 break; |
379 case 7: |
379 case 7: |
380 { |
380 { |
381 if(($ai = $runtime.getAttributeIndex("","memberTypes"))>=0) { |
381 if(($ai = $runtime.getAttributeIndex("","memberTypes"))>=0) { |
386 $_ngcc_current_state = 6; |
386 $_ngcc_current_state = 6; |
387 $runtime.sendText(super._cookie, $value); |
387 $runtime.sendText(super._cookie, $value); |
388 } |
388 } |
389 } |
389 } |
390 break; |
390 break; |
391 case 4: |
391 case 8: |
392 { |
392 { |
393 $_ngcc_current_state = 2; |
393 NGCCHandler h = new qname(this, super._source, $runtime, 188); |
394 $runtime.sendText(super._cookie, $value); |
394 spawnChildFromText(h, $value); |
395 } |
395 } |
396 break; |
396 break; |
397 case 2: |
397 case 2: |
398 { |
398 { |
399 $_ngcc_current_state = 1; |
399 $_ngcc_current_state = 1; |
403 } |
403 } |
404 } |
404 } |
405 |
405 |
406 public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException { |
406 public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException { |
407 switch($__cookie__) { |
407 switch($__cookie__) { |
408 case 665: |
408 case 183: |
409 { |
|
410 fa = ((ForeignAttributesImpl)$__result__); |
|
411 $_ngcc_current_state = 4; |
|
412 } |
|
413 break; |
|
414 case 660: |
|
415 { |
|
416 anonymousMemberType = ((SimpleTypeImpl)$__result__); |
|
417 action1(); |
|
418 $_ngcc_current_state = 1; |
|
419 } |
|
420 break; |
|
421 case 663: |
|
422 { |
409 { |
423 annotation = ((AnnotationImpl)$__result__); |
410 annotation = ((AnnotationImpl)$__result__); |
424 $_ngcc_current_state = 2; |
411 $_ngcc_current_state = 2; |
425 } |
412 } |
426 break; |
413 break; |
427 case 668: |
414 case 187: |
428 { |
415 { |
429 memberTypeName = ((UName)$__result__); |
416 memberTypeName = ((UName)$__result__); |
430 action2(); |
417 action2(); |
431 $_ngcc_current_state = 8; |
418 $_ngcc_current_state = 8; |
432 } |
419 } |
433 break; |
420 break; |
434 case 659: |
421 case 179: |
435 { |
422 { |
436 anonymousMemberType = ((SimpleTypeImpl)$__result__); |
423 anonymousMemberType = ((SimpleTypeImpl)$__result__); |
437 action1(); |
424 action1(); |
438 $_ngcc_current_state = 1; |
425 $_ngcc_current_state = 1; |
439 } |
426 } |
440 break; |
427 break; |
441 case 667: |
428 case 188: |
442 { |
429 { |
443 memberTypeName = ((UName)$__result__); |
430 memberTypeName = ((UName)$__result__); |
444 action2(); |
431 action2(); |
445 $_ngcc_current_state = 8; |
432 $_ngcc_current_state = 8; |
446 } |
433 } |
447 break; |
434 break; |
|
435 case 185: |
|
436 { |
|
437 fa = ((ForeignAttributesImpl)$__result__); |
|
438 $_ngcc_current_state = 4; |
|
439 } |
|
440 break; |
|
441 case 180: |
|
442 { |
|
443 anonymousMemberType = ((SimpleTypeImpl)$__result__); |
|
444 action1(); |
|
445 $_ngcc_current_state = 1; |
|
446 } |
|
447 break; |
448 } |
448 } |
449 } |
449 } |
450 |
450 |
451 public boolean accepted() { |
451 public boolean accepted() { |
452 return(($_ngcc_current_state == 0)); |
452 return(($_ngcc_current_state == 0)); |