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/complexType.java Wed Apr 27 01:27:09 2016 +0800 1.3 @@ -0,0 +1,2003 @@ 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 complexType extends NGCCHandler { 1.49 + private Integer finalValue; 1.50 + private String name; 1.51 + private String abstractValue; 1.52 + private Integer blockValue; 1.53 + private XSFacet facet; 1.54 + private ForeignAttributesImpl fa; 1.55 + private AnnotationImpl annotation; 1.56 + private ContentTypeImpl explicitContent; 1.57 + private UName baseTypeName; 1.58 + private String mixedValue; 1.59 + protected final NGCCRuntimeEx $runtime; 1.60 + private int $_ngcc_current_state; 1.61 + protected String $uri; 1.62 + protected String $localName; 1.63 + protected String $qname; 1.64 + 1.65 + public final NGCCRuntime getRuntime() { 1.66 + return($runtime); 1.67 + } 1.68 + 1.69 + public complexType(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie) { 1.70 + super(source, parent, cookie); 1.71 + $runtime = runtime; 1.72 + $_ngcc_current_state = 88; 1.73 + } 1.74 + 1.75 + public complexType(NGCCRuntimeEx runtime) { 1.76 + this(null, runtime, runtime, -1); 1.77 + } 1.78 + 1.79 + private void action0()throws SAXException { 1.80 + 1.81 + result.setContentType(explicitContent); 1.82 + 1.83 +} 1.84 + 1.85 + private void action1()throws SAXException { 1.86 + 1.87 + baseType = $runtime.parser.schemaSet.anyType; 1.88 + makeResult(XSType.RESTRICTION); 1.89 + 1.90 +} 1.91 + 1.92 + private void action2()throws SAXException { 1.93 + 1.94 + result.setExplicitContent(explicitContent); 1.95 + result.setContentType( 1.96 + buildComplexExtensionContentModel(explicitContent)); 1.97 + 1.98 +} 1.99 + 1.100 + private void action3()throws SAXException { 1.101 + 1.102 + baseType = new DelayedRef.Type( 1.103 + $runtime, locator2, $runtime.currentSchema, baseTypeName ); 1.104 + makeResult(XSType.EXTENSION); 1.105 + 1.106 +} 1.107 + 1.108 + private void action4()throws SAXException { 1.109 + locator2 = $runtime.copyLocator(); 1.110 +} 1.111 + 1.112 + private void action5()throws SAXException { 1.113 + 1.114 + result.setContentType(explicitContent); 1.115 + 1.116 +} 1.117 + 1.118 + private void action6()throws SAXException { 1.119 + 1.120 + baseType = new DelayedRef.Type( 1.121 + $runtime, locator2, $runtime.currentSchema, baseTypeName ); 1.122 + makeResult(XSType.RESTRICTION); 1.123 + 1.124 +} 1.125 + 1.126 + private void action7()throws SAXException { 1.127 + locator2 = $runtime.copyLocator(); 1.128 +} 1.129 + 1.130 + private void action8()throws SAXException { 1.131 + 1.132 + contentType = new BaseContentRef($runtime,baseType); 1.133 + makeResult(XSType.EXTENSION); 1.134 + result.setContentType(contentType); 1.135 + 1.136 +} 1.137 + 1.138 + private void action9()throws SAXException { 1.139 + 1.140 + baseType = new DelayedRef.Type( 1.141 + $runtime, locator2, $runtime.currentSchema, baseTypeName ); 1.142 + 1.143 +} 1.144 + 1.145 + private void action10()throws SAXException { 1.146 + locator2 = $runtime.copyLocator(); 1.147 +} 1.148 + 1.149 + private void action11()throws SAXException { 1.150 + 1.151 + makeResult(XSType.RESTRICTION); 1.152 + result.setContentType(contentType); 1.153 + 1.154 +} 1.155 + 1.156 + private void action12()throws SAXException { 1.157 + contentSimpleType.addFacet(facet); 1.158 +} 1.159 + 1.160 + private void action13()throws SAXException { 1.161 + 1.162 + if(baseContentType==null) { 1.163 + // contentType of the base type, which must be a complex type 1.164 + baseContentType = new BaseContentSimpleTypeRef(baseType); 1.165 + } 1.166 + 1.167 + contentSimpleType = new RestrictionSimpleTypeImpl( 1.168 + $runtime.document, null/*?*/, locator2, null, 1.169 + null, true, Collections.EMPTY_SET, baseContentType ); 1.170 + contentType = contentSimpleType; 1.171 + 1.172 +} 1.173 + 1.174 + private void action14()throws SAXException { 1.175 + 1.176 + baseType = new DelayedRef.Type( 1.177 + $runtime, locator2, $runtime.currentSchema, baseTypeName ); 1.178 + 1.179 +} 1.180 + 1.181 + private void action15()throws SAXException { 1.182 + locator2 = $runtime.copyLocator(); 1.183 +} 1.184 + 1.185 + private void action16()throws SAXException { 1.186 + locator = $runtime.copyLocator(); 1.187 +} 1.188 + 1.189 + public void enterElement(String $__uri, String $__local, String $__qname, Attributes $attrs) throws SAXException { 1.190 + int $ai; 1.191 + $uri = $__uri; 1.192 + $localName = $__local; 1.193 + $qname = $__qname; 1.194 + switch($_ngcc_current_state) { 1.195 + case 54: 1.196 + { 1.197 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { 1.198 + NGCCHandler h = new annotation(this, super._source, $runtime, 617, annotation,AnnotationContext.COMPLEXTYPE_DECL); 1.199 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.200 + } 1.201 + else { 1.202 + $_ngcc_current_state = 52; 1.203 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.204 + } 1.205 + } 1.206 + break; 1.207 + case 76: 1.208 + { 1.209 + if(($ai = $runtime.getAttributeIndex("","final"))>=0) { 1.210 + $runtime.consumeAttribute($ai); 1.211 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.212 + } 1.213 + else { 1.214 + $_ngcc_current_state = 72; 1.215 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.216 + } 1.217 + } 1.218 + break; 1.219 + case 49: 1.220 + { 1.221 + if((((((((((((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("minExclusive")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("maxExclusive"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("minInclusive"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("maxInclusive"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("totalDigits"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("fractionDigits"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("length"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("maxLength"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("minLength"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("enumeration"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("whiteSpace"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("pattern")))) { 1.222 + NGCCHandler h = new facet(this, super._source, $runtime, 610); 1.223 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.224 + } 1.225 + else { 1.226 + $_ngcc_current_state = 48; 1.227 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.228 + } 1.229 + } 1.230 + break; 1.231 + case 7: 1.232 + { 1.233 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("restriction"))) { 1.234 + $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 1.235 + action7(); 1.236 + $_ngcc_current_state = 24; 1.237 + } 1.238 + else { 1.239 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("extension"))) { 1.240 + $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 1.241 + action4(); 1.242 + $_ngcc_current_state = 15; 1.243 + } 1.244 + else { 1.245 + unexpectedEnterElement($__qname); 1.246 + } 1.247 + } 1.248 + } 1.249 + break; 1.250 + case 61: 1.251 + { 1.252 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { 1.253 + NGCCHandler h = new annotation(this, super._source, $runtime, 626, annotation,AnnotationContext.COMPLEXTYPE_DECL); 1.254 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.255 + } 1.256 + else { 1.257 + $_ngcc_current_state = 35; 1.258 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.259 + } 1.260 + } 1.261 + break; 1.262 + case 18: 1.263 + { 1.264 + if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute")) || (($__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"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))))))))) { 1.265 + NGCCHandler h = new complexType_complexContent_body(this, super._source, $runtime, 571, result); 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 12: 1.274 + { 1.275 + if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute")) || (($__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"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute")))))))))) { 1.276 + NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 564, fa); 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 26: 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, 582, annotation,AnnotationContext.COMPLEXTYPE_DECL); 1.288 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.289 + } 1.290 + else { 1.291 + $_ngcc_current_state = 7; 1.292 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.293 + } 1.294 + } 1.295 + break; 1.296 + case 38: 1.297 + { 1.298 + action8(); 1.299 + $_ngcc_current_state = 37; 1.300 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.301 + } 1.302 + break; 1.303 + case 44: 1.304 + { 1.305 + if(($ai = $runtime.getAttributeIndex("","base"))>=0) { 1.306 + $runtime.consumeAttribute($ai); 1.307 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.308 + } 1.309 + else { 1.310 + unexpectedEnterElement($__qname); 1.311 + } 1.312 + } 1.313 + break; 1.314 + case 68: 1.315 + { 1.316 + if(($ai = $runtime.getAttributeIndex("","name"))>=0) { 1.317 + $runtime.consumeAttribute($ai); 1.318 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.319 + } 1.320 + else { 1.321 + $_ngcc_current_state = 67; 1.322 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.323 + } 1.324 + } 1.325 + break; 1.326 + case 35: 1.327 + { 1.328 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("restriction"))) { 1.329 + $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 1.330 + action15(); 1.331 + $_ngcc_current_state = 59; 1.332 + } 1.333 + else { 1.334 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("extension"))) { 1.335 + $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 1.336 + action10(); 1.337 + $_ngcc_current_state = 44; 1.338 + } 1.339 + else { 1.340 + unexpectedEnterElement($__qname); 1.341 + } 1.342 + } 1.343 + } 1.344 + break; 1.345 + case 80: 1.346 + { 1.347 + if(($ai = $runtime.getAttributeIndex("","block"))>=0) { 1.348 + $runtime.consumeAttribute($ai); 1.349 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.350 + } 1.351 + else { 1.352 + $_ngcc_current_state = 76; 1.353 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.354 + } 1.355 + } 1.356 + break; 1.357 + case 63: 1.358 + { 1.359 + if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("restriction")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("extension"))))) { 1.360 + NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 628, fa); 1.361 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.362 + } 1.363 + else { 1.364 + unexpectedEnterElement($__qname); 1.365 + } 1.366 + } 1.367 + break; 1.368 + case 88: 1.369 + { 1.370 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) { 1.371 + $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 1.372 + action16(); 1.373 + $_ngcc_current_state = 84; 1.374 + } 1.375 + else { 1.376 + unexpectedEnterElement($__qname); 1.377 + } 1.378 + } 1.379 + break; 1.380 + case 84: 1.381 + { 1.382 + if(($ai = $runtime.getAttributeIndex("","abstract"))>=0) { 1.383 + $runtime.consumeAttribute($ai); 1.384 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.385 + } 1.386 + else { 1.387 + $_ngcc_current_state = 80; 1.388 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.389 + } 1.390 + } 1.391 + break; 1.392 + case 37: 1.393 + { 1.394 + if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))))) { 1.395 + NGCCHandler h = new attributeUses(this, super._source, $runtime, 594, result); 1.396 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.397 + } 1.398 + else { 1.399 + unexpectedEnterElement($__qname); 1.400 + } 1.401 + } 1.402 + break; 1.403 + case 9: 1.404 + { 1.405 + if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute")) || (($__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"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))))))))) { 1.406 + NGCCHandler h = new complexType_complexContent_body(this, super._source, $runtime, 560, result); 1.407 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.408 + } 1.409 + else { 1.410 + unexpectedEnterElement($__qname); 1.411 + } 1.412 + } 1.413 + break; 1.414 + case 19: 1.415 + { 1.416 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { 1.417 + NGCCHandler h = new annotation(this, super._source, $runtime, 573, annotation,AnnotationContext.COMPLEXTYPE_DECL); 1.418 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.419 + } 1.420 + else { 1.421 + $_ngcc_current_state = 18; 1.422 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.423 + } 1.424 + } 1.425 + break; 1.426 + case 15: 1.427 + { 1.428 + if(($ai = $runtime.getAttributeIndex("","base"))>=0) { 1.429 + $runtime.consumeAttribute($ai); 1.430 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.431 + } 1.432 + else { 1.433 + unexpectedEnterElement($__qname); 1.434 + } 1.435 + } 1.436 + break; 1.437 + case 48: 1.438 + { 1.439 + if((((((((((((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("minExclusive")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("maxExclusive"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("minInclusive"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("maxInclusive"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("totalDigits"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("fractionDigits"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("length"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("maxLength"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("minLength"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("enumeration"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("whiteSpace"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("pattern")))) { 1.440 + NGCCHandler h = new facet(this, super._source, $runtime, 609); 1.441 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.442 + } 1.443 + else { 1.444 + action11(); 1.445 + $_ngcc_current_state = 47; 1.446 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.447 + } 1.448 + } 1.449 + break; 1.450 + case 47: 1.451 + { 1.452 + if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))))) { 1.453 + NGCCHandler h = new attributeUses(this, super._source, $runtime, 606, result); 1.454 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.455 + } 1.456 + else { 1.457 + unexpectedEnterElement($__qname); 1.458 + } 1.459 + } 1.460 + break; 1.461 + case 24: 1.462 + { 1.463 + if(($ai = $runtime.getAttributeIndex("","base"))>=0) { 1.464 + $runtime.consumeAttribute($ai); 1.465 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.466 + } 1.467 + else { 1.468 + unexpectedEnterElement($__qname); 1.469 + } 1.470 + } 1.471 + break; 1.472 + case 28: 1.473 + { 1.474 + if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("extension")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("restriction"))))) { 1.475 + NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 584, fa); 1.476 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.477 + } 1.478 + else { 1.479 + unexpectedEnterElement($__qname); 1.480 + } 1.481 + } 1.482 + break; 1.483 + case 29: 1.484 + { 1.485 + if(($ai = $runtime.getAttributeIndex("","mixed"))>=0) { 1.486 + $runtime.consumeAttribute($ai); 1.487 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.488 + } 1.489 + else { 1.490 + $_ngcc_current_state = 28; 1.491 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.492 + } 1.493 + } 1.494 + break; 1.495 + case 67: 1.496 + { 1.497 + if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleContent")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexContent")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute")) || (($__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"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute")))))))))))) { 1.498 + NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 636, fa); 1.499 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.500 + } 1.501 + else { 1.502 + unexpectedEnterElement($__qname); 1.503 + } 1.504 + } 1.505 + break; 1.506 + case 10: 1.507 + { 1.508 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { 1.509 + NGCCHandler h = new annotation(this, super._source, $runtime, 562, annotation,AnnotationContext.COMPLEXTYPE_DECL); 1.510 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.511 + } 1.512 + else { 1.513 + $_ngcc_current_state = 9; 1.514 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.515 + } 1.516 + } 1.517 + break; 1.518 + case 41: 1.519 + { 1.520 + if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute")))))) { 1.521 + NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 599, fa); 1.522 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.523 + } 1.524 + else { 1.525 + unexpectedEnterElement($__qname); 1.526 + } 1.527 + } 1.528 + break; 1.529 + case 2: 1.530 + { 1.531 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleContent"))) { 1.532 + $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 1.533 + $_ngcc_current_state = 63; 1.534 + } 1.535 + else { 1.536 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexContent"))) { 1.537 + $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); 1.538 + $_ngcc_current_state = 29; 1.539 + } 1.540 + else { 1.541 + if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute")) || (($__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"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))))))))) { 1.542 + action1(); 1.543 + NGCCHandler h = new complexType_complexContent_body(this, super._source, $runtime, 557, result); 1.544 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.545 + } 1.546 + else { 1.547 + unexpectedEnterElement($__qname); 1.548 + } 1.549 + } 1.550 + } 1.551 + } 1.552 + break; 1.553 + case 21: 1.554 + { 1.555 + if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute")) || (($__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"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute")))))))))) { 1.556 + NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 575, fa); 1.557 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.558 + } 1.559 + else { 1.560 + unexpectedEnterElement($__qname); 1.561 + } 1.562 + } 1.563 + break; 1.564 + case 72: 1.565 + { 1.566 + if(($ai = $runtime.getAttributeIndex("","mixed"))>=0) { 1.567 + $runtime.consumeAttribute($ai); 1.568 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.569 + } 1.570 + else { 1.571 + $_ngcc_current_state = 68; 1.572 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.573 + } 1.574 + } 1.575 + break; 1.576 + case 56: 1.577 + { 1.578 + if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup")) || ((((((((((((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("minExclusive")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("maxExclusive"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("minInclusive"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("maxInclusive"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("totalDigits"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("fractionDigits"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("length"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("maxLength"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("minLength"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("enumeration"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("whiteSpace"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("pattern"))) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute")))))))) { 1.579 + NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 619, fa); 1.580 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.581 + } 1.582 + else { 1.583 + unexpectedEnterElement($__qname); 1.584 + } 1.585 + } 1.586 + break; 1.587 + case 39: 1.588 + { 1.589 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { 1.590 + NGCCHandler h = new annotation(this, super._source, $runtime, 597, annotation,AnnotationContext.COMPLEXTYPE_DECL); 1.591 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.592 + } 1.593 + else { 1.594 + $_ngcc_current_state = 38; 1.595 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.596 + } 1.597 + } 1.598 + break; 1.599 + case 59: 1.600 + { 1.601 + if(($ai = $runtime.getAttributeIndex("","base"))>=0) { 1.602 + $runtime.consumeAttribute($ai); 1.603 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.604 + } 1.605 + else { 1.606 + unexpectedEnterElement($__qname); 1.607 + } 1.608 + } 1.609 + break; 1.610 + case 52: 1.611 + { 1.612 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) { 1.613 + NGCCHandler h = new simpleType(this, super._source, $runtime, 614); 1.614 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.615 + } 1.616 + else { 1.617 + $_ngcc_current_state = 51; 1.618 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.619 + } 1.620 + } 1.621 + break; 1.622 + case 0: 1.623 + { 1.624 + revertToParentFromEnterElement(result, super._cookie, $__uri, $__local, $__qname, $attrs); 1.625 + } 1.626 + break; 1.627 + case 51: 1.628 + { 1.629 + action13(); 1.630 + $_ngcc_current_state = 49; 1.631 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.632 + } 1.633 + break; 1.634 + case 65: 1.635 + { 1.636 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { 1.637 + NGCCHandler h = new annotation(this, super._source, $runtime, 634, null,AnnotationContext.COMPLEXTYPE_DECL); 1.638 + spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); 1.639 + } 1.640 + else { 1.641 + $_ngcc_current_state = 2; 1.642 + $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); 1.643 + } 1.644 + } 1.645 + break; 1.646 + default: 1.647 + { 1.648 + unexpectedEnterElement($__qname); 1.649 + } 1.650 + break; 1.651 + } 1.652 + } 1.653 + 1.654 + public void leaveElement(String $__uri, String $__local, String $__qname) throws SAXException { 1.655 + int $ai; 1.656 + $uri = $__uri; 1.657 + $localName = $__local; 1.658 + $qname = $__qname; 1.659 + switch($_ngcc_current_state) { 1.660 + case 54: 1.661 + { 1.662 + $_ngcc_current_state = 52; 1.663 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.664 + } 1.665 + break; 1.666 + case 76: 1.667 + { 1.668 + if(($ai = $runtime.getAttributeIndex("","final"))>=0) { 1.669 + $runtime.consumeAttribute($ai); 1.670 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.671 + } 1.672 + else { 1.673 + $_ngcc_current_state = 72; 1.674 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.675 + } 1.676 + } 1.677 + break; 1.678 + case 49: 1.679 + { 1.680 + $_ngcc_current_state = 48; 1.681 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.682 + } 1.683 + break; 1.684 + case 6: 1.685 + { 1.686 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexContent"))) { 1.687 + $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 1.688 + $_ngcc_current_state = 1; 1.689 + } 1.690 + else { 1.691 + unexpectedLeaveElement($__qname); 1.692 + } 1.693 + } 1.694 + break; 1.695 + case 61: 1.696 + { 1.697 + $_ngcc_current_state = 35; 1.698 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.699 + } 1.700 + break; 1.701 + case 46: 1.702 + { 1.703 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("restriction"))) { 1.704 + $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 1.705 + $_ngcc_current_state = 34; 1.706 + } 1.707 + else { 1.708 + unexpectedLeaveElement($__qname); 1.709 + } 1.710 + } 1.711 + break; 1.712 + case 36: 1.713 + { 1.714 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("extension"))) { 1.715 + $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 1.716 + $_ngcc_current_state = 34; 1.717 + } 1.718 + else { 1.719 + unexpectedLeaveElement($__qname); 1.720 + } 1.721 + } 1.722 + break; 1.723 + case 18: 1.724 + { 1.725 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("restriction"))) { 1.726 + NGCCHandler h = new complexType_complexContent_body(this, super._source, $runtime, 571, result); 1.727 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.728 + } 1.729 + else { 1.730 + unexpectedLeaveElement($__qname); 1.731 + } 1.732 + } 1.733 + break; 1.734 + case 12: 1.735 + { 1.736 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("extension"))) { 1.737 + NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 564, fa); 1.738 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.739 + } 1.740 + else { 1.741 + unexpectedLeaveElement($__qname); 1.742 + } 1.743 + } 1.744 + break; 1.745 + case 26: 1.746 + { 1.747 + $_ngcc_current_state = 7; 1.748 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.749 + } 1.750 + break; 1.751 + case 34: 1.752 + { 1.753 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleContent"))) { 1.754 + $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 1.755 + $_ngcc_current_state = 1; 1.756 + } 1.757 + else { 1.758 + unexpectedLeaveElement($__qname); 1.759 + } 1.760 + } 1.761 + break; 1.762 + case 38: 1.763 + { 1.764 + action8(); 1.765 + $_ngcc_current_state = 37; 1.766 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.767 + } 1.768 + break; 1.769 + case 44: 1.770 + { 1.771 + if(($ai = $runtime.getAttributeIndex("","base"))>=0) { 1.772 + $runtime.consumeAttribute($ai); 1.773 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.774 + } 1.775 + else { 1.776 + unexpectedLeaveElement($__qname); 1.777 + } 1.778 + } 1.779 + break; 1.780 + case 68: 1.781 + { 1.782 + if(($ai = $runtime.getAttributeIndex("","name"))>=0) { 1.783 + $runtime.consumeAttribute($ai); 1.784 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.785 + } 1.786 + else { 1.787 + $_ngcc_current_state = 67; 1.788 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.789 + } 1.790 + } 1.791 + break; 1.792 + case 1: 1.793 + { 1.794 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) { 1.795 + $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 1.796 + $_ngcc_current_state = 0; 1.797 + } 1.798 + else { 1.799 + unexpectedLeaveElement($__qname); 1.800 + } 1.801 + } 1.802 + break; 1.803 + case 80: 1.804 + { 1.805 + if(($ai = $runtime.getAttributeIndex("","block"))>=0) { 1.806 + $runtime.consumeAttribute($ai); 1.807 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.808 + } 1.809 + else { 1.810 + $_ngcc_current_state = 76; 1.811 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.812 + } 1.813 + } 1.814 + break; 1.815 + case 37: 1.816 + { 1.817 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("extension"))) { 1.818 + NGCCHandler h = new attributeUses(this, super._source, $runtime, 594, result); 1.819 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.820 + } 1.821 + else { 1.822 + unexpectedLeaveElement($__qname); 1.823 + } 1.824 + } 1.825 + break; 1.826 + case 84: 1.827 + { 1.828 + if(($ai = $runtime.getAttributeIndex("","abstract"))>=0) { 1.829 + $runtime.consumeAttribute($ai); 1.830 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.831 + } 1.832 + else { 1.833 + $_ngcc_current_state = 80; 1.834 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.835 + } 1.836 + } 1.837 + break; 1.838 + case 9: 1.839 + { 1.840 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("extension"))) { 1.841 + NGCCHandler h = new complexType_complexContent_body(this, super._source, $runtime, 560, result); 1.842 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.843 + } 1.844 + else { 1.845 + unexpectedLeaveElement($__qname); 1.846 + } 1.847 + } 1.848 + break; 1.849 + case 19: 1.850 + { 1.851 + $_ngcc_current_state = 18; 1.852 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.853 + } 1.854 + break; 1.855 + case 15: 1.856 + { 1.857 + if(($ai = $runtime.getAttributeIndex("","base"))>=0) { 1.858 + $runtime.consumeAttribute($ai); 1.859 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.860 + } 1.861 + else { 1.862 + unexpectedLeaveElement($__qname); 1.863 + } 1.864 + } 1.865 + break; 1.866 + case 48: 1.867 + { 1.868 + action11(); 1.869 + $_ngcc_current_state = 47; 1.870 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.871 + } 1.872 + break; 1.873 + case 47: 1.874 + { 1.875 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("restriction"))) { 1.876 + NGCCHandler h = new attributeUses(this, super._source, $runtime, 606, result); 1.877 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.878 + } 1.879 + else { 1.880 + unexpectedLeaveElement($__qname); 1.881 + } 1.882 + } 1.883 + break; 1.884 + case 8: 1.885 + { 1.886 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("extension"))) { 1.887 + $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 1.888 + $_ngcc_current_state = 6; 1.889 + } 1.890 + else { 1.891 + unexpectedLeaveElement($__qname); 1.892 + } 1.893 + } 1.894 + break; 1.895 + case 24: 1.896 + { 1.897 + if(($ai = $runtime.getAttributeIndex("","base"))>=0) { 1.898 + $runtime.consumeAttribute($ai); 1.899 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.900 + } 1.901 + else { 1.902 + unexpectedLeaveElement($__qname); 1.903 + } 1.904 + } 1.905 + break; 1.906 + case 29: 1.907 + { 1.908 + if(($ai = $runtime.getAttributeIndex("","mixed"))>=0) { 1.909 + $runtime.consumeAttribute($ai); 1.910 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.911 + } 1.912 + else { 1.913 + $_ngcc_current_state = 28; 1.914 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.915 + } 1.916 + } 1.917 + break; 1.918 + case 67: 1.919 + { 1.920 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) { 1.921 + NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 636, fa); 1.922 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.923 + } 1.924 + else { 1.925 + unexpectedLeaveElement($__qname); 1.926 + } 1.927 + } 1.928 + break; 1.929 + case 10: 1.930 + { 1.931 + $_ngcc_current_state = 9; 1.932 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.933 + } 1.934 + break; 1.935 + case 41: 1.936 + { 1.937 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("extension"))) { 1.938 + NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 599, fa); 1.939 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.940 + } 1.941 + else { 1.942 + unexpectedLeaveElement($__qname); 1.943 + } 1.944 + } 1.945 + break; 1.946 + case 2: 1.947 + { 1.948 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) { 1.949 + action1(); 1.950 + NGCCHandler h = new complexType_complexContent_body(this, super._source, $runtime, 557, result); 1.951 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.952 + } 1.953 + else { 1.954 + unexpectedLeaveElement($__qname); 1.955 + } 1.956 + } 1.957 + break; 1.958 + case 21: 1.959 + { 1.960 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("restriction"))) { 1.961 + NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 575, fa); 1.962 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.963 + } 1.964 + else { 1.965 + unexpectedLeaveElement($__qname); 1.966 + } 1.967 + } 1.968 + break; 1.969 + case 72: 1.970 + { 1.971 + if(($ai = $runtime.getAttributeIndex("","mixed"))>=0) { 1.972 + $runtime.consumeAttribute($ai); 1.973 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.974 + } 1.975 + else { 1.976 + $_ngcc_current_state = 68; 1.977 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.978 + } 1.979 + } 1.980 + break; 1.981 + case 56: 1.982 + { 1.983 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("restriction"))) { 1.984 + NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 619, fa); 1.985 + spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); 1.986 + } 1.987 + else { 1.988 + unexpectedLeaveElement($__qname); 1.989 + } 1.990 + } 1.991 + break; 1.992 + case 39: 1.993 + { 1.994 + $_ngcc_current_state = 38; 1.995 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.996 + } 1.997 + break; 1.998 + case 59: 1.999 + { 1.1000 + if(($ai = $runtime.getAttributeIndex("","base"))>=0) { 1.1001 + $runtime.consumeAttribute($ai); 1.1002 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.1003 + } 1.1004 + else { 1.1005 + unexpectedLeaveElement($__qname); 1.1006 + } 1.1007 + } 1.1008 + break; 1.1009 + case 52: 1.1010 + { 1.1011 + $_ngcc_current_state = 51; 1.1012 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.1013 + } 1.1014 + break; 1.1015 + case 17: 1.1016 + { 1.1017 + if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("restriction"))) { 1.1018 + $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); 1.1019 + $_ngcc_current_state = 6; 1.1020 + } 1.1021 + else { 1.1022 + unexpectedLeaveElement($__qname); 1.1023 + } 1.1024 + } 1.1025 + break; 1.1026 + case 0: 1.1027 + { 1.1028 + revertToParentFromLeaveElement(result, super._cookie, $__uri, $__local, $__qname); 1.1029 + } 1.1030 + break; 1.1031 + case 51: 1.1032 + { 1.1033 + action13(); 1.1034 + $_ngcc_current_state = 49; 1.1035 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.1036 + } 1.1037 + break; 1.1038 + case 65: 1.1039 + { 1.1040 + $_ngcc_current_state = 2; 1.1041 + $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); 1.1042 + } 1.1043 + break; 1.1044 + default: 1.1045 + { 1.1046 + unexpectedLeaveElement($__qname); 1.1047 + } 1.1048 + break; 1.1049 + } 1.1050 + } 1.1051 + 1.1052 + public void enterAttribute(String $__uri, String $__local, String $__qname) throws SAXException { 1.1053 + int $ai; 1.1054 + $uri = $__uri; 1.1055 + $localName = $__local; 1.1056 + $qname = $__qname; 1.1057 + switch($_ngcc_current_state) { 1.1058 + case 29: 1.1059 + { 1.1060 + if(($__uri.equals("") && $__local.equals("mixed"))) { 1.1061 + $_ngcc_current_state = 31; 1.1062 + } 1.1063 + else { 1.1064 + $_ngcc_current_state = 28; 1.1065 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1066 + } 1.1067 + } 1.1068 + break; 1.1069 + case 54: 1.1070 + { 1.1071 + $_ngcc_current_state = 52; 1.1072 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1073 + } 1.1074 + break; 1.1075 + case 10: 1.1076 + { 1.1077 + $_ngcc_current_state = 9; 1.1078 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1079 + } 1.1080 + break; 1.1081 + case 76: 1.1082 + { 1.1083 + if(($__uri.equals("") && $__local.equals("final"))) { 1.1084 + $_ngcc_current_state = 78; 1.1085 + } 1.1086 + else { 1.1087 + $_ngcc_current_state = 72; 1.1088 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1089 + } 1.1090 + } 1.1091 + break; 1.1092 + case 49: 1.1093 + { 1.1094 + $_ngcc_current_state = 48; 1.1095 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1096 + } 1.1097 + break; 1.1098 + case 61: 1.1099 + { 1.1100 + $_ngcc_current_state = 35; 1.1101 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1102 + } 1.1103 + break; 1.1104 + case 72: 1.1105 + { 1.1106 + if(($__uri.equals("") && $__local.equals("mixed"))) { 1.1107 + $_ngcc_current_state = 74; 1.1108 + } 1.1109 + else { 1.1110 + $_ngcc_current_state = 68; 1.1111 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1112 + } 1.1113 + } 1.1114 + break; 1.1115 + case 39: 1.1116 + { 1.1117 + $_ngcc_current_state = 38; 1.1118 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1119 + } 1.1120 + break; 1.1121 + case 59: 1.1122 + { 1.1123 + if(($__uri.equals("") && $__local.equals("base"))) { 1.1124 + $_ngcc_current_state = 58; 1.1125 + } 1.1126 + else { 1.1127 + unexpectedEnterAttribute($__qname); 1.1128 + } 1.1129 + } 1.1130 + break; 1.1131 + case 26: 1.1132 + { 1.1133 + $_ngcc_current_state = 7; 1.1134 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1135 + } 1.1136 + break; 1.1137 + case 38: 1.1138 + { 1.1139 + action8(); 1.1140 + $_ngcc_current_state = 37; 1.1141 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1142 + } 1.1143 + break; 1.1144 + case 44: 1.1145 + { 1.1146 + if(($__uri.equals("") && $__local.equals("base"))) { 1.1147 + $_ngcc_current_state = 43; 1.1148 + } 1.1149 + else { 1.1150 + unexpectedEnterAttribute($__qname); 1.1151 + } 1.1152 + } 1.1153 + break; 1.1154 + case 68: 1.1155 + { 1.1156 + if(($__uri.equals("") && $__local.equals("name"))) { 1.1157 + $_ngcc_current_state = 70; 1.1158 + } 1.1159 + else { 1.1160 + $_ngcc_current_state = 67; 1.1161 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1162 + } 1.1163 + } 1.1164 + break; 1.1165 + case 52: 1.1166 + { 1.1167 + $_ngcc_current_state = 51; 1.1168 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1169 + } 1.1170 + break; 1.1171 + case 0: 1.1172 + { 1.1173 + revertToParentFromEnterAttribute(result, super._cookie, $__uri, $__local, $__qname); 1.1174 + } 1.1175 + break; 1.1176 + case 51: 1.1177 + { 1.1178 + action13(); 1.1179 + $_ngcc_current_state = 49; 1.1180 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1181 + } 1.1182 + break; 1.1183 + case 80: 1.1184 + { 1.1185 + if(($__uri.equals("") && $__local.equals("block"))) { 1.1186 + $_ngcc_current_state = 82; 1.1187 + } 1.1188 + else { 1.1189 + $_ngcc_current_state = 76; 1.1190 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1191 + } 1.1192 + } 1.1193 + break; 1.1194 + case 84: 1.1195 + { 1.1196 + if(($__uri.equals("") && $__local.equals("abstract"))) { 1.1197 + $_ngcc_current_state = 86; 1.1198 + } 1.1199 + else { 1.1200 + $_ngcc_current_state = 80; 1.1201 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1202 + } 1.1203 + } 1.1204 + break; 1.1205 + case 19: 1.1206 + { 1.1207 + $_ngcc_current_state = 18; 1.1208 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1209 + } 1.1210 + break; 1.1211 + case 15: 1.1212 + { 1.1213 + if(($__uri.equals("") && $__local.equals("base"))) { 1.1214 + $_ngcc_current_state = 14; 1.1215 + } 1.1216 + else { 1.1217 + unexpectedEnterAttribute($__qname); 1.1218 + } 1.1219 + } 1.1220 + break; 1.1221 + case 65: 1.1222 + { 1.1223 + $_ngcc_current_state = 2; 1.1224 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1225 + } 1.1226 + break; 1.1227 + case 48: 1.1228 + { 1.1229 + action11(); 1.1230 + $_ngcc_current_state = 47; 1.1231 + $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); 1.1232 + } 1.1233 + break; 1.1234 + case 24: 1.1235 + { 1.1236 + if(($__uri.equals("") && $__local.equals("base"))) { 1.1237 + $_ngcc_current_state = 23; 1.1238 + } 1.1239 + else { 1.1240 + unexpectedEnterAttribute($__qname); 1.1241 + } 1.1242 + } 1.1243 + break; 1.1244 + default: 1.1245 + { 1.1246 + unexpectedEnterAttribute($__qname); 1.1247 + } 1.1248 + break; 1.1249 + } 1.1250 + } 1.1251 + 1.1252 + public void leaveAttribute(String $__uri, String $__local, String $__qname) throws SAXException { 1.1253 + int $ai; 1.1254 + $uri = $__uri; 1.1255 + $localName = $__local; 1.1256 + $qname = $__qname; 1.1257 + switch($_ngcc_current_state) { 1.1258 + case 54: 1.1259 + { 1.1260 + $_ngcc_current_state = 52; 1.1261 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1262 + } 1.1263 + break; 1.1264 + case 76: 1.1265 + { 1.1266 + $_ngcc_current_state = 72; 1.1267 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1268 + } 1.1269 + break; 1.1270 + case 49: 1.1271 + { 1.1272 + $_ngcc_current_state = 48; 1.1273 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1274 + } 1.1275 + break; 1.1276 + case 30: 1.1277 + { 1.1278 + if(($__uri.equals("") && $__local.equals("mixed"))) { 1.1279 + $_ngcc_current_state = 28; 1.1280 + } 1.1281 + else { 1.1282 + unexpectedLeaveAttribute($__qname); 1.1283 + } 1.1284 + } 1.1285 + break; 1.1286 + case 73: 1.1287 + { 1.1288 + if(($__uri.equals("") && $__local.equals("mixed"))) { 1.1289 + $_ngcc_current_state = 68; 1.1290 + } 1.1291 + else { 1.1292 + unexpectedLeaveAttribute($__qname); 1.1293 + } 1.1294 + } 1.1295 + break; 1.1296 + case 61: 1.1297 + { 1.1298 + $_ngcc_current_state = 35; 1.1299 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1300 + } 1.1301 + break; 1.1302 + case 26: 1.1303 + { 1.1304 + $_ngcc_current_state = 7; 1.1305 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1306 + } 1.1307 + break; 1.1308 + case 38: 1.1309 + { 1.1310 + action8(); 1.1311 + $_ngcc_current_state = 37; 1.1312 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1313 + } 1.1314 + break; 1.1315 + case 68: 1.1316 + { 1.1317 + $_ngcc_current_state = 67; 1.1318 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1319 + } 1.1320 + break; 1.1321 + case 13: 1.1322 + { 1.1323 + if(($__uri.equals("") && $__local.equals("base"))) { 1.1324 + $_ngcc_current_state = 12; 1.1325 + } 1.1326 + else { 1.1327 + unexpectedLeaveAttribute($__qname); 1.1328 + } 1.1329 + } 1.1330 + break; 1.1331 + case 85: 1.1332 + { 1.1333 + if(($__uri.equals("") && $__local.equals("abstract"))) { 1.1334 + $_ngcc_current_state = 80; 1.1335 + } 1.1336 + else { 1.1337 + unexpectedLeaveAttribute($__qname); 1.1338 + } 1.1339 + } 1.1340 + break; 1.1341 + case 80: 1.1342 + { 1.1343 + $_ngcc_current_state = 76; 1.1344 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1345 + } 1.1346 + break; 1.1347 + case 84: 1.1348 + { 1.1349 + $_ngcc_current_state = 80; 1.1350 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1351 + } 1.1352 + break; 1.1353 + case 19: 1.1354 + { 1.1355 + $_ngcc_current_state = 18; 1.1356 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1357 + } 1.1358 + break; 1.1359 + case 48: 1.1360 + { 1.1361 + action11(); 1.1362 + $_ngcc_current_state = 47; 1.1363 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1364 + } 1.1365 + break; 1.1366 + case 29: 1.1367 + { 1.1368 + $_ngcc_current_state = 28; 1.1369 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1370 + } 1.1371 + break; 1.1372 + case 10: 1.1373 + { 1.1374 + $_ngcc_current_state = 9; 1.1375 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1376 + } 1.1377 + break; 1.1378 + case 77: 1.1379 + { 1.1380 + if(($__uri.equals("") && $__local.equals("final"))) { 1.1381 + $_ngcc_current_state = 72; 1.1382 + } 1.1383 + else { 1.1384 + unexpectedLeaveAttribute($__qname); 1.1385 + } 1.1386 + } 1.1387 + break; 1.1388 + case 72: 1.1389 + { 1.1390 + $_ngcc_current_state = 68; 1.1391 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1392 + } 1.1393 + break; 1.1394 + case 69: 1.1395 + { 1.1396 + if(($__uri.equals("") && $__local.equals("name"))) { 1.1397 + $_ngcc_current_state = 67; 1.1398 + } 1.1399 + else { 1.1400 + unexpectedLeaveAttribute($__qname); 1.1401 + } 1.1402 + } 1.1403 + break; 1.1404 + case 39: 1.1405 + { 1.1406 + $_ngcc_current_state = 38; 1.1407 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1408 + } 1.1409 + break; 1.1410 + case 22: 1.1411 + { 1.1412 + if(($__uri.equals("") && $__local.equals("base"))) { 1.1413 + $_ngcc_current_state = 21; 1.1414 + } 1.1415 + else { 1.1416 + unexpectedLeaveAttribute($__qname); 1.1417 + } 1.1418 + } 1.1419 + break; 1.1420 + case 81: 1.1421 + { 1.1422 + if(($__uri.equals("") && $__local.equals("block"))) { 1.1423 + $_ngcc_current_state = 76; 1.1424 + } 1.1425 + else { 1.1426 + unexpectedLeaveAttribute($__qname); 1.1427 + } 1.1428 + } 1.1429 + break; 1.1430 + case 42: 1.1431 + { 1.1432 + if(($__uri.equals("") && $__local.equals("base"))) { 1.1433 + $_ngcc_current_state = 41; 1.1434 + } 1.1435 + else { 1.1436 + unexpectedLeaveAttribute($__qname); 1.1437 + } 1.1438 + } 1.1439 + break; 1.1440 + case 52: 1.1441 + { 1.1442 + $_ngcc_current_state = 51; 1.1443 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1444 + } 1.1445 + break; 1.1446 + case 0: 1.1447 + { 1.1448 + revertToParentFromLeaveAttribute(result, super._cookie, $__uri, $__local, $__qname); 1.1449 + } 1.1450 + break; 1.1451 + case 51: 1.1452 + { 1.1453 + action13(); 1.1454 + $_ngcc_current_state = 49; 1.1455 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1456 + } 1.1457 + break; 1.1458 + case 57: 1.1459 + { 1.1460 + if(($__uri.equals("") && $__local.equals("base"))) { 1.1461 + $_ngcc_current_state = 56; 1.1462 + } 1.1463 + else { 1.1464 + unexpectedLeaveAttribute($__qname); 1.1465 + } 1.1466 + } 1.1467 + break; 1.1468 + case 65: 1.1469 + { 1.1470 + $_ngcc_current_state = 2; 1.1471 + $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); 1.1472 + } 1.1473 + break; 1.1474 + default: 1.1475 + { 1.1476 + unexpectedLeaveAttribute($__qname); 1.1477 + } 1.1478 + break; 1.1479 + } 1.1480 + } 1.1481 + 1.1482 + public void text(String $value) throws SAXException { 1.1483 + int $ai; 1.1484 + switch($_ngcc_current_state) { 1.1485 + case 58: 1.1486 + { 1.1487 + NGCCHandler h = new qname(this, super._source, $runtime, 621); 1.1488 + spawnChildFromText(h, $value); 1.1489 + } 1.1490 + break; 1.1491 + case 54: 1.1492 + { 1.1493 + $_ngcc_current_state = 52; 1.1494 + $runtime.sendText(super._cookie, $value); 1.1495 + } 1.1496 + break; 1.1497 + case 31: 1.1498 + { 1.1499 + mixedValue = $value; 1.1500 + $_ngcc_current_state = 30; 1.1501 + } 1.1502 + break; 1.1503 + case 76: 1.1504 + { 1.1505 + if(($ai = $runtime.getAttributeIndex("","final"))>=0) { 1.1506 + $runtime.consumeAttribute($ai); 1.1507 + $runtime.sendText(super._cookie, $value); 1.1508 + } 1.1509 + else { 1.1510 + $_ngcc_current_state = 72; 1.1511 + $runtime.sendText(super._cookie, $value); 1.1512 + } 1.1513 + } 1.1514 + break; 1.1515 + case 49: 1.1516 + { 1.1517 + $_ngcc_current_state = 48; 1.1518 + $runtime.sendText(super._cookie, $value); 1.1519 + } 1.1520 + break; 1.1521 + case 61: 1.1522 + { 1.1523 + $_ngcc_current_state = 35; 1.1524 + $runtime.sendText(super._cookie, $value); 1.1525 + } 1.1526 + break; 1.1527 + case 26: 1.1528 + { 1.1529 + $_ngcc_current_state = 7; 1.1530 + $runtime.sendText(super._cookie, $value); 1.1531 + } 1.1532 + break; 1.1533 + case 38: 1.1534 + { 1.1535 + action8(); 1.1536 + $_ngcc_current_state = 37; 1.1537 + $runtime.sendText(super._cookie, $value); 1.1538 + } 1.1539 + break; 1.1540 + case 44: 1.1541 + { 1.1542 + if(($ai = $runtime.getAttributeIndex("","base"))>=0) { 1.1543 + $runtime.consumeAttribute($ai); 1.1544 + $runtime.sendText(super._cookie, $value); 1.1545 + } 1.1546 + } 1.1547 + break; 1.1548 + case 68: 1.1549 + { 1.1550 + if(($ai = $runtime.getAttributeIndex("","name"))>=0) { 1.1551 + $runtime.consumeAttribute($ai); 1.1552 + $runtime.sendText(super._cookie, $value); 1.1553 + } 1.1554 + else { 1.1555 + $_ngcc_current_state = 67; 1.1556 + $runtime.sendText(super._cookie, $value); 1.1557 + } 1.1558 + } 1.1559 + break; 1.1560 + case 80: 1.1561 + { 1.1562 + if(($ai = $runtime.getAttributeIndex("","block"))>=0) { 1.1563 + $runtime.consumeAttribute($ai); 1.1564 + $runtime.sendText(super._cookie, $value); 1.1565 + } 1.1566 + else { 1.1567 + $_ngcc_current_state = 76; 1.1568 + $runtime.sendText(super._cookie, $value); 1.1569 + } 1.1570 + } 1.1571 + break; 1.1572 + case 84: 1.1573 + { 1.1574 + if(($ai = $runtime.getAttributeIndex("","abstract"))>=0) { 1.1575 + $runtime.consumeAttribute($ai); 1.1576 + $runtime.sendText(super._cookie, $value); 1.1577 + } 1.1578 + else { 1.1579 + $_ngcc_current_state = 80; 1.1580 + $runtime.sendText(super._cookie, $value); 1.1581 + } 1.1582 + } 1.1583 + break; 1.1584 + case 19: 1.1585 + { 1.1586 + $_ngcc_current_state = 18; 1.1587 + $runtime.sendText(super._cookie, $value); 1.1588 + } 1.1589 + break; 1.1590 + case 15: 1.1591 + { 1.1592 + if(($ai = $runtime.getAttributeIndex("","base"))>=0) { 1.1593 + $runtime.consumeAttribute($ai); 1.1594 + $runtime.sendText(super._cookie, $value); 1.1595 + } 1.1596 + } 1.1597 + break; 1.1598 + case 86: 1.1599 + { 1.1600 + abstractValue = $value; 1.1601 + $_ngcc_current_state = 85; 1.1602 + } 1.1603 + break; 1.1604 + case 48: 1.1605 + { 1.1606 + action11(); 1.1607 + $_ngcc_current_state = 47; 1.1608 + $runtime.sendText(super._cookie, $value); 1.1609 + } 1.1610 + break; 1.1611 + case 24: 1.1612 + { 1.1613 + if(($ai = $runtime.getAttributeIndex("","base"))>=0) { 1.1614 + $runtime.consumeAttribute($ai); 1.1615 + $runtime.sendText(super._cookie, $value); 1.1616 + } 1.1617 + } 1.1618 + break; 1.1619 + case 29: 1.1620 + { 1.1621 + if(($ai = $runtime.getAttributeIndex("","mixed"))>=0) { 1.1622 + $runtime.consumeAttribute($ai); 1.1623 + $runtime.sendText(super._cookie, $value); 1.1624 + } 1.1625 + else { 1.1626 + $_ngcc_current_state = 28; 1.1627 + $runtime.sendText(super._cookie, $value); 1.1628 + } 1.1629 + } 1.1630 + break; 1.1631 + case 10: 1.1632 + { 1.1633 + $_ngcc_current_state = 9; 1.1634 + $runtime.sendText(super._cookie, $value); 1.1635 + } 1.1636 + break; 1.1637 + case 72: 1.1638 + { 1.1639 + if(($ai = $runtime.getAttributeIndex("","mixed"))>=0) { 1.1640 + $runtime.consumeAttribute($ai); 1.1641 + $runtime.sendText(super._cookie, $value); 1.1642 + } 1.1643 + else { 1.1644 + $_ngcc_current_state = 68; 1.1645 + $runtime.sendText(super._cookie, $value); 1.1646 + } 1.1647 + } 1.1648 + break; 1.1649 + case 43: 1.1650 + { 1.1651 + NGCCHandler h = new qname(this, super._source, $runtime, 601); 1.1652 + spawnChildFromText(h, $value); 1.1653 + } 1.1654 + break; 1.1655 + case 39: 1.1656 + { 1.1657 + $_ngcc_current_state = 38; 1.1658 + $runtime.sendText(super._cookie, $value); 1.1659 + } 1.1660 + break; 1.1661 + case 59: 1.1662 + { 1.1663 + if(($ai = $runtime.getAttributeIndex("","base"))>=0) { 1.1664 + $runtime.consumeAttribute($ai); 1.1665 + $runtime.sendText(super._cookie, $value); 1.1666 + } 1.1667 + } 1.1668 + break; 1.1669 + case 23: 1.1670 + { 1.1671 + NGCCHandler h = new qname(this, super._source, $runtime, 577); 1.1672 + spawnChildFromText(h, $value); 1.1673 + } 1.1674 + break; 1.1675 + case 52: 1.1676 + { 1.1677 + $_ngcc_current_state = 51; 1.1678 + $runtime.sendText(super._cookie, $value); 1.1679 + } 1.1680 + break; 1.1681 + case 78: 1.1682 + { 1.1683 + NGCCHandler h = new erSet(this, super._source, $runtime, 648); 1.1684 + spawnChildFromText(h, $value); 1.1685 + } 1.1686 + break; 1.1687 + case 70: 1.1688 + { 1.1689 + name = $value; 1.1690 + $_ngcc_current_state = 69; 1.1691 + } 1.1692 + break; 1.1693 + case 82: 1.1694 + { 1.1695 + NGCCHandler h = new erSet(this, super._source, $runtime, 653); 1.1696 + spawnChildFromText(h, $value); 1.1697 + } 1.1698 + break; 1.1699 + case 0: 1.1700 + { 1.1701 + revertToParentFromText(result, super._cookie, $value); 1.1702 + } 1.1703 + break; 1.1704 + case 51: 1.1705 + { 1.1706 + action13(); 1.1707 + $_ngcc_current_state = 49; 1.1708 + $runtime.sendText(super._cookie, $value); 1.1709 + } 1.1710 + break; 1.1711 + case 65: 1.1712 + { 1.1713 + $_ngcc_current_state = 2; 1.1714 + $runtime.sendText(super._cookie, $value); 1.1715 + } 1.1716 + break; 1.1717 + case 74: 1.1718 + { 1.1719 + mixedValue = $value; 1.1720 + $_ngcc_current_state = 73; 1.1721 + } 1.1722 + break; 1.1723 + case 14: 1.1724 + { 1.1725 + NGCCHandler h = new qname(this, super._source, $runtime, 566); 1.1726 + spawnChildFromText(h, $value); 1.1727 + } 1.1728 + break; 1.1729 + } 1.1730 + } 1.1731 + 1.1732 + public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException { 1.1733 + switch($__cookie__) { 1.1734 + case 573: 1.1735 + { 1.1736 + annotation = ((AnnotationImpl)$__result__); 1.1737 + $_ngcc_current_state = 18; 1.1738 + } 1.1739 + break; 1.1740 + case 636: 1.1741 + { 1.1742 + fa = ((ForeignAttributesImpl)$__result__); 1.1743 + $_ngcc_current_state = 65; 1.1744 + } 1.1745 + break; 1.1746 + case 562: 1.1747 + { 1.1748 + annotation = ((AnnotationImpl)$__result__); 1.1749 + $_ngcc_current_state = 9; 1.1750 + } 1.1751 + break; 1.1752 + case 577: 1.1753 + { 1.1754 + baseTypeName = ((UName)$__result__); 1.1755 + action6(); 1.1756 + $_ngcc_current_state = 22; 1.1757 + } 1.1758 + break; 1.1759 + case 648: 1.1760 + { 1.1761 + finalValue = ((Integer)$__result__); 1.1762 + $_ngcc_current_state = 77; 1.1763 + } 1.1764 + break; 1.1765 + case 614: 1.1766 + { 1.1767 + baseContentType = ((SimpleTypeImpl)$__result__); 1.1768 + $_ngcc_current_state = 51; 1.1769 + } 1.1770 + break; 1.1771 + case 653: 1.1772 + { 1.1773 + blockValue = ((Integer)$__result__); 1.1774 + $_ngcc_current_state = 81; 1.1775 + } 1.1776 + break; 1.1777 + case 566: 1.1778 + { 1.1779 + baseTypeName = ((UName)$__result__); 1.1780 + action3(); 1.1781 + $_ngcc_current_state = 13; 1.1782 + } 1.1783 + break; 1.1784 + case 621: 1.1785 + { 1.1786 + baseTypeName = ((UName)$__result__); 1.1787 + action14(); 1.1788 + $_ngcc_current_state = 57; 1.1789 + } 1.1790 + break; 1.1791 + case 617: 1.1792 + { 1.1793 + annotation = ((AnnotationImpl)$__result__); 1.1794 + $_ngcc_current_state = 52; 1.1795 + } 1.1796 + break; 1.1797 + case 610: 1.1798 + { 1.1799 + facet = ((XSFacet)$__result__); 1.1800 + action12(); 1.1801 + $_ngcc_current_state = 48; 1.1802 + } 1.1803 + break; 1.1804 + case 626: 1.1805 + { 1.1806 + annotation = ((AnnotationImpl)$__result__); 1.1807 + $_ngcc_current_state = 35; 1.1808 + } 1.1809 + break; 1.1810 + case 571: 1.1811 + { 1.1812 + explicitContent = ((ContentTypeImpl)$__result__); 1.1813 + action5(); 1.1814 + $_ngcc_current_state = 17; 1.1815 + } 1.1816 + break; 1.1817 + case 564: 1.1818 + { 1.1819 + fa = ((ForeignAttributesImpl)$__result__); 1.1820 + $_ngcc_current_state = 10; 1.1821 + } 1.1822 + break; 1.1823 + case 582: 1.1824 + { 1.1825 + annotation = ((AnnotationImpl)$__result__); 1.1826 + $_ngcc_current_state = 7; 1.1827 + } 1.1828 + break; 1.1829 + case 628: 1.1830 + { 1.1831 + fa = ((ForeignAttributesImpl)$__result__); 1.1832 + $_ngcc_current_state = 61; 1.1833 + } 1.1834 + break; 1.1835 + case 594: 1.1836 + { 1.1837 + $_ngcc_current_state = 36; 1.1838 + } 1.1839 + break; 1.1840 + case 560: 1.1841 + { 1.1842 + explicitContent = ((ContentTypeImpl)$__result__); 1.1843 + action2(); 1.1844 + $_ngcc_current_state = 8; 1.1845 + } 1.1846 + break; 1.1847 + case 606: 1.1848 + { 1.1849 + $_ngcc_current_state = 46; 1.1850 + } 1.1851 + break; 1.1852 + case 609: 1.1853 + { 1.1854 + facet = ((XSFacet)$__result__); 1.1855 + action12(); 1.1856 + $_ngcc_current_state = 48; 1.1857 + } 1.1858 + break; 1.1859 + case 584: 1.1860 + { 1.1861 + fa = ((ForeignAttributesImpl)$__result__); 1.1862 + $_ngcc_current_state = 26; 1.1863 + } 1.1864 + break; 1.1865 + case 599: 1.1866 + { 1.1867 + fa = ((ForeignAttributesImpl)$__result__); 1.1868 + $_ngcc_current_state = 39; 1.1869 + } 1.1870 + break; 1.1871 + case 557: 1.1872 + { 1.1873 + explicitContent = ((ContentTypeImpl)$__result__); 1.1874 + action0(); 1.1875 + $_ngcc_current_state = 1; 1.1876 + } 1.1877 + break; 1.1878 + case 575: 1.1879 + { 1.1880 + fa = ((ForeignAttributesImpl)$__result__); 1.1881 + $_ngcc_current_state = 19; 1.1882 + } 1.1883 + break; 1.1884 + case 601: 1.1885 + { 1.1886 + baseTypeName = ((UName)$__result__); 1.1887 + action9(); 1.1888 + $_ngcc_current_state = 42; 1.1889 + } 1.1890 + break; 1.1891 + case 619: 1.1892 + { 1.1893 + fa = ((ForeignAttributesImpl)$__result__); 1.1894 + $_ngcc_current_state = 54; 1.1895 + } 1.1896 + break; 1.1897 + case 597: 1.1898 + { 1.1899 + annotation = ((AnnotationImpl)$__result__); 1.1900 + $_ngcc_current_state = 38; 1.1901 + } 1.1902 + break; 1.1903 + case 634: 1.1904 + { 1.1905 + annotation = ((AnnotationImpl)$__result__); 1.1906 + $_ngcc_current_state = 2; 1.1907 + } 1.1908 + break; 1.1909 + } 1.1910 + } 1.1911 + 1.1912 + public boolean accepted() { 1.1913 + return(($_ngcc_current_state == 0)); 1.1914 + } 1.1915 + 1.1916 + 1.1917 + private ComplexTypeImpl result; 1.1918 + private Ref.Type baseType; 1.1919 + private Ref.ContentType contentType; 1.1920 + 1.1921 + // local variables for simpleContent/restriction 1.1922 + private Ref.SimpleType baseContentType; 1.1923 + private RestrictionSimpleTypeImpl contentSimpleType; 1.1924 + 1.1925 + private Locator locator,locator2; 1.1926 + 1.1927 + private static class BaseContentSimpleTypeRef implements Ref.SimpleType { 1.1928 + private final Ref.Type baseType; 1.1929 + private BaseContentSimpleTypeRef(Ref.Type _baseType ) { this.baseType = _baseType; } 1.1930 + public XSSimpleType getType() { 1.1931 + return (XSSimpleType)((XSComplexType)baseType.getType()).getContentType(); 1.1932 + } 1.1933 + } 1.1934 + 1.1935 + 1.1936 + // baseType and contentType must be computed before calling this method. 1.1937 + private void makeResult( int derivationMethod ) { 1.1938 + 1.1939 + if(finalValue==null) 1.1940 + finalValue = $runtime.finalDefault; 1.1941 + if(blockValue==null) 1.1942 + blockValue = $runtime.blockDefault; 1.1943 + 1.1944 + result = new ComplexTypeImpl( 1.1945 + $runtime.document, 1.1946 + annotation, 1.1947 + locator, 1.1948 + fa, 1.1949 + name, 1.1950 + name==null, 1.1951 + $runtime.parseBoolean(abstractValue), 1.1952 + derivationMethod, 1.1953 + baseType, 1.1954 + finalValue, 1.1955 + blockValue, 1.1956 + $runtime.parseBoolean(mixedValue) 1.1957 + ); 1.1958 + } 1.1959 + 1.1960 + // I had to make them static inner classes (as opposed to anonymous ones), 1.1961 + // so that they will not keep references to parser. 1.1962 + 1.1963 + private static class BaseComplexTypeContentRef implements Ref.ContentType { 1.1964 + private final Ref.Type baseType; 1.1965 + private BaseComplexTypeContentRef(Ref.Type _baseType) { this.baseType = _baseType; } 1.1966 + public XSContentType getContentType() { 1.1967 + return ((XSComplexType)baseType.getType()).getContentType(); 1.1968 + } 1.1969 + } 1.1970 + private static class InheritBaseContentTypeRef implements Ref.ContentType { 1.1971 + private final Ref.Type baseType; 1.1972 + private final XSContentType empty; 1.1973 + private final XSContentType expContent; 1.1974 + private final SchemaDocumentImpl currentDocument; 1.1975 + private InheritBaseContentTypeRef( 1.1976 + Ref.Type _baseType,XSContentType _explicitContent,NGCCRuntimeEx $runtime) { 1.1977 + 1.1978 + this.baseType = _baseType; 1.1979 + this.currentDocument = $runtime.document; 1.1980 + expContent = _explicitContent; 1.1981 + this.empty = $runtime.parser.schemaSet.empty; 1.1982 + } 1.1983 + public XSContentType getContentType() { 1.1984 + XSContentType baseContentType = 1.1985 + ((XSComplexType)baseType.getType()).getContentType(); 1.1986 + if(baseContentType==empty) 1.1987 + return expContent; 1.1988 + else 1.1989 + return new ParticleImpl( currentDocument, null, new ModelGroupImpl( 1.1990 + currentDocument, 1.1991 + null, null, null, XSModelGroup.SEQUENCE, 1.1992 + new ParticleImpl[]{ 1.1993 + (ParticleImpl)baseContentType, 1.1994 + (ParticleImpl)expContent}), null ); 1.1995 + } 1.1996 + }; 1.1997 + 1.1998 + private Ref.ContentType buildComplexExtensionContentModel( XSContentType explicitContent ) { 1.1999 + 1.2000 + if(explicitContent==$runtime.parser.schemaSet.empty) 1.2001 + return new BaseComplexTypeContentRef(baseType); 1.2002 + else 1.2003 + return new InheritBaseContentTypeRef(baseType,explicitContent,$runtime); 1.2004 + } 1.2005 + 1.2006 +}