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 4: 135 { 136 if(((($ai = $runtime.getAttributeIndex("","minOccurs"))>=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"))) || ((($ai = $runtime.getAttributeIndex("","maxOccurs"))>=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"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))))))) { 137 NGCCHandler h = new occurs(this, super._source, $runtime, 618); 138 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 139 } 140 else { 141 unexpectedEnterElement($__qname); 142 } 143 } 144 break; 145 case 3: 146 { 147 if((($ai = $runtime.getAttributeIndex("","processContents"))>=0 || (($ai = $runtime.getAttributeIndex("","namespace"))>=0 || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))))) { 148 NGCCHandler h = new wildcardBody(this, super._source, $runtime, 617, wloc); 149 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 150 } 151 else { 152 unexpectedEnterElement($__qname); 153 } 154 } 155 break; 156 case 30: 157 { 158 if(((($ai = $runtime.getAttributeIndex("","minOccurs"))>=0 && ((((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element")) || ((($__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("any"))) || ($__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("group")) || ((($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0 && ((((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element")) || ((($__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("any"))) || ($__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("annotation")) || (($__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"))))))))) { 159 NGCCHandler h = new occurs(this, super._source, $runtime, 648); 160 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 161 } 162 else { 163 unexpectedEnterElement($__qname); 164 } 165 } 166 break; 167 case 26: 168 { 169 if(((($ai = $runtime.getAttributeIndex("","minOccurs"))>=0 && ($__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("","ref"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))))) { 170 NGCCHandler h = new occurs(this, super._source, $runtime, 643); 171 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 172 } 173 else { 174 unexpectedEnterElement($__qname); 175 } 176 } 177 break; 178 case 11: 179 { 180 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { 181 NGCCHandler h = new annotation(this, super._source, $runtime, 626, null,AnnotationContext.PARTICLE); 182 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 183 } 184 else { 185 $_ngcc_current_state = 10; 186 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 187 } 188 } 189 break; 190 case 10: 191 { 192 action3(); 193 $_ngcc_current_state = 7; 194 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 195 } 196 break; 197 case 1: 198 { 199 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")))) { 200 $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 201 action8(); 202 $_ngcc_current_state = 30; 203 } 204 else { 205 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) { 206 $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 207 action6(); 208 $_ngcc_current_state = 26; 209 } 210 else { 211 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) { 212 $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 213 action4(); 214 $_ngcc_current_state = 16; 215 } 216 else { 217 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))) { 218 $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 219 action1(); 220 $_ngcc_current_state = 4; 221 } 222 else { 223 unexpectedEnterElement($__qname); 224 } 225 } 226 } 227 } 228 } 229 break; 230 case 29: 231 { 232 if((($__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("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"))))))) { 233 NGCCHandler h = new modelGroupBody(this, super._source, $runtime, 647, loc,compositorName); 234 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 235 } 236 else { 237 unexpectedEnterElement($__qname); 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 21: 253 { 254 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { 255 NGCCHandler h = new annotation(this, super._source, $runtime, 638, null,AnnotationContext.PARTICLE); 256 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 257 } 258 else { 259 $_ngcc_current_state = 20; 260 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 261 } 262 } 263 break; 264 case 16: 265 { 266 if(((($ai = $runtime.getAttributeIndex("","name"))>=0 && (((((($__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("complexType"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) || ($__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("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("complexType"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) || ($__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("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("complexType"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) || ($__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("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("complexType"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) || ($__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("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("complexType"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) || ($__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("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("complexType"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) || ($__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("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("complexType"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) || ($__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("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("complexType"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) || ($__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("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("complexType"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) || ($__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("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("complexType"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))))))))))))) { 267 NGCCHandler h = new occurs(this, super._source, $runtime, 632); 268 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 269 } 270 else { 271 unexpectedEnterElement($__qname); 272 } 273 } 274 break; 275 case 8: 276 { 277 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 278 $runtime.consumeAttribute($ai); 279 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 280 } 281 else { 282 if((($ai = $runtime.getAttributeIndex("","name"))>=0 || (($ai = $runtime.getAttributeIndex("","final"))>=0 || (($ai = $runtime.getAttributeIndex("","form"))>=0 || (($ai = $runtime.getAttributeIndex("","block"))>=0 || (($ai = $runtime.getAttributeIndex("","fixed"))>=0 || (($ai = $runtime.getAttributeIndex("","default"))>=0 || ($ai = $runtime.getAttributeIndex("","abstract"))>=0))))))) { 283 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 623, loc,false); 284 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 285 } 286 else { 287 unexpectedEnterElement($__qname); 288 } 289 } 290 } 291 break; 292 case 20: 293 { 294 action5(); 295 $_ngcc_current_state = 19; 296 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 297 } 298 break; 299 case 0: 300 { 301 revertToParentFromEnterElement(result, super._cookie, $__uri, $__local, $__qname, $attrs); 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 4: 319 { 320 if(((($ai = $runtime.getAttributeIndex("","minOccurs"))>=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"))) || ((($ai = $runtime.getAttributeIndex("","maxOccurs"))>=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"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))))))) { 321 NGCCHandler h = new occurs(this, super._source, $runtime, 618); 322 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 323 } 324 else { 325 unexpectedLeaveElement($__qname); 326 } 327 } 328 break; 329 case 3: 330 { 331 if(((($ai = $runtime.getAttributeIndex("","processContents"))>=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"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))))) { 332 NGCCHandler h = new wildcardBody(this, super._source, $runtime, 617, wloc); 333 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 334 } 335 else { 336 unexpectedLeaveElement($__qname); 337 } 338 } 339 break; 340 case 19: 341 { 342 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) { 343 $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 344 $_ngcc_current_state = 0; 345 } 346 else { 347 unexpectedLeaveElement($__qname); 348 } 349 } 350 break; 351 case 30: 352 { 353 if(((($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"))) || (($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"))))))) { 354 NGCCHandler h = new occurs(this, super._source, $runtime, 648); 355 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 356 } 357 else { 358 unexpectedLeaveElement($__qname); 359 } 360 } 361 break; 362 case 26: 363 { 364 if(((($ai = $runtime.getAttributeIndex("","minOccurs"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) || ((($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")))))) { 365 NGCCHandler h = new occurs(this, super._source, $runtime, 643); 366 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 367 } 368 else { 369 unexpectedLeaveElement($__qname); 370 } 371 } 372 break; 373 case 11: 374 { 375 $_ngcc_current_state = 10; 376 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 377 } 378 break; 379 case 10: 380 { 381 action3(); 382 $_ngcc_current_state = 7; 383 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 384 } 385 break; 386 case 2: 387 { 388 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))) { 389 $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 390 $_ngcc_current_state = 0; 391 } 392 else { 393 unexpectedLeaveElement($__qname); 394 } 395 } 396 break; 397 case 7: 398 { 399 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) { 400 $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 401 $_ngcc_current_state = 0; 402 } 403 else { 404 unexpectedLeaveElement($__qname); 405 } 406 } 407 break; 408 case 29: 409 { 410 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")))) { 411 NGCCHandler h = new modelGroupBody(this, super._source, $runtime, 647, loc,compositorName); 412 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 413 } 414 else { 415 unexpectedLeaveElement($__qname); 416 } 417 } 418 break; 419 case 25: 420 { 421 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 422 $runtime.consumeAttribute($ai); 423 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 424 } 425 else { 426 unexpectedLeaveElement($__qname); 427 } 428 } 429 break; 430 case 21: 431 { 432 $_ngcc_current_state = 20; 433 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 434 } 435 break; 436 case 16: 437 { 438 if(((($ai = $runtime.getAttributeIndex("","name"))>=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("","minOccurs"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","maxOccurs"))>=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("","block"))>=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("","default"))>=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"))) || (($ai = $runtime.getAttributeIndex("","ref"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))))))))))))) { 439 NGCCHandler h = new occurs(this, super._source, $runtime, 632); 440 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 441 } 442 else { 443 unexpectedLeaveElement($__qname); 444 } 445 } 446 break; 447 case 8: 448 { 449 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 450 $runtime.consumeAttribute($ai); 451 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 452 } 453 else { 454 if(((($ai = $runtime.getAttributeIndex("","name"))>=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("","form"))>=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("","fixed"))>=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("","abstract"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element")))))))))) { 455 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 623, loc,false); 456 spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 457 } 458 else { 459 unexpectedLeaveElement($__qname); 460 } 461 } 462 } 463 break; 464 case 28: 465 { 466 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")))) { 467 $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 468 $_ngcc_current_state = 0; 469 } 470 else { 471 unexpectedLeaveElement($__qname); 472 } 473 } 474 break; 475 case 20: 476 { 477 action5(); 478 $_ngcc_current_state = 19; 479 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 480 } 481 break; 482 case 0: 483 { 484 revertToParentFromLeaveElement(result, super._cookie, $__uri, $__local, $__qname); 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 4: 502 { 503 if((($__uri.equals("") && $__local.equals("minOccurs")) || (($__uri.equals("") && $__local.equals("processContents")) || (($__uri.equals("") && $__local.equals("maxOccurs")) || ($__uri.equals("") && $__local.equals("namespace")))))) { 504 NGCCHandler h = new occurs(this, super._source, $runtime, 618); 505 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); 506 } 507 else { 508 unexpectedEnterAttribute($__qname); 509 } 510 } 511 break; 512 case 21: 513 { 514 $_ngcc_current_state = 20; 515 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 516 } 517 break; 518 case 3: 519 { 520 if((($__uri.equals("") && $__local.equals("processContents")) || ($__uri.equals("") && $__local.equals("namespace")))) { 521 NGCCHandler h = new wildcardBody(this, super._source, $runtime, 617, wloc); 522 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); 523 } 524 else { 525 unexpectedEnterAttribute($__qname); 526 } 527 } 528 break; 529 case 16: 530 { 531 if((($__uri.equals("") && $__local.equals("name")) || (($__uri.equals("") && $__local.equals("final")) || (($__uri.equals("") && $__local.equals("minOccurs")) || (($__uri.equals("") && $__local.equals("maxOccurs")) || (($__uri.equals("") && $__local.equals("form")) || (($__uri.equals("") && $__local.equals("block")) || (($__uri.equals("") && $__local.equals("fixed")) || (($__uri.equals("") && $__local.equals("default")) || (($__uri.equals("") && $__local.equals("abstract")) || ($__uri.equals("") && $__local.equals("ref")))))))))))) { 532 NGCCHandler h = new occurs(this, super._source, $runtime, 632); 533 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); 534 } 535 else { 536 unexpectedEnterAttribute($__qname); 537 } 538 } 539 break; 540 case 8: 541 { 542 if(($__uri.equals("") && $__local.equals("ref"))) { 543 $_ngcc_current_state = 14; 544 } 545 else { 546 if((($__uri.equals("") && $__local.equals("name")) || (($__uri.equals("") && $__local.equals("final")) || (($__uri.equals("") && $__local.equals("form")) || (($__uri.equals("") && $__local.equals("block")) || (($__uri.equals("") && $__local.equals("fixed")) || (($__uri.equals("") && $__local.equals("default")) || ($__uri.equals("") && $__local.equals("abstract"))))))))) { 547 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 623, loc,false); 548 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); 549 } 550 else { 551 unexpectedEnterAttribute($__qname); 552 } 553 } 554 } 555 break; 556 case 30: 557 { 558 if((($__uri.equals("") && $__local.equals("minOccurs")) || ($__uri.equals("") && $__local.equals("maxOccurs")))) { 559 NGCCHandler h = new occurs(this, super._source, $runtime, 648); 560 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); 561 } 562 else { 563 unexpectedEnterAttribute($__qname); 564 } 565 } 566 break; 567 case 11: 568 { 569 $_ngcc_current_state = 10; 570 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 571 } 572 break; 573 case 26: 574 { 575 if((($__uri.equals("") && $__local.equals("minOccurs")) || (($__uri.equals("") && $__local.equals("maxOccurs")) || ($__uri.equals("") && $__local.equals("ref"))))) { 576 NGCCHandler h = new occurs(this, super._source, $runtime, 643); 577 spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); 578 } 579 else { 580 unexpectedEnterAttribute($__qname); 581 } 582 } 583 break; 584 case 10: 585 { 586 action3(); 587 $_ngcc_current_state = 7; 588 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 589 } 590 break; 591 case 20: 592 { 593 action5(); 594 $_ngcc_current_state = 19; 595 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 596 } 597 break; 598 case 0: 599 { 600 revertToParentFromEnterAttribute(result, super._cookie, $__uri, $__local, $__qname); 601 } 602 break; 603 case 25: 604 { 605 if(($__uri.equals("") && $__local.equals("ref"))) { 606 $_ngcc_current_state = 24; 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 21: 628 { 629 $_ngcc_current_state = 20; 630 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 631 } 632 break; 633 case 13: 634 { 635 if(($__uri.equals("") && $__local.equals("ref"))) { 636 $_ngcc_current_state = 11; 637 } 638 else { 639 unexpectedLeaveAttribute($__qname); 640 } 641 } 642 break; 643 case 11: 644 { 645 $_ngcc_current_state = 10; 646 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 647 } 648 break; 649 case 10: 650 { 651 action3(); 652 $_ngcc_current_state = 7; 653 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 654 } 655 break; 656 case 20: 657 { 658 action5(); 659 $_ngcc_current_state = 19; 660 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 661 } 662 break; 663 case 23: 664 { 665 if(($__uri.equals("") && $__local.equals("ref"))) { 666 $_ngcc_current_state = 21; 667 } 668 else { 669 unexpectedLeaveAttribute($__qname); 670 } 671 } 672 break; 673 case 0: 674 { 675 revertToParentFromLeaveAttribute(result, super._cookie, $__uri, $__local, $__qname); 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("","namespace"))>=0) { 692 NGCCHandler h = new occurs(this, super._source, $runtime, 618); 693 spawnChildFromText(h, $value); 694 } 695 else { 696 if(($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0) { 697 NGCCHandler h = new occurs(this, super._source, $runtime, 618); 698 spawnChildFromText(h, $value); 699 } 700 else { 701 if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) { 702 NGCCHandler h = new occurs(this, super._source, $runtime, 618); 703 spawnChildFromText(h, $value); 704 } 705 else { 706 if(($ai = $runtime.getAttributeIndex("","minOccurs"))>=0) { 707 NGCCHandler h = new occurs(this, super._source, $runtime, 618); 708 spawnChildFromText(h, $value); 709 } 710 } 711 } 712 } 713 } 714 break; 715 case 3: 716 { 717 if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { 718 NGCCHandler h = new wildcardBody(this, super._source, $runtime, 617, wloc); 719 spawnChildFromText(h, $value); 720 } 721 else { 722 if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) { 723 NGCCHandler h = new wildcardBody(this, super._source, $runtime, 617, wloc); 724 spawnChildFromText(h, $value); 725 } 726 } 727 } 728 break; 729 case 30: 730 { 731 if(($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0) { 732 NGCCHandler h = new occurs(this, super._source, $runtime, 648); 733 spawnChildFromText(h, $value); 734 } 735 else { 736 if(($ai = $runtime.getAttributeIndex("","minOccurs"))>=0) { 737 NGCCHandler h = new occurs(this, super._source, $runtime, 648); 738 spawnChildFromText(h, $value); 739 } 740 } 741 } 742 break; 743 case 26: 744 { 745 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 746 NGCCHandler h = new occurs(this, super._source, $runtime, 643); 747 spawnChildFromText(h, $value); 748 } 749 else { 750 if(($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0) { 751 NGCCHandler h = new occurs(this, super._source, $runtime, 643); 752 spawnChildFromText(h, $value); 753 } 754 else { 755 if(($ai = $runtime.getAttributeIndex("","minOccurs"))>=0) { 756 NGCCHandler h = new occurs(this, super._source, $runtime, 643); 757 spawnChildFromText(h, $value); 758 } 759 } 760 } 761 } 762 break; 763 case 11: 764 { 765 $_ngcc_current_state = 10; 766 $runtime.sendText(super._cookie, $value); 767 } 768 break; 769 case 10: 770 { 771 action3(); 772 $_ngcc_current_state = 7; 773 $runtime.sendText(super._cookie, $value); 774 } 775 break; 776 case 14: 777 { 778 NGCCHandler h = new qname(this, super._source, $runtime, 629); 779 spawnChildFromText(h, $value); 780 } 781 break; 782 case 25: 783 { 784 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 785 $runtime.consumeAttribute($ai); 786 $runtime.sendText(super._cookie, $value); 787 } 788 } 789 break; 790 case 21: 791 { 792 $_ngcc_current_state = 20; 793 $runtime.sendText(super._cookie, $value); 794 } 795 break; 796 case 16: 797 { 798 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 799 NGCCHandler h = new occurs(this, super._source, $runtime, 632); 800 spawnChildFromText(h, $value); 801 } 802 else { 803 if(($ai = $runtime.getAttributeIndex("","abstract"))>=0) { 804 NGCCHandler h = new occurs(this, super._source, $runtime, 632); 805 spawnChildFromText(h, $value); 806 } 807 else { 808 if(($ai = $runtime.getAttributeIndex("","default"))>=0) { 809 NGCCHandler h = new occurs(this, super._source, $runtime, 632); 810 spawnChildFromText(h, $value); 811 } 812 else { 813 if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) { 814 NGCCHandler h = new occurs(this, super._source, $runtime, 632); 815 spawnChildFromText(h, $value); 816 } 817 else { 818 if(($ai = $runtime.getAttributeIndex("","block"))>=0) { 819 NGCCHandler h = new occurs(this, super._source, $runtime, 632); 820 spawnChildFromText(h, $value); 821 } 822 else { 823 if(($ai = $runtime.getAttributeIndex("","form"))>=0) { 824 NGCCHandler h = new occurs(this, super._source, $runtime, 632); 825 spawnChildFromText(h, $value); 826 } 827 else { 828 if(($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0) { 829 NGCCHandler h = new occurs(this, super._source, $runtime, 632); 830 spawnChildFromText(h, $value); 831 } 832 else { 833 if(($ai = $runtime.getAttributeIndex("","minOccurs"))>=0) { 834 NGCCHandler h = new occurs(this, super._source, $runtime, 632); 835 spawnChildFromText(h, $value); 836 } 837 else { 838 if(($ai = $runtime.getAttributeIndex("","final"))>=0) { 839 NGCCHandler h = new occurs(this, super._source, $runtime, 632); 840 spawnChildFromText(h, $value); 841 } 842 else { 843 if(($ai = $runtime.getAttributeIndex("","name"))>=0) { 844 NGCCHandler h = new occurs(this, super._source, $runtime, 632); 845 spawnChildFromText(h, $value); 846 } 847 } 848 } 849 } 850 } 851 } 852 } 853 } 854 } 855 } 856 } 857 break; 858 case 8: 859 { 860 if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 861 $runtime.consumeAttribute($ai); 862 $runtime.sendText(super._cookie, $value); 863 } 864 else { 865 if(($ai = $runtime.getAttributeIndex("","abstract"))>=0) { 866 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 623, loc,false); 867 spawnChildFromText(h, $value); 868 } 869 else { 870 if(($ai = $runtime.getAttributeIndex("","default"))>=0) { 871 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 623, loc,false); 872 spawnChildFromText(h, $value); 873 } 874 else { 875 if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) { 876 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 623, loc,false); 877 spawnChildFromText(h, $value); 878 } 879 else { 880 if(($ai = $runtime.getAttributeIndex("","block"))>=0) { 881 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 623, loc,false); 882 spawnChildFromText(h, $value); 883 } 884 else { 885 if(($ai = $runtime.getAttributeIndex("","form"))>=0) { 886 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 623, loc,false); 887 spawnChildFromText(h, $value); 888 } 889 else { 890 if(($ai = $runtime.getAttributeIndex("","final"))>=0) { 891 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 623, loc,false); 892 spawnChildFromText(h, $value); 893 } 894 else { 895 if(($ai = $runtime.getAttributeIndex("","name"))>=0) { 896 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 623, loc,false); 897 spawnChildFromText(h, $value); 898 } 899 } 900 } 901 } 902 } 903 } 904 } 905 } 906 } 907 break; 908 case 24: 909 { 910 NGCCHandler h = new qname(this, super._source, $runtime, 641); 911 spawnChildFromText(h, $value); 912 } 913 break; 914 case 20: 915 { 916 action5(); 917 $_ngcc_current_state = 19; 918 $runtime.sendText(super._cookie, $value); 919 } 920 break; 921 case 0: 922 { 923 revertToParentFromText(result, super._cookie, $value); 924 } 925 break; 926 } 927 } 928 929 public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException { 930 switch($__cookie__) { 931 case 617: 932 { 933 wcBody = ((WildcardImpl)$__result__); 934 action0(); 935 $_ngcc_current_state = 2; 936 } 937 break; 938 case 647: 939 { 940 term = ((ModelGroupImpl)$__result__); 941 action7(); 942 $_ngcc_current_state = 28; 943 } 944 break; 945 case 632: 946 { 947 occurs = ((occurs)$__result__); 948 $_ngcc_current_state = 8; 949 } 950 break; 951 case 618: 952 { 953 occurs = ((occurs)$__result__); 954 $_ngcc_current_state = 3; 955 } 956 break; 957 case 648: 958 { 959 occurs = ((occurs)$__result__); 960 $_ngcc_current_state = 29; 961 } 962 break; 963 case 643: 964 { 965 occurs = ((occurs)$__result__); 966 $_ngcc_current_state = 25; 967 } 968 break; 969 case 626: 970 { 971 annotation = ((AnnotationImpl)$__result__); 972 $_ngcc_current_state = 10; 973 } 974 break; 975 case 629: 976 { 977 elementTypeName = ((UName)$__result__); 978 $_ngcc_current_state = 13; 979 } 980 break; 981 case 638: 982 { 983 annotation = ((AnnotationImpl)$__result__); 984 $_ngcc_current_state = 20; 985 } 986 break; 987 case 623: 988 { 989 anonymousElementDecl = ((ElementDecl)$__result__); 990 action2(); 991 $_ngcc_current_state = 7; 992 } 993 break; 994 case 641: 995 { 996 groupName = ((UName)$__result__); 997 $_ngcc_current_state = 23; 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 }