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