1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/state/particle.java Wed Apr 27 01:27:09 2016 +0800 1.3 @@ -0,0 +1,1013 @@ 1.4 +/* 1.5 + * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.7 + * 1.8 + * This code is free software; you can redistribute it and/or modify it 1.9 + * under the terms of the GNU General Public License version 2 only, as 1.10 + * published by the Free Software Foundation. Oracle designates this 1.11 + * particular file as subject to the "Classpath" exception as provided 1.12 + * by Oracle in the LICENSE file that accompanied this code. 1.13 + * 1.14 + * This code is distributed in the hope that it will be useful, but WITHOUT 1.15 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1.16 + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1.17 + * version 2 for more details (a copy is included in the LICENSE file that 1.18 + * accompanied this code). 1.19 + * 1.20 + * You should have received a copy of the GNU General Public License version 1.21 + * 2 along with this work; if not, write to the Free Software Foundation, 1.22 + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1.23 + * 1.24 + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1.25 + * or visit www.oracle.com if you need additional information or have any 1.26 + * questions. 1.27 + */ 1.28 + 1.29 +/* this file is generated by RelaxNGCC */ 1.30 +package com.sun.xml.internal.xsom.impl.parser.state; 1.31 +import org.xml.sax.SAXException; 1.32 +import org.xml.sax.XMLReader; 1.33 +import org.xml.sax.Attributes; 1.34 +import com.sun.xml.internal.xsom.impl.parser.NGCCRuntimeEx; 1.35 + 1.36 + import com.sun.xml.internal.xsom.*; 1.37 + import com.sun.xml.internal.xsom.parser.*; 1.38 + import com.sun.xml.internal.xsom.impl.*; 1.39 + import com.sun.xml.internal.xsom.impl.parser.*; 1.40 + import org.xml.sax.Locator; 1.41 + import org.xml.sax.ContentHandler; 1.42 + import org.xml.sax.helpers.*; 1.43 + import java.util.*; 1.44 + import java.math.BigInteger; 1.45 + 1.46 + 1.47 + 1.48 +class particle extends NGCCHandler { 1.49 + private AnnotationImpl annotation; 1.50 + private ElementDecl anonymousElementDecl; 1.51 + private WildcardImpl wcBody; 1.52 + private ModelGroupImpl term; 1.53 + private UName elementTypeName; 1.54 + private occurs occurs; 1.55 + private UName groupName; 1.56 + protected final NGCCRuntimeEx $runtime; 1.57 + private int $_ngcc_current_state; 1.58 + protected String $uri; 1.59 + protected String $localName; 1.60 + protected String $qname; 1.61 + 1.62 + public final NGCCRuntime getRuntime() { 1.63 + return($runtime); 1.64 + } 1.65 + 1.66 + public particle(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie) { 1.67 + super(source, parent, cookie); 1.68 + $runtime = runtime; 1.69 + $_ngcc_current_state = 1; 1.70 + } 1.71 + 1.72 + public particle(NGCCRuntimeEx runtime) { 1.73 + this(null, runtime, runtime, -1); 1.74 + } 1.75 + 1.76 + private void action0()throws SAXException { 1.77 + 1.78 + result = new ParticleImpl( $runtime.document, null, wcBody, wloc, occurs.max, occurs.min ); 1.79 + 1.80 +} 1.81 + 1.82 + private void action1()throws SAXException { 1.83 + wloc = $runtime.copyLocator(); 1.84 +} 1.85 + 1.86 + private void action2()throws SAXException { 1.87 + 1.88 + result = new ParticleImpl( $runtime.document, null, 1.89 + anonymousElementDecl, 1.90 + loc, occurs.max, occurs.min ); 1.91 + 1.92 +} 1.93 + 1.94 + private void action3()throws SAXException { 1.95 + 1.96 + result = new ParticleImpl( $runtime.document, annotation, new DelayedRef.Element( 1.97 + $runtime, loc, $runtime.currentSchema, elementTypeName ), 1.98 + loc, occurs.max, occurs.min ); 1.99 + 1.100 +} 1.101 + 1.102 + private void action4()throws SAXException { 1.103 + loc = $runtime.copyLocator(); 1.104 +} 1.105 + 1.106 + private void action5()throws SAXException { 1.107 + 1.108 + result = new ParticleImpl( $runtime.document, annotation, new DelayedRef.ModelGroup( 1.109 + $runtime, loc, $runtime.currentSchema, groupName ), 1.110 + loc, occurs.max, occurs.min ); 1.111 + 1.112 +} 1.113 + 1.114 + private void action6()throws SAXException { 1.115 + loc = $runtime.copyLocator(); 1.116 +} 1.117 + 1.118 + private void action7()throws SAXException { 1.119 + 1.120 + result = new ParticleImpl( $runtime.document, null, term, loc, occurs.max, occurs.min ); 1.121 + 1.122 +} 1.123 + 1.124 + private void action8()throws SAXException { 1.125 + 1.126 + compositorName = $localName; 1.127 + loc = $runtime.copyLocator(); 1.128 + 1.129 +} 1.130 + 1.131 + public void enterElement(String $__uri, String $__local, String $__qname, Attributes $attrs) throws SAXException { 1.132 + int $ai; 1.133 + $uri = $__uri; 1.134 + $localName = $__local; 1.135 + $qname = $__qname; 1.136 + switch($_ngcc_current_state) { 1.137 + case 29: 1.138 + { 1.139 + 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")))))))) { 1.140 + NGCCHandler h = new modelGroupBody(this, super._source, $runtime, 136, loc,compositorName); 1.141 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.142 + } 1.143 + else { 1.144 + unexpectedEnterElement($__qname); 1.145 + } 1.146 + } 1.147 + break; 1.148 + case 4: 1.149 + { 1.150 + 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")))))))) { 1.151 + NGCCHandler h = new occurs(this, super._source, $runtime, 107); 1.152 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.153 + } 1.154 + else { 1.155 + unexpectedEnterElement($__qname); 1.156 + } 1.157 + } 1.158 + break; 1.159 + case 26: 1.160 + { 1.161 + 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")))))) { 1.162 + NGCCHandler h = new occurs(this, super._source, $runtime, 132); 1.163 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.164 + } 1.165 + else { 1.166 + unexpectedEnterElement($__qname); 1.167 + } 1.168 + } 1.169 + break; 1.170 + case 1: 1.171 + { 1.172 + 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")))) { 1.173 + $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 1.174 + action8(); 1.175 + $_ngcc_current_state = 30; 1.176 + } 1.177 + else { 1.178 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) { 1.179 + $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 1.180 + action6(); 1.181 + $_ngcc_current_state = 26; 1.182 + } 1.183 + else { 1.184 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) { 1.185 + $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 1.186 + action4(); 1.187 + $_ngcc_current_state = 16; 1.188 + } 1.189 + else { 1.190 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))) { 1.191 + $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 1.192 + action1(); 1.193 + $_ngcc_current_state = 4; 1.194 + } 1.195 + else { 1.196 + unexpectedEnterElement($__qname); 1.197 + } 1.198 + } 1.199 + } 1.200 + } 1.201 + } 1.202 + break; 1.203 + case 0: 1.204 + { 1.205 + revertToParentFromEnterElement(result, super._cookie, $__uri, $__local, $__qname, $attrs); 1.206 + } 1.207 + break; 1.208 + case 20: 1.209 + { 1.210 + action5(); 1.211 + $_ngcc_current_state = 19; 1.212 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.213 + } 1.214 + break; 1.215 + case 8: 1.216 + { 1.217 + if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 1.218 + $runtime.consumeAttribute($ai); 1.219 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.220 + } 1.221 + else { 1.222 + 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))))))) { 1.223 + NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); 1.224 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.225 + } 1.226 + else { 1.227 + unexpectedEnterElement($__qname); 1.228 + } 1.229 + } 1.230 + } 1.231 + break; 1.232 + case 11: 1.233 + { 1.234 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { 1.235 + NGCCHandler h = new annotation(this, super._source, $runtime, 115, null,AnnotationContext.PARTICLE); 1.236 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.237 + } 1.238 + else { 1.239 + $_ngcc_current_state = 10; 1.240 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.241 + } 1.242 + } 1.243 + break; 1.244 + case 25: 1.245 + { 1.246 + if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 1.247 + $runtime.consumeAttribute($ai); 1.248 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.249 + } 1.250 + else { 1.251 + unexpectedEnterElement($__qname); 1.252 + } 1.253 + } 1.254 + break; 1.255 + case 10: 1.256 + { 1.257 + action3(); 1.258 + $_ngcc_current_state = 7; 1.259 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.260 + } 1.261 + break; 1.262 + case 3: 1.263 + { 1.264 + if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || (($ai = $runtime.getAttributeIndex("","namespace"))>=0 || ($ai = $runtime.getAttributeIndex("","processContents"))>=0))) { 1.265 + NGCCHandler h = new wildcardBody(this, super._source, $runtime, 106, wloc); 1.266 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.267 + } 1.268 + else { 1.269 + unexpectedEnterElement($__qname); 1.270 + } 1.271 + } 1.272 + break; 1.273 + case 16: 1.274 + { 1.275 + 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")))))))))))))) { 1.276 + NGCCHandler h = new occurs(this, super._source, $runtime, 121); 1.277 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.278 + } 1.279 + else { 1.280 + unexpectedEnterElement($__qname); 1.281 + } 1.282 + } 1.283 + break; 1.284 + case 21: 1.285 + { 1.286 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { 1.287 + NGCCHandler h = new annotation(this, super._source, $runtime, 127, null,AnnotationContext.PARTICLE); 1.288 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.289 + } 1.290 + else { 1.291 + $_ngcc_current_state = 20; 1.292 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.293 + } 1.294 + } 1.295 + break; 1.296 + case 30: 1.297 + { 1.298 + 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")))))))))) { 1.299 + NGCCHandler h = new occurs(this, super._source, $runtime, 137); 1.300 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.301 + } 1.302 + else { 1.303 + unexpectedEnterElement($__qname); 1.304 + } 1.305 + } 1.306 + break; 1.307 + default: 1.308 + { 1.309 + unexpectedEnterElement($__qname); 1.310 + } 1.311 + break; 1.312 + } 1.313 + } 1.314 + 1.315 + public void leaveElement(String $__uri, String $__local, String $__qname) throws SAXException { 1.316 + int $ai; 1.317 + $uri = $__uri; 1.318 + $localName = $__local; 1.319 + $qname = $__qname; 1.320 + switch($_ngcc_current_state) { 1.321 + case 29: 1.322 + { 1.323 + 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")))) { 1.324 + NGCCHandler h = new modelGroupBody(this, super._source, $runtime, 136, loc,compositorName); 1.325 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.326 + } 1.327 + else { 1.328 + unexpectedLeaveElement($__qname); 1.329 + } 1.330 + } 1.331 + break; 1.332 + case 4: 1.333 + { 1.334 + 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"))))))) { 1.335 + NGCCHandler h = new occurs(this, super._source, $runtime, 107); 1.336 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.337 + } 1.338 + else { 1.339 + unexpectedLeaveElement($__qname); 1.340 + } 1.341 + } 1.342 + break; 1.343 + case 26: 1.344 + { 1.345 + 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")))))) { 1.346 + NGCCHandler h = new occurs(this, super._source, $runtime, 132); 1.347 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.348 + } 1.349 + else { 1.350 + unexpectedLeaveElement($__qname); 1.351 + } 1.352 + } 1.353 + break; 1.354 + case 2: 1.355 + { 1.356 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any"))) { 1.357 + $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 1.358 + $_ngcc_current_state = 0; 1.359 + } 1.360 + else { 1.361 + unexpectedLeaveElement($__qname); 1.362 + } 1.363 + } 1.364 + break; 1.365 + case 0: 1.366 + { 1.367 + revertToParentFromLeaveElement(result, super._cookie, $__uri, $__local, $__qname); 1.368 + } 1.369 + break; 1.370 + case 8: 1.371 + { 1.372 + if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 1.373 + $runtime.consumeAttribute($ai); 1.374 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.375 + } 1.376 + else { 1.377 + 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")))))))))) { 1.378 + NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); 1.379 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.380 + } 1.381 + else { 1.382 + unexpectedLeaveElement($__qname); 1.383 + } 1.384 + } 1.385 + } 1.386 + break; 1.387 + case 20: 1.388 + { 1.389 + action5(); 1.390 + $_ngcc_current_state = 19; 1.391 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.392 + } 1.393 + break; 1.394 + case 11: 1.395 + { 1.396 + $_ngcc_current_state = 10; 1.397 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.398 + } 1.399 + break; 1.400 + case 25: 1.401 + { 1.402 + if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 1.403 + $runtime.consumeAttribute($ai); 1.404 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.405 + } 1.406 + else { 1.407 + unexpectedLeaveElement($__qname); 1.408 + } 1.409 + } 1.410 + break; 1.411 + case 19: 1.412 + { 1.413 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) { 1.414 + $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 1.415 + $_ngcc_current_state = 0; 1.416 + } 1.417 + else { 1.418 + unexpectedLeaveElement($__qname); 1.419 + } 1.420 + } 1.421 + break; 1.422 + case 10: 1.423 + { 1.424 + action3(); 1.425 + $_ngcc_current_state = 7; 1.426 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.427 + } 1.428 + break; 1.429 + case 7: 1.430 + { 1.431 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) { 1.432 + $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 1.433 + $_ngcc_current_state = 0; 1.434 + } 1.435 + else { 1.436 + unexpectedLeaveElement($__qname); 1.437 + } 1.438 + } 1.439 + break; 1.440 + case 3: 1.441 + { 1.442 + 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"))))) { 1.443 + NGCCHandler h = new wildcardBody(this, super._source, $runtime, 106, wloc); 1.444 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.445 + } 1.446 + else { 1.447 + unexpectedLeaveElement($__qname); 1.448 + } 1.449 + } 1.450 + break; 1.451 + case 16: 1.452 + { 1.453 + 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"))))))))))))) { 1.454 + NGCCHandler h = new occurs(this, super._source, $runtime, 121); 1.455 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.456 + } 1.457 + else { 1.458 + unexpectedLeaveElement($__qname); 1.459 + } 1.460 + } 1.461 + break; 1.462 + case 21: 1.463 + { 1.464 + $_ngcc_current_state = 20; 1.465 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.466 + } 1.467 + break; 1.468 + case 30: 1.469 + { 1.470 + 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")))))) { 1.471 + NGCCHandler h = new occurs(this, super._source, $runtime, 137); 1.472 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.473 + } 1.474 + else { 1.475 + unexpectedLeaveElement($__qname); 1.476 + } 1.477 + } 1.478 + break; 1.479 + case 28: 1.480 + { 1.481 + 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")))) { 1.482 + $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 1.483 + $_ngcc_current_state = 0; 1.484 + } 1.485 + else { 1.486 + unexpectedLeaveElement($__qname); 1.487 + } 1.488 + } 1.489 + break; 1.490 + default: 1.491 + { 1.492 + unexpectedLeaveElement($__qname); 1.493 + } 1.494 + break; 1.495 + } 1.496 + } 1.497 + 1.498 + public void enterAttribute(String $__uri, String $__local, String $__qname) throws SAXException { 1.499 + int $ai; 1.500 + $uri = $__uri; 1.501 + $localName = $__local; 1.502 + $qname = $__qname; 1.503 + switch($_ngcc_current_state) { 1.504 + case 0: 1.505 + { 1.506 + revertToParentFromEnterAttribute(result, super._cookie, $__uri, $__local, $__qname); 1.507 + } 1.508 + break; 1.509 + case 8: 1.510 + { 1.511 + if(($__uri.equals("") && $__local.equals("ref"))) { 1.512 + $_ngcc_current_state = 14; 1.513 + } 1.514 + else { 1.515 + 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"))))))))) { 1.516 + NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); 1.517 + spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); 1.518 + } 1.519 + else { 1.520 + unexpectedEnterAttribute($__qname); 1.521 + } 1.522 + } 1.523 + } 1.524 + break; 1.525 + case 20: 1.526 + { 1.527 + action5(); 1.528 + $_ngcc_current_state = 19; 1.529 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.530 + } 1.531 + break; 1.532 + case 11: 1.533 + { 1.534 + $_ngcc_current_state = 10; 1.535 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.536 + } 1.537 + break; 1.538 + case 25: 1.539 + { 1.540 + if(($__uri.equals("") && $__local.equals("ref"))) { 1.541 + $_ngcc_current_state = 24; 1.542 + } 1.543 + else { 1.544 + unexpectedEnterAttribute($__qname); 1.545 + } 1.546 + } 1.547 + break; 1.548 + case 4: 1.549 + { 1.550 + if((($__uri.equals("") && $__local.equals("maxOccurs")) || (($__uri.equals("") && $__local.equals("minOccurs")) || (($__uri.equals("") && $__local.equals("namespace")) || ($__uri.equals("") && $__local.equals("processContents")))))) { 1.551 + NGCCHandler h = new occurs(this, super._source, $runtime, 107); 1.552 + spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); 1.553 + } 1.554 + else { 1.555 + unexpectedEnterAttribute($__qname); 1.556 + } 1.557 + } 1.558 + break; 1.559 + case 10: 1.560 + { 1.561 + action3(); 1.562 + $_ngcc_current_state = 7; 1.563 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.564 + } 1.565 + break; 1.566 + case 26: 1.567 + { 1.568 + if((($__uri.equals("") && $__local.equals("maxOccurs")) || (($__uri.equals("") && $__local.equals("ref")) || ($__uri.equals("") && $__local.equals("minOccurs"))))) { 1.569 + NGCCHandler h = new occurs(this, super._source, $runtime, 132); 1.570 + spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); 1.571 + } 1.572 + else { 1.573 + unexpectedEnterAttribute($__qname); 1.574 + } 1.575 + } 1.576 + break; 1.577 + case 3: 1.578 + { 1.579 + if((($__uri.equals("") && $__local.equals("namespace")) || ($__uri.equals("") && $__local.equals("processContents")))) { 1.580 + NGCCHandler h = new wildcardBody(this, super._source, $runtime, 106, wloc); 1.581 + spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); 1.582 + } 1.583 + else { 1.584 + unexpectedEnterAttribute($__qname); 1.585 + } 1.586 + } 1.587 + break; 1.588 + case 16: 1.589 + { 1.590 + 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")))))))))))) { 1.591 + NGCCHandler h = new occurs(this, super._source, $runtime, 121); 1.592 + spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); 1.593 + } 1.594 + else { 1.595 + unexpectedEnterAttribute($__qname); 1.596 + } 1.597 + } 1.598 + break; 1.599 + case 21: 1.600 + { 1.601 + $_ngcc_current_state = 20; 1.602 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.603 + } 1.604 + break; 1.605 + case 30: 1.606 + { 1.607 + if((($__uri.equals("") && $__local.equals("maxOccurs")) || ($__uri.equals("") && $__local.equals("minOccurs")))) { 1.608 + NGCCHandler h = new occurs(this, super._source, $runtime, 137); 1.609 + spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); 1.610 + } 1.611 + else { 1.612 + unexpectedEnterAttribute($__qname); 1.613 + } 1.614 + } 1.615 + break; 1.616 + default: 1.617 + { 1.618 + unexpectedEnterAttribute($__qname); 1.619 + } 1.620 + break; 1.621 + } 1.622 + } 1.623 + 1.624 + public void leaveAttribute(String $__uri, String $__local, String $__qname) throws SAXException { 1.625 + int $ai; 1.626 + $uri = $__uri; 1.627 + $localName = $__local; 1.628 + $qname = $__qname; 1.629 + switch($_ngcc_current_state) { 1.630 + case 23: 1.631 + { 1.632 + if(($__uri.equals("") && $__local.equals("ref"))) { 1.633 + $_ngcc_current_state = 21; 1.634 + } 1.635 + else { 1.636 + unexpectedLeaveAttribute($__qname); 1.637 + } 1.638 + } 1.639 + break; 1.640 + case 0: 1.641 + { 1.642 + revertToParentFromLeaveAttribute(result, super._cookie, $__uri, $__local, $__qname); 1.643 + } 1.644 + break; 1.645 + case 20: 1.646 + { 1.647 + action5(); 1.648 + $_ngcc_current_state = 19; 1.649 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.650 + } 1.651 + break; 1.652 + case 11: 1.653 + { 1.654 + $_ngcc_current_state = 10; 1.655 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.656 + } 1.657 + break; 1.658 + case 10: 1.659 + { 1.660 + action3(); 1.661 + $_ngcc_current_state = 7; 1.662 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.663 + } 1.664 + break; 1.665 + case 21: 1.666 + { 1.667 + $_ngcc_current_state = 20; 1.668 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.669 + } 1.670 + break; 1.671 + case 13: 1.672 + { 1.673 + if(($__uri.equals("") && $__local.equals("ref"))) { 1.674 + $_ngcc_current_state = 11; 1.675 + } 1.676 + else { 1.677 + unexpectedLeaveAttribute($__qname); 1.678 + } 1.679 + } 1.680 + break; 1.681 + default: 1.682 + { 1.683 + unexpectedLeaveAttribute($__qname); 1.684 + } 1.685 + break; 1.686 + } 1.687 + } 1.688 + 1.689 + public void text(String $value) throws SAXException { 1.690 + int $ai; 1.691 + switch($_ngcc_current_state) { 1.692 + case 4: 1.693 + { 1.694 + if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) { 1.695 + NGCCHandler h = new occurs(this, super._source, $runtime, 107); 1.696 + spawnChildFromText(h, $value); 1.697 + } 1.698 + else { 1.699 + if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { 1.700 + NGCCHandler h = new occurs(this, super._source, $runtime, 107); 1.701 + spawnChildFromText(h, $value); 1.702 + } 1.703 + else { 1.704 + if(($ai = $runtime.getAttributeIndex("","minOccurs"))>=0) { 1.705 + NGCCHandler h = new occurs(this, super._source, $runtime, 107); 1.706 + spawnChildFromText(h, $value); 1.707 + } 1.708 + else { 1.709 + if(($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0) { 1.710 + NGCCHandler h = new occurs(this, super._source, $runtime, 107); 1.711 + spawnChildFromText(h, $value); 1.712 + } 1.713 + } 1.714 + } 1.715 + } 1.716 + } 1.717 + break; 1.718 + case 26: 1.719 + { 1.720 + if(($ai = $runtime.getAttributeIndex("","minOccurs"))>=0) { 1.721 + NGCCHandler h = new occurs(this, super._source, $runtime, 132); 1.722 + spawnChildFromText(h, $value); 1.723 + } 1.724 + else { 1.725 + if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 1.726 + NGCCHandler h = new occurs(this, super._source, $runtime, 132); 1.727 + spawnChildFromText(h, $value); 1.728 + } 1.729 + else { 1.730 + if(($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0) { 1.731 + NGCCHandler h = new occurs(this, super._source, $runtime, 132); 1.732 + spawnChildFromText(h, $value); 1.733 + } 1.734 + } 1.735 + } 1.736 + } 1.737 + break; 1.738 + case 14: 1.739 + { 1.740 + NGCCHandler h = new qname(this, super._source, $runtime, 118); 1.741 + spawnChildFromText(h, $value); 1.742 + } 1.743 + break; 1.744 + case 24: 1.745 + { 1.746 + NGCCHandler h = new qname(this, super._source, $runtime, 130); 1.747 + spawnChildFromText(h, $value); 1.748 + } 1.749 + break; 1.750 + case 0: 1.751 + { 1.752 + revertToParentFromText(result, super._cookie, $value); 1.753 + } 1.754 + break; 1.755 + case 20: 1.756 + { 1.757 + action5(); 1.758 + $_ngcc_current_state = 19; 1.759 + $runtime.sendText(super._cookie, $value); 1.760 + } 1.761 + break; 1.762 + case 8: 1.763 + { 1.764 + if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 1.765 + $runtime.consumeAttribute($ai); 1.766 + $runtime.sendText(super._cookie, $value); 1.767 + } 1.768 + else { 1.769 + if(($ai = $runtime.getAttributeIndex("","abstract"))>=0) { 1.770 + NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); 1.771 + spawnChildFromText(h, $value); 1.772 + } 1.773 + else { 1.774 + if(($ai = $runtime.getAttributeIndex("","name"))>=0) { 1.775 + NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); 1.776 + spawnChildFromText(h, $value); 1.777 + } 1.778 + else { 1.779 + if(($ai = $runtime.getAttributeIndex("","block"))>=0) { 1.780 + NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); 1.781 + spawnChildFromText(h, $value); 1.782 + } 1.783 + else { 1.784 + if(($ai = $runtime.getAttributeIndex("","final"))>=0) { 1.785 + NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); 1.786 + spawnChildFromText(h, $value); 1.787 + } 1.788 + else { 1.789 + if(($ai = $runtime.getAttributeIndex("","form"))>=0) { 1.790 + NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); 1.791 + spawnChildFromText(h, $value); 1.792 + } 1.793 + else { 1.794 + if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) { 1.795 + NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); 1.796 + spawnChildFromText(h, $value); 1.797 + } 1.798 + else { 1.799 + if(($ai = $runtime.getAttributeIndex("","default"))>=0) { 1.800 + NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 112, loc,false); 1.801 + spawnChildFromText(h, $value); 1.802 + } 1.803 + } 1.804 + } 1.805 + } 1.806 + } 1.807 + } 1.808 + } 1.809 + } 1.810 + } 1.811 + break; 1.812 + case 11: 1.813 + { 1.814 + $_ngcc_current_state = 10; 1.815 + $runtime.sendText(super._cookie, $value); 1.816 + } 1.817 + break; 1.818 + case 25: 1.819 + { 1.820 + if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 1.821 + $runtime.consumeAttribute($ai); 1.822 + $runtime.sendText(super._cookie, $value); 1.823 + } 1.824 + } 1.825 + break; 1.826 + case 10: 1.827 + { 1.828 + action3(); 1.829 + $_ngcc_current_state = 7; 1.830 + $runtime.sendText(super._cookie, $value); 1.831 + } 1.832 + break; 1.833 + case 3: 1.834 + { 1.835 + if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) { 1.836 + NGCCHandler h = new wildcardBody(this, super._source, $runtime, 106, wloc); 1.837 + spawnChildFromText(h, $value); 1.838 + } 1.839 + else { 1.840 + if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) { 1.841 + NGCCHandler h = new wildcardBody(this, super._source, $runtime, 106, wloc); 1.842 + spawnChildFromText(h, $value); 1.843 + } 1.844 + } 1.845 + } 1.846 + break; 1.847 + case 16: 1.848 + { 1.849 + if(($ai = $runtime.getAttributeIndex("","abstract"))>=0) { 1.850 + NGCCHandler h = new occurs(this, super._source, $runtime, 121); 1.851 + spawnChildFromText(h, $value); 1.852 + } 1.853 + else { 1.854 + if(($ai = $runtime.getAttributeIndex("","name"))>=0) { 1.855 + NGCCHandler h = new occurs(this, super._source, $runtime, 121); 1.856 + spawnChildFromText(h, $value); 1.857 + } 1.858 + else { 1.859 + if(($ai = $runtime.getAttributeIndex("","minOccurs"))>=0) { 1.860 + NGCCHandler h = new occurs(this, super._source, $runtime, 121); 1.861 + spawnChildFromText(h, $value); 1.862 + } 1.863 + else { 1.864 + if(($ai = $runtime.getAttributeIndex("","ref"))>=0) { 1.865 + NGCCHandler h = new occurs(this, super._source, $runtime, 121); 1.866 + spawnChildFromText(h, $value); 1.867 + } 1.868 + else { 1.869 + if(($ai = $runtime.getAttributeIndex("","block"))>=0) { 1.870 + NGCCHandler h = new occurs(this, super._source, $runtime, 121); 1.871 + spawnChildFromText(h, $value); 1.872 + } 1.873 + else { 1.874 + if(($ai = $runtime.getAttributeIndex("","final"))>=0) { 1.875 + NGCCHandler h = new occurs(this, super._source, $runtime, 121); 1.876 + spawnChildFromText(h, $value); 1.877 + } 1.878 + else { 1.879 + if(($ai = $runtime.getAttributeIndex("","form"))>=0) { 1.880 + NGCCHandler h = new occurs(this, super._source, $runtime, 121); 1.881 + spawnChildFromText(h, $value); 1.882 + } 1.883 + else { 1.884 + if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) { 1.885 + NGCCHandler h = new occurs(this, super._source, $runtime, 121); 1.886 + spawnChildFromText(h, $value); 1.887 + } 1.888 + else { 1.889 + if(($ai = $runtime.getAttributeIndex("","default"))>=0) { 1.890 + NGCCHandler h = new occurs(this, super._source, $runtime, 121); 1.891 + spawnChildFromText(h, $value); 1.892 + } 1.893 + else { 1.894 + if(($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0) { 1.895 + NGCCHandler h = new occurs(this, super._source, $runtime, 121); 1.896 + spawnChildFromText(h, $value); 1.897 + } 1.898 + } 1.899 + } 1.900 + } 1.901 + } 1.902 + } 1.903 + } 1.904 + } 1.905 + } 1.906 + } 1.907 + } 1.908 + break; 1.909 + case 21: 1.910 + { 1.911 + $_ngcc_current_state = 20; 1.912 + $runtime.sendText(super._cookie, $value); 1.913 + } 1.914 + break; 1.915 + case 30: 1.916 + { 1.917 + if(($ai = $runtime.getAttributeIndex("","minOccurs"))>=0) { 1.918 + NGCCHandler h = new occurs(this, super._source, $runtime, 137); 1.919 + spawnChildFromText(h, $value); 1.920 + } 1.921 + else { 1.922 + if(($ai = $runtime.getAttributeIndex("","maxOccurs"))>=0) { 1.923 + NGCCHandler h = new occurs(this, super._source, $runtime, 137); 1.924 + spawnChildFromText(h, $value); 1.925 + } 1.926 + } 1.927 + } 1.928 + break; 1.929 + } 1.930 + } 1.931 + 1.932 + public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException { 1.933 + switch($__cookie__) { 1.934 + case 136: 1.935 + { 1.936 + term = ((ModelGroupImpl)$__result__); 1.937 + action7(); 1.938 + $_ngcc_current_state = 28; 1.939 + } 1.940 + break; 1.941 + case 107: 1.942 + { 1.943 + occurs = ((occurs)$__result__); 1.944 + $_ngcc_current_state = 3; 1.945 + } 1.946 + break; 1.947 + case 106: 1.948 + { 1.949 + wcBody = ((WildcardImpl)$__result__); 1.950 + action0(); 1.951 + $_ngcc_current_state = 2; 1.952 + } 1.953 + break; 1.954 + case 121: 1.955 + { 1.956 + occurs = ((occurs)$__result__); 1.957 + $_ngcc_current_state = 8; 1.958 + } 1.959 + break; 1.960 + case 127: 1.961 + { 1.962 + annotation = ((AnnotationImpl)$__result__); 1.963 + $_ngcc_current_state = 20; 1.964 + } 1.965 + break; 1.966 + case 137: 1.967 + { 1.968 + occurs = ((occurs)$__result__); 1.969 + $_ngcc_current_state = 29; 1.970 + } 1.971 + break; 1.972 + case 132: 1.973 + { 1.974 + occurs = ((occurs)$__result__); 1.975 + $_ngcc_current_state = 25; 1.976 + } 1.977 + break; 1.978 + case 118: 1.979 + { 1.980 + elementTypeName = ((UName)$__result__); 1.981 + $_ngcc_current_state = 13; 1.982 + } 1.983 + break; 1.984 + case 130: 1.985 + { 1.986 + groupName = ((UName)$__result__); 1.987 + $_ngcc_current_state = 23; 1.988 + } 1.989 + break; 1.990 + case 112: 1.991 + { 1.992 + anonymousElementDecl = ((ElementDecl)$__result__); 1.993 + action2(); 1.994 + $_ngcc_current_state = 7; 1.995 + } 1.996 + break; 1.997 + case 115: 1.998 + { 1.999 + annotation = ((AnnotationImpl)$__result__); 1.1000 + $_ngcc_current_state = 10; 1.1001 + } 1.1002 + break; 1.1003 + } 1.1004 + } 1.1005 + 1.1006 + public boolean accepted() { 1.1007 + return(($_ngcc_current_state == 0)); 1.1008 + } 1.1009 + 1.1010 + 1.1011 + private Locator wloc; 1.1012 + private Locator loc; 1.1013 + private ParticleImpl result; 1.1014 + private String compositorName; 1.1015 + 1.1016 +}