|
1 /* |
|
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
4 * |
|
5 * This code is free software; you can redistribute it and/or modify it |
|
6 * under the terms of the GNU General Public License version 2 only, as |
|
7 * published by the Free Software Foundation. Oracle designates this |
|
8 * particular file as subject to the "Classpath" exception as provided |
|
9 * by Oracle in the LICENSE file that accompanied this code. |
|
10 * |
|
11 * This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 * version 2 for more details (a copy is included in the LICENSE file that |
|
15 * accompanied this code). |
|
16 * |
|
17 * You should have received a copy of the GNU General Public License version |
|
18 * 2 along with this work; if not, write to the Free Software Foundation, |
|
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 * |
|
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
22 * or visit www.oracle.com if you need additional information or have any |
|
23 * questions. |
|
24 */ |
|
25 |
|
26 /* this file is generated by RelaxNGCC */ |
|
27 package com.sun.xml.internal.xsom.impl.parser.state; |
|
28 import org.xml.sax.SAXException; |
|
29 import org.xml.sax.XMLReader; |
|
30 import org.xml.sax.Attributes; |
|
31 import com.sun.xml.internal.xsom.impl.parser.NGCCRuntimeEx; |
|
32 |
|
33 import com.sun.xml.internal.xsom.*; |
|
34 import com.sun.xml.internal.xsom.parser.*; |
|
35 import com.sun.xml.internal.xsom.impl.*; |
|
36 import com.sun.xml.internal.xsom.impl.parser.*; |
|
37 import org.xml.sax.Locator; |
|
38 import org.xml.sax.ContentHandler; |
|
39 import org.xml.sax.helpers.*; |
|
40 import java.util.*; |
|
41 import java.math.BigInteger; |
|
42 |
|
43 |
|
44 |
|
45 class particle extends NGCCHandler { |
|
46 private AnnotationImpl annotation; |
|
47 private ElementDecl anonymousElementDecl; |
|
48 private WildcardImpl wcBody; |
|
49 private ModelGroupImpl term; |
|
50 private UName elementTypeName; |
|
51 private occurs occurs; |
|
52 private UName groupName; |
|
53 protected final NGCCRuntimeEx $runtime; |
|
54 private int $_ngcc_current_state; |
|
55 protected String $uri; |
|
56 protected String $localName; |
|
57 protected String $qname; |
|
58 |
|
59 public final NGCCRuntime getRuntime() { |
|
60 return($runtime); |
|
61 } |
|
62 |
|
63 public particle(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie) { |
|
64 super(source, parent, cookie); |
|
65 $runtime = runtime; |
|
66 $_ngcc_current_state = 1; |
|
67 } |
|
68 |
|
69 public particle(NGCCRuntimeEx runtime) { |
|
70 this(null, runtime, runtime, -1); |
|
71 } |
|
72 |
|
73 private void action0()throws SAXException { |
|
74 |
|
75 result = new ParticleImpl( $runtime.document, null, wcBody, wloc, occurs.max, occurs.min ); |
|
76 |
|
77 } |
|
78 |
|
79 private void action1()throws SAXException { |
|
80 wloc = $runtime.copyLocator(); |
|
81 } |
|
82 |
|
83 private void action2()throws SAXException { |
|
84 |
|
85 result = new ParticleImpl( $runtime.document, null, |
|
86 anonymousElementDecl, |
|
87 loc, occurs.max, occurs.min ); |
|
88 |
|
89 } |
|
90 |
|
91 private void action3()throws SAXException { |
|
92 |
|
93 result = new ParticleImpl( $runtime.document, annotation, new DelayedRef.Element( |
|
94 $runtime, loc, $runtime.currentSchema, elementTypeName ), |
|
95 loc, occurs.max, occurs.min ); |
|
96 |
|
97 } |
|
98 |
|
99 private void action4()throws SAXException { |
|
100 loc = $runtime.copyLocator(); |
|
101 } |
|
102 |
|
103 private void action5()throws SAXException { |
|
104 |
|
105 result = new ParticleImpl( $runtime.document, annotation, new DelayedRef.ModelGroup( |
|
106 $runtime, loc, $runtime.currentSchema, groupName ), |
|
107 loc, occurs.max, occurs.min ); |
|
108 |
|
109 } |
|
110 |
|
111 private void action6()throws SAXException { |
|
112 loc = $runtime.copyLocator(); |
|
113 } |
|
114 |
|
115 private void action7()throws SAXException { |
|
116 |
|
117 result = new ParticleImpl( $runtime.document, null, term, loc, occurs.max, occurs.min ); |
|
118 |
|
119 } |
|
120 |
|
121 private void action8()throws SAXException { |
|
122 |
|
123 compositorName = $localName; |
|
124 loc = $runtime.copyLocator(); |
|
125 |
|
126 } |
|
127 |
|
128 public void enterElement(String $__uri, String $__local, String $__qname, Attributes $attrs) throws SAXException { |
|
129 int $ai; |
|
130 $uri = $__uri; |
|
131 $localName = $__local; |
|
132 $qname = $__qname; |
|
133 switch($_ngcc_current_state) { |
|
134 case 29: |
|
135 { |
|
136 if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any")) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("all")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("choice"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("sequence")))))))) { |
|
137 NGCCHandler h = new modelGroupBody(this, super._source, $runtime, 136, loc,compositorName); |
|
138 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
|
139 } |
|
140 else { |
|
141 unexpectedEnterElement($__qname); |
|
142 } |
|
143 } |
|
144 break; |
|
145 case 4: |
|
146 { |
|
147 if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || ((($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) || ((($ai = $runtime.getAttributeIndex("","minOccurs"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) || ((($ai = $runtime.getAttributeIndex("","namespace"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) || (($ai = $runtime.getAttributeIndex("","processContents"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))))))) { |
|
148 NGCCHandler h = new occurs(this, super._source, $runtime, 107); |
|
149 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
|
150 } |
|
151 else { |
|
152 unexpectedEnterElement($__qname); |
|
153 } |
|
154 } |
|
155 break; |
|
156 case 26: |
|
157 { |
|
158 if(((($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) || ((($ai = $runtime.getAttributeIndex("","ref"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) || (($ai = $runtime.getAttributeIndex("","minOccurs"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))))) { |
|
159 NGCCHandler h = new occurs(this, super._source, $runtime, 132); |
|
160 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
|
161 } |
|
162 else { |
|
163 unexpectedEnterElement($__qname); |
|
164 } |
|
165 } |
|
166 break; |
|
167 case 1: |
|
168 { |
|
169 if(((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("all")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("choice"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("sequence")))) { |
|
170 $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); |
|
171 action8(); |
|
172 $_ngcc_current_state = 30; |
|
173 } |
|
174 else { |
|
175 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) { |
|
176 $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); |
|
177 action6(); |
|
178 $_ngcc_current_state = 26; |
|
179 } |
|
180 else { |
|
181 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) { |
|
182 $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); |
|
183 action4(); |
|
184 $_ngcc_current_state = 16; |
|
185 } |
|
186 else { |
|
187 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))) { |
|
188 $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); |
|
189 action1(); |
|
190 $_ngcc_current_state = 4; |
|
191 } |
|
192 else { |
|
193 unexpectedEnterElement($__qname); |
|
194 } |
|
195 } |
|
196 } |
|
197 } |
|
198 } |
|
199 break; |
|
200 case 0: |
|
201 { |
|
202 revertToParentFromEnterElement(result, super._cookie, $__uri, $__local, $__qname, $attrs); |
|
203 } |
|
204 break; |
|
205 case 20: |
|
206 { |
|
207 action5(); |
|
208 $_ngcc_current_state = 19; |
|
209 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
210 } |
|
211 break; |
|
212 case 8: |
|
213 { |
|
214 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { |
|
215 $runtime.consumeAttribute($ai); |
|
216 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
217 } |
|
218 else { |
|
219 if((($ai = $runtime.getAttributeIndex("","default"))>=0 || (($ai = $runtime.getAttributeIndex("","fixed"))>=0 || (($ai = $runtime.getAttributeIndex("","form"))>=0 || (($ai = $runtime.getAttributeIndex("","final"))>=0 || (($ai = $runtime.getAttributeIndex("","block"))>=0 || (($ai = $runtime.getAttributeIndex("","name"))>=0 || ($ai = $runtime.getAttributeIndex("","abstract"))>=0))))))) { |
|
220 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); |
|
221 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
|
222 } |
|
223 else { |
|
224 unexpectedEnterElement($__qname); |
|
225 } |
|
226 } |
|
227 } |
|
228 break; |
|
229 case 11: |
|
230 { |
|
231 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { |
|
232 NGCCHandler h = new annotation(this, super._source, $runtime, 115, null,AnnotationContext.PARTICLE); |
|
233 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
|
234 } |
|
235 else { |
|
236 $_ngcc_current_state = 10; |
|
237 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
238 } |
|
239 } |
|
240 break; |
|
241 case 25: |
|
242 { |
|
243 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { |
|
244 $runtime.consumeAttribute($ai); |
|
245 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
246 } |
|
247 else { |
|
248 unexpectedEnterElement($__qname); |
|
249 } |
|
250 } |
|
251 break; |
|
252 case 10: |
|
253 { |
|
254 action3(); |
|
255 $_ngcc_current_state = 7; |
|
256 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
257 } |
|
258 break; |
|
259 case 3: |
|
260 { |
|
261 if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || (($ai = $runtime.getAttributeIndex("","namespace"))>=0 || ($ai = $runtime.getAttributeIndex("","processContents"))>=0))) { |
|
262 NGCCHandler h = new wildcardBody(this, super._source, $runtime, 106, wloc); |
|
263 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
|
264 } |
|
265 else { |
|
266 unexpectedEnterElement($__qname); |
|
267 } |
|
268 } |
|
269 break; |
|
270 case 16: |
|
271 { |
|
272 if(((($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0 && (((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("key")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("keyref"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("unique")))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))) || ((($ai = $runtime.getAttributeIndex("","default"))>=0 && (((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("key")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("keyref"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("unique")))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))) || ((($ai = $runtime.getAttributeIndex("","fixed"))>=0 && (((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("key")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("keyref"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("unique")))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))) || ((($ai = $runtime.getAttributeIndex("","form"))>=0 && (((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("key")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("keyref"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("unique")))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))) || ((($ai = $runtime.getAttributeIndex("","final"))>=0 && (((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("key")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("keyref"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("unique")))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))) || ((($ai = $runtime.getAttributeIndex("","block"))>=0 && (((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("key")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("keyref"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("unique")))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))) || ((($ai = $runtime.getAttributeIndex("","ref"))>=0 && (((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("key")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("keyref"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("unique")))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))) || ((($ai = $runtime.getAttributeIndex("","minOccurs"))>=0 && (((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("key")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("keyref"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("unique")))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))) || ((($ai = $runtime.getAttributeIndex("","name"))>=0 && (((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("key")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("keyref"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("unique")))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))) || (($ai = $runtime.getAttributeIndex("","abstract"))>=0 && (((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("key")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("keyref"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("unique")))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))))))))))))) { |
|
273 NGCCHandler h = new occurs(this, super._source, $runtime, 121); |
|
274 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
|
275 } |
|
276 else { |
|
277 unexpectedEnterElement($__qname); |
|
278 } |
|
279 } |
|
280 break; |
|
281 case 21: |
|
282 { |
|
283 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { |
|
284 NGCCHandler h = new annotation(this, super._source, $runtime, 127, null,AnnotationContext.PARTICLE); |
|
285 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
|
286 } |
|
287 else { |
|
288 $_ngcc_current_state = 20; |
|
289 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
|
290 } |
|
291 } |
|
292 break; |
|
293 case 30: |
|
294 { |
|
295 if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || ((($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0 && ((((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any")) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("all")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("choice"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("sequence")))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group")) || ((($ai = $runtime.getAttributeIndex("","minOccurs"))>=0 && ((((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any")) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("all")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("choice"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("sequence")))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any")) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("all")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("choice"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("sequence")))))))))) { |
|
296 NGCCHandler h = new occurs(this, super._source, $runtime, 137); |
|
297 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
|
298 } |
|
299 else { |
|
300 unexpectedEnterElement($__qname); |
|
301 } |
|
302 } |
|
303 break; |
|
304 default: |
|
305 { |
|
306 unexpectedEnterElement($__qname); |
|
307 } |
|
308 break; |
|
309 } |
|
310 } |
|
311 |
|
312 public void leaveElement(String $__uri, String $__local, String $__qname) throws SAXException { |
|
313 int $ai; |
|
314 $uri = $__uri; |
|
315 $localName = $__local; |
|
316 $qname = $__qname; |
|
317 switch($_ngcc_current_state) { |
|
318 case 29: |
|
319 { |
|
320 if(((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("all")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("choice"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("sequence")))) { |
|
321 NGCCHandler h = new modelGroupBody(this, super._source, $runtime, 136, loc,compositorName); |
|
322 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
|
323 } |
|
324 else { |
|
325 unexpectedLeaveElement($__qname); |
|
326 } |
|
327 } |
|
328 break; |
|
329 case 4: |
|
330 { |
|
331 if(((($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))) || ((($ai = $runtime.getAttributeIndex("","minOccurs"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))) || ((($ai = $runtime.getAttributeIndex("","namespace"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))) || ((($ai = $runtime.getAttributeIndex("","processContents"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))))))) { |
|
332 NGCCHandler h = new occurs(this, super._source, $runtime, 107); |
|
333 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
|
334 } |
|
335 else { |
|
336 unexpectedLeaveElement($__qname); |
|
337 } |
|
338 } |
|
339 break; |
|
340 case 26: |
|
341 { |
|
342 if(((($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) || ((($ai = $runtime.getAttributeIndex("","ref"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) || (($ai = $runtime.getAttributeIndex("","minOccurs"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group")))))) { |
|
343 NGCCHandler h = new occurs(this, super._source, $runtime, 132); |
|
344 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
|
345 } |
|
346 else { |
|
347 unexpectedLeaveElement($__qname); |
|
348 } |
|
349 } |
|
350 break; |
|
351 case 2: |
|
352 { |
|
353 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))) { |
|
354 $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); |
|
355 $_ngcc_current_state = 0; |
|
356 } |
|
357 else { |
|
358 unexpectedLeaveElement($__qname); |
|
359 } |
|
360 } |
|
361 break; |
|
362 case 0: |
|
363 { |
|
364 revertToParentFromLeaveElement(result, super._cookie, $__uri, $__local, $__qname); |
|
365 } |
|
366 break; |
|
367 case 8: |
|
368 { |
|
369 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { |
|
370 $runtime.consumeAttribute($ai); |
|
371 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
|
372 } |
|
373 else { |
|
374 if(((($ai = $runtime.getAttributeIndex("","default"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","fixed"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","form"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","final"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","block"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","name"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || (($ai = $runtime.getAttributeIndex("","abstract"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element")))))))))) { |
|
375 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); |
|
376 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
|
377 } |
|
378 else { |
|
379 unexpectedLeaveElement($__qname); |
|
380 } |
|
381 } |
|
382 } |
|
383 break; |
|
384 case 20: |
|
385 { |
|
386 action5(); |
|
387 $_ngcc_current_state = 19; |
|
388 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
|
389 } |
|
390 break; |
|
391 case 11: |
|
392 { |
|
393 $_ngcc_current_state = 10; |
|
394 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
|
395 } |
|
396 break; |
|
397 case 25: |
|
398 { |
|
399 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { |
|
400 $runtime.consumeAttribute($ai); |
|
401 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
|
402 } |
|
403 else { |
|
404 unexpectedLeaveElement($__qname); |
|
405 } |
|
406 } |
|
407 break; |
|
408 case 19: |
|
409 { |
|
410 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) { |
|
411 $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); |
|
412 $_ngcc_current_state = 0; |
|
413 } |
|
414 else { |
|
415 unexpectedLeaveElement($__qname); |
|
416 } |
|
417 } |
|
418 break; |
|
419 case 10: |
|
420 { |
|
421 action3(); |
|
422 $_ngcc_current_state = 7; |
|
423 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
|
424 } |
|
425 break; |
|
426 case 7: |
|
427 { |
|
428 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) { |
|
429 $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); |
|
430 $_ngcc_current_state = 0; |
|
431 } |
|
432 else { |
|
433 unexpectedLeaveElement($__qname); |
|
434 } |
|
435 } |
|
436 break; |
|
437 case 3: |
|
438 { |
|
439 if(((($ai = $runtime.getAttributeIndex("","namespace"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))) || ((($ai = $runtime.getAttributeIndex("","processContents"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))))) { |
|
440 NGCCHandler h = new wildcardBody(this, super._source, $runtime, 106, wloc); |
|
441 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
|
442 } |
|
443 else { |
|
444 unexpectedLeaveElement($__qname); |
|
445 } |
|
446 } |
|
447 break; |
|
448 case 16: |
|
449 { |
|
450 if(((($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","default"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","fixed"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","form"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","final"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","block"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","ref"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","minOccurs"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","name"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || (($ai = $runtime.getAttributeIndex("","abstract"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))))))))))))) { |
|
451 NGCCHandler h = new occurs(this, super._source, $runtime, 121); |
|
452 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
|
453 } |
|
454 else { |
|
455 unexpectedLeaveElement($__qname); |
|
456 } |
|
457 } |
|
458 break; |
|
459 case 21: |
|
460 { |
|
461 $_ngcc_current_state = 20; |
|
462 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
|
463 } |
|
464 break; |
|
465 case 30: |
|
466 { |
|
467 if(((($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0 && ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("all")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("choice"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("sequence")))) || ((($ai = $runtime.getAttributeIndex("","minOccurs"))>=0 && ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("all")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("choice"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("sequence")))) || ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("all")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("choice"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("sequence")))))) { |
|
468 NGCCHandler h = new occurs(this, super._source, $runtime, 137); |
|
469 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
|
470 } |
|
471 else { |
|
472 unexpectedLeaveElement($__qname); |
|
473 } |
|
474 } |
|
475 break; |
|
476 case 28: |
|
477 { |
|
478 if(((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("all")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("choice"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("sequence")))) { |
|
479 $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); |
|
480 $_ngcc_current_state = 0; |
|
481 } |
|
482 else { |
|
483 unexpectedLeaveElement($__qname); |
|
484 } |
|
485 } |
|
486 break; |
|
487 default: |
|
488 { |
|
489 unexpectedLeaveElement($__qname); |
|
490 } |
|
491 break; |
|
492 } |
|
493 } |
|
494 |
|
495 public void enterAttribute(String $__uri, String $__local, String $__qname) throws SAXException { |
|
496 int $ai; |
|
497 $uri = $__uri; |
|
498 $localName = $__local; |
|
499 $qname = $__qname; |
|
500 switch($_ngcc_current_state) { |
|
501 case 0: |
|
502 { |
|
503 revertToParentFromEnterAttribute(result, super._cookie, $__uri, $__local, $__qname); |
|
504 } |
|
505 break; |
|
506 case 8: |
|
507 { |
|
508 if(($__uri.equals("") && $__local.equals("ref"))) { |
|
509 $_ngcc_current_state = 14; |
|
510 } |
|
511 else { |
|
512 if((($__uri.equals("") && $__local.equals("default")) || (($__uri.equals("") && $__local.equals("fixed")) || (($__uri.equals("") && $__local.equals("form")) || (($__uri.equals("") && $__local.equals("final")) || (($__uri.equals("") && $__local.equals("block")) || (($__uri.equals("") && $__local.equals("name")) || ($__uri.equals("") && $__local.equals("abstract"))))))))) { |
|
513 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); |
|
514 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); |
|
515 } |
|
516 else { |
|
517 unexpectedEnterAttribute($__qname); |
|
518 } |
|
519 } |
|
520 } |
|
521 break; |
|
522 case 20: |
|
523 { |
|
524 action5(); |
|
525 $_ngcc_current_state = 19; |
|
526 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
|
527 } |
|
528 break; |
|
529 case 11: |
|
530 { |
|
531 $_ngcc_current_state = 10; |
|
532 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
|
533 } |
|
534 break; |
|
535 case 25: |
|
536 { |
|
537 if(($__uri.equals("") && $__local.equals("ref"))) { |
|
538 $_ngcc_current_state = 24; |
|
539 } |
|
540 else { |
|
541 unexpectedEnterAttribute($__qname); |
|
542 } |
|
543 } |
|
544 break; |
|
545 case 4: |
|
546 { |
|
547 if((($__uri.equals("") && $__local.equals("maxOccurs")) || (($__uri.equals("") && $__local.equals("minOccurs")) || (($__uri.equals("") && $__local.equals("namespace")) || ($__uri.equals("") && $__local.equals("processContents")))))) { |
|
548 NGCCHandler h = new occurs(this, super._source, $runtime, 107); |
|
549 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); |
|
550 } |
|
551 else { |
|
552 unexpectedEnterAttribute($__qname); |
|
553 } |
|
554 } |
|
555 break; |
|
556 case 10: |
|
557 { |
|
558 action3(); |
|
559 $_ngcc_current_state = 7; |
|
560 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
|
561 } |
|
562 break; |
|
563 case 26: |
|
564 { |
|
565 if((($__uri.equals("") && $__local.equals("maxOccurs")) || (($__uri.equals("") && $__local.equals("ref")) || ($__uri.equals("") && $__local.equals("minOccurs"))))) { |
|
566 NGCCHandler h = new occurs(this, super._source, $runtime, 132); |
|
567 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); |
|
568 } |
|
569 else { |
|
570 unexpectedEnterAttribute($__qname); |
|
571 } |
|
572 } |
|
573 break; |
|
574 case 3: |
|
575 { |
|
576 if((($__uri.equals("") && $__local.equals("namespace")) || ($__uri.equals("") && $__local.equals("processContents")))) { |
|
577 NGCCHandler h = new wildcardBody(this, super._source, $runtime, 106, wloc); |
|
578 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); |
|
579 } |
|
580 else { |
|
581 unexpectedEnterAttribute($__qname); |
|
582 } |
|
583 } |
|
584 break; |
|
585 case 16: |
|
586 { |
|
587 if((($__uri.equals("") && $__local.equals("maxOccurs")) || (($__uri.equals("") && $__local.equals("default")) || (($__uri.equals("") && $__local.equals("fixed")) || (($__uri.equals("") && $__local.equals("form")) || (($__uri.equals("") && $__local.equals("final")) || (($__uri.equals("") && $__local.equals("block")) || (($__uri.equals("") && $__local.equals("ref")) || (($__uri.equals("") && $__local.equals("minOccurs")) || (($__uri.equals("") && $__local.equals("name")) || ($__uri.equals("") && $__local.equals("abstract")))))))))))) { |
|
588 NGCCHandler h = new occurs(this, super._source, $runtime, 121); |
|
589 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); |
|
590 } |
|
591 else { |
|
592 unexpectedEnterAttribute($__qname); |
|
593 } |
|
594 } |
|
595 break; |
|
596 case 21: |
|
597 { |
|
598 $_ngcc_current_state = 20; |
|
599 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
|
600 } |
|
601 break; |
|
602 case 30: |
|
603 { |
|
604 if((($__uri.equals("") && $__local.equals("maxOccurs")) || ($__uri.equals("") && $__local.equals("minOccurs")))) { |
|
605 NGCCHandler h = new occurs(this, super._source, $runtime, 137); |
|
606 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); |
|
607 } |
|
608 else { |
|
609 unexpectedEnterAttribute($__qname); |
|
610 } |
|
611 } |
|
612 break; |
|
613 default: |
|
614 { |
|
615 unexpectedEnterAttribute($__qname); |
|
616 } |
|
617 break; |
|
618 } |
|
619 } |
|
620 |
|
621 public void leaveAttribute(String $__uri, String $__local, String $__qname) throws SAXException { |
|
622 int $ai; |
|
623 $uri = $__uri; |
|
624 $localName = $__local; |
|
625 $qname = $__qname; |
|
626 switch($_ngcc_current_state) { |
|
627 case 23: |
|
628 { |
|
629 if(($__uri.equals("") && $__local.equals("ref"))) { |
|
630 $_ngcc_current_state = 21; |
|
631 } |
|
632 else { |
|
633 unexpectedLeaveAttribute($__qname); |
|
634 } |
|
635 } |
|
636 break; |
|
637 case 0: |
|
638 { |
|
639 revertToParentFromLeaveAttribute(result, super._cookie, $__uri, $__local, $__qname); |
|
640 } |
|
641 break; |
|
642 case 20: |
|
643 { |
|
644 action5(); |
|
645 $_ngcc_current_state = 19; |
|
646 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
|
647 } |
|
648 break; |
|
649 case 11: |
|
650 { |
|
651 $_ngcc_current_state = 10; |
|
652 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
|
653 } |
|
654 break; |
|
655 case 10: |
|
656 { |
|
657 action3(); |
|
658 $_ngcc_current_state = 7; |
|
659 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
|
660 } |
|
661 break; |
|
662 case 21: |
|
663 { |
|
664 $_ngcc_current_state = 20; |
|
665 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
|
666 } |
|
667 break; |
|
668 case 13: |
|
669 { |
|
670 if(($__uri.equals("") && $__local.equals("ref"))) { |
|
671 $_ngcc_current_state = 11; |
|
672 } |
|
673 else { |
|
674 unexpectedLeaveAttribute($__qname); |
|
675 } |
|
676 } |
|
677 break; |
|
678 default: |
|
679 { |
|
680 unexpectedLeaveAttribute($__qname); |
|
681 } |
|
682 break; |
|
683 } |
|
684 } |
|
685 |
|
686 public void text(String $value) throws SAXException { |
|
687 int $ai; |
|
688 switch($_ngcc_current_state) { |
|
689 case 4: |
|
690 { |
|
691 if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) { |
|
692 NGCCHandler h = new occurs(this, super._source, $runtime, 107); |
|
693 spawnChildFromText(h, $value); |
|
694 } |
|
695 else { |
|
696 if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { |
|
697 NGCCHandler h = new occurs(this, super._source, $runtime, 107); |
|
698 spawnChildFromText(h, $value); |
|
699 } |
|
700 else { |
|
701 if(($ai = $runtime.getAttributeIndex("","minOccurs"))>=0) { |
|
702 NGCCHandler h = new occurs(this, super._source, $runtime, 107); |
|
703 spawnChildFromText(h, $value); |
|
704 } |
|
705 else { |
|
706 if(($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0) { |
|
707 NGCCHandler h = new occurs(this, super._source, $runtime, 107); |
|
708 spawnChildFromText(h, $value); |
|
709 } |
|
710 } |
|
711 } |
|
712 } |
|
713 } |
|
714 break; |
|
715 case 26: |
|
716 { |
|
717 if(($ai = $runtime.getAttributeIndex("","minOccurs"))>=0) { |
|
718 NGCCHandler h = new occurs(this, super._source, $runtime, 132); |
|
719 spawnChildFromText(h, $value); |
|
720 } |
|
721 else { |
|
722 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { |
|
723 NGCCHandler h = new occurs(this, super._source, $runtime, 132); |
|
724 spawnChildFromText(h, $value); |
|
725 } |
|
726 else { |
|
727 if(($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0) { |
|
728 NGCCHandler h = new occurs(this, super._source, $runtime, 132); |
|
729 spawnChildFromText(h, $value); |
|
730 } |
|
731 } |
|
732 } |
|
733 } |
|
734 break; |
|
735 case 14: |
|
736 { |
|
737 NGCCHandler h = new qname(this, super._source, $runtime, 118); |
|
738 spawnChildFromText(h, $value); |
|
739 } |
|
740 break; |
|
741 case 24: |
|
742 { |
|
743 NGCCHandler h = new qname(this, super._source, $runtime, 130); |
|
744 spawnChildFromText(h, $value); |
|
745 } |
|
746 break; |
|
747 case 0: |
|
748 { |
|
749 revertToParentFromText(result, super._cookie, $value); |
|
750 } |
|
751 break; |
|
752 case 20: |
|
753 { |
|
754 action5(); |
|
755 $_ngcc_current_state = 19; |
|
756 $runtime.sendText(super._cookie, $value); |
|
757 } |
|
758 break; |
|
759 case 8: |
|
760 { |
|
761 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { |
|
762 $runtime.consumeAttribute($ai); |
|
763 $runtime.sendText(super._cookie, $value); |
|
764 } |
|
765 else { |
|
766 if(($ai = $runtime.getAttributeIndex("","abstract"))>=0) { |
|
767 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); |
|
768 spawnChildFromText(h, $value); |
|
769 } |
|
770 else { |
|
771 if(($ai = $runtime.getAttributeIndex("","name"))>=0) { |
|
772 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); |
|
773 spawnChildFromText(h, $value); |
|
774 } |
|
775 else { |
|
776 if(($ai = $runtime.getAttributeIndex("","block"))>=0) { |
|
777 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); |
|
778 spawnChildFromText(h, $value); |
|
779 } |
|
780 else { |
|
781 if(($ai = $runtime.getAttributeIndex("","final"))>=0) { |
|
782 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); |
|
783 spawnChildFromText(h, $value); |
|
784 } |
|
785 else { |
|
786 if(($ai = $runtime.getAttributeIndex("","form"))>=0) { |
|
787 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); |
|
788 spawnChildFromText(h, $value); |
|
789 } |
|
790 else { |
|
791 if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) { |
|
792 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); |
|
793 spawnChildFromText(h, $value); |
|
794 } |
|
795 else { |
|
796 if(($ai = $runtime.getAttributeIndex("","default"))>=0) { |
|
797 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); |
|
798 spawnChildFromText(h, $value); |
|
799 } |
|
800 } |
|
801 } |
|
802 } |
|
803 } |
|
804 } |
|
805 } |
|
806 } |
|
807 } |
|
808 break; |
|
809 case 11: |
|
810 { |
|
811 $_ngcc_current_state = 10; |
|
812 $runtime.sendText(super._cookie, $value); |
|
813 } |
|
814 break; |
|
815 case 25: |
|
816 { |
|
817 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { |
|
818 $runtime.consumeAttribute($ai); |
|
819 $runtime.sendText(super._cookie, $value); |
|
820 } |
|
821 } |
|
822 break; |
|
823 case 10: |
|
824 { |
|
825 action3(); |
|
826 $_ngcc_current_state = 7; |
|
827 $runtime.sendText(super._cookie, $value); |
|
828 } |
|
829 break; |
|
830 case 3: |
|
831 { |
|
832 if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) { |
|
833 NGCCHandler h = new wildcardBody(this, super._source, $runtime, 106, wloc); |
|
834 spawnChildFromText(h, $value); |
|
835 } |
|
836 else { |
|
837 if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { |
|
838 NGCCHandler h = new wildcardBody(this, super._source, $runtime, 106, wloc); |
|
839 spawnChildFromText(h, $value); |
|
840 } |
|
841 } |
|
842 } |
|
843 break; |
|
844 case 16: |
|
845 { |
|
846 if(($ai = $runtime.getAttributeIndex("","abstract"))>=0) { |
|
847 NGCCHandler h = new occurs(this, super._source, $runtime, 121); |
|
848 spawnChildFromText(h, $value); |
|
849 } |
|
850 else { |
|
851 if(($ai = $runtime.getAttributeIndex("","name"))>=0) { |
|
852 NGCCHandler h = new occurs(this, super._source, $runtime, 121); |
|
853 spawnChildFromText(h, $value); |
|
854 } |
|
855 else { |
|
856 if(($ai = $runtime.getAttributeIndex("","minOccurs"))>=0) { |
|
857 NGCCHandler h = new occurs(this, super._source, $runtime, 121); |
|
858 spawnChildFromText(h, $value); |
|
859 } |
|
860 else { |
|
861 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { |
|
862 NGCCHandler h = new occurs(this, super._source, $runtime, 121); |
|
863 spawnChildFromText(h, $value); |
|
864 } |
|
865 else { |
|
866 if(($ai = $runtime.getAttributeIndex("","block"))>=0) { |
|
867 NGCCHandler h = new occurs(this, super._source, $runtime, 121); |
|
868 spawnChildFromText(h, $value); |
|
869 } |
|
870 else { |
|
871 if(($ai = $runtime.getAttributeIndex("","final"))>=0) { |
|
872 NGCCHandler h = new occurs(this, super._source, $runtime, 121); |
|
873 spawnChildFromText(h, $value); |
|
874 } |
|
875 else { |
|
876 if(($ai = $runtime.getAttributeIndex("","form"))>=0) { |
|
877 NGCCHandler h = new occurs(this, super._source, $runtime, 121); |
|
878 spawnChildFromText(h, $value); |
|
879 } |
|
880 else { |
|
881 if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) { |
|
882 NGCCHandler h = new occurs(this, super._source, $runtime, 121); |
|
883 spawnChildFromText(h, $value); |
|
884 } |
|
885 else { |
|
886 if(($ai = $runtime.getAttributeIndex("","default"))>=0) { |
|
887 NGCCHandler h = new occurs(this, super._source, $runtime, 121); |
|
888 spawnChildFromText(h, $value); |
|
889 } |
|
890 else { |
|
891 if(($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0) { |
|
892 NGCCHandler h = new occurs(this, super._source, $runtime, 121); |
|
893 spawnChildFromText(h, $value); |
|
894 } |
|
895 } |
|
896 } |
|
897 } |
|
898 } |
|
899 } |
|
900 } |
|
901 } |
|
902 } |
|
903 } |
|
904 } |
|
905 break; |
|
906 case 21: |
|
907 { |
|
908 $_ngcc_current_state = 20; |
|
909 $runtime.sendText(super._cookie, $value); |
|
910 } |
|
911 break; |
|
912 case 30: |
|
913 { |
|
914 if(($ai = $runtime.getAttributeIndex("","minOccurs"))>=0) { |
|
915 NGCCHandler h = new occurs(this, super._source, $runtime, 137); |
|
916 spawnChildFromText(h, $value); |
|
917 } |
|
918 else { |
|
919 if(($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0) { |
|
920 NGCCHandler h = new occurs(this, super._source, $runtime, 137); |
|
921 spawnChildFromText(h, $value); |
|
922 } |
|
923 } |
|
924 } |
|
925 break; |
|
926 } |
|
927 } |
|
928 |
|
929 public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException { |
|
930 switch($__cookie__) { |
|
931 case 136: |
|
932 { |
|
933 term = ((ModelGroupImpl)$__result__); |
|
934 action7(); |
|
935 $_ngcc_current_state = 28; |
|
936 } |
|
937 break; |
|
938 case 107: |
|
939 { |
|
940 occurs = ((occurs)$__result__); |
|
941 $_ngcc_current_state = 3; |
|
942 } |
|
943 break; |
|
944 case 106: |
|
945 { |
|
946 wcBody = ((WildcardImpl)$__result__); |
|
947 action0(); |
|
948 $_ngcc_current_state = 2; |
|
949 } |
|
950 break; |
|
951 case 121: |
|
952 { |
|
953 occurs = ((occurs)$__result__); |
|
954 $_ngcc_current_state = 8; |
|
955 } |
|
956 break; |
|
957 case 127: |
|
958 { |
|
959 annotation = ((AnnotationImpl)$__result__); |
|
960 $_ngcc_current_state = 20; |
|
961 } |
|
962 break; |
|
963 case 137: |
|
964 { |
|
965 occurs = ((occurs)$__result__); |
|
966 $_ngcc_current_state = 29; |
|
967 } |
|
968 break; |
|
969 case 132: |
|
970 { |
|
971 occurs = ((occurs)$__result__); |
|
972 $_ngcc_current_state = 25; |
|
973 } |
|
974 break; |
|
975 case 118: |
|
976 { |
|
977 elementTypeName = ((UName)$__result__); |
|
978 $_ngcc_current_state = 13; |
|
979 } |
|
980 break; |
|
981 case 130: |
|
982 { |
|
983 groupName = ((UName)$__result__); |
|
984 $_ngcc_current_state = 23; |
|
985 } |
|
986 break; |
|
987 case 112: |
|
988 { |
|
989 anonymousElementDecl = ((ElementDecl)$__result__); |
|
990 action2(); |
|
991 $_ngcc_current_state = 7; |
|
992 } |
|
993 break; |
|
994 case 115: |
|
995 { |
|
996 annotation = ((AnnotationImpl)$__result__); |
|
997 $_ngcc_current_state = 10; |
|
998 } |
|
999 break; |
|
1000 } |
|
1001 } |
|
1002 |
|
1003 public boolean accepted() { |
|
1004 return(($_ngcc_current_state == 0)); |
|
1005 } |
|
1006 |
|
1007 |
|
1008 private Locator wloc; |
|
1009 private Locator loc; |
|
1010 private ParticleImpl result; |
|
1011 private String compositorName; |
|
1012 |
|
1013 } |