Tue, 06 Mar 2012 16:09:35 -0800
7150322: Stop using drop source bundles in jaxws
Reviewed-by: darcy, ohrstrom
ohair@286 | 1 | /* |
ohair@286 | 2 | * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
ohair@286 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
ohair@286 | 4 | * |
ohair@286 | 5 | * This code is free software; you can redistribute it and/or modify it |
ohair@286 | 6 | * under the terms of the GNU General Public License version 2 only, as |
ohair@286 | 7 | * published by the Free Software Foundation. Oracle designates this |
ohair@286 | 8 | * particular file as subject to the "Classpath" exception as provided |
ohair@286 | 9 | * by Oracle in the LICENSE file that accompanied this code. |
ohair@286 | 10 | * |
ohair@286 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
ohair@286 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
ohair@286 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
ohair@286 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
ohair@286 | 15 | * accompanied this code). |
ohair@286 | 16 | * |
ohair@286 | 17 | * You should have received a copy of the GNU General Public License version |
ohair@286 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
ohair@286 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
ohair@286 | 20 | * |
ohair@286 | 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ohair@286 | 22 | * or visit www.oracle.com if you need additional information or have any |
ohair@286 | 23 | * questions. |
ohair@286 | 24 | */ |
ohair@286 | 25 | |
ohair@286 | 26 | /* this file is generated by RelaxNGCC */ |
ohair@286 | 27 | package com.sun.xml.internal.xsom.impl.parser.state; |
ohair@286 | 28 | import org.xml.sax.SAXException; |
ohair@286 | 29 | import org.xml.sax.XMLReader; |
ohair@286 | 30 | import org.xml.sax.Attributes; |
ohair@286 | 31 | import com.sun.xml.internal.xsom.impl.parser.NGCCRuntimeEx; |
ohair@286 | 32 | import javax.xml.parsers.SAXParserFactory; |
ohair@286 | 33 | import org.xml.sax.XMLReader; |
ohair@286 | 34 | |
ohair@286 | 35 | import com.sun.xml.internal.xsom.*; |
ohair@286 | 36 | import com.sun.xml.internal.xsom.parser.*; |
ohair@286 | 37 | import com.sun.xml.internal.xsom.impl.*; |
ohair@286 | 38 | import com.sun.xml.internal.xsom.impl.parser.*; |
ohair@286 | 39 | import org.xml.sax.Locator; |
ohair@286 | 40 | import org.xml.sax.ContentHandler; |
ohair@286 | 41 | import org.xml.sax.helpers.*; |
ohair@286 | 42 | import java.util.*; |
ohair@286 | 43 | import java.math.BigInteger; |
ohair@286 | 44 | |
ohair@286 | 45 | |
ohair@286 | 46 | |
ohair@286 | 47 | public class Schema extends NGCCHandler { |
ohair@286 | 48 | private Integer finalDefault; |
ohair@286 | 49 | private boolean efd; |
ohair@286 | 50 | private boolean afd; |
ohair@286 | 51 | private Integer blockDefault; |
ohair@286 | 52 | private ForeignAttributesImpl fa; |
ohair@286 | 53 | private boolean includeMode; |
ohair@286 | 54 | private AnnotationImpl anno; |
ohair@286 | 55 | private ComplexTypeImpl ct; |
ohair@286 | 56 | private ElementDecl e; |
ohair@286 | 57 | private String defaultValue; |
ohair@286 | 58 | private XSNotation notation; |
ohair@286 | 59 | private AttGroupDeclImpl ag; |
ohair@286 | 60 | private String fixedValue; |
ohair@286 | 61 | private ModelGroupDeclImpl group; |
ohair@286 | 62 | private AttributeDeclImpl ad; |
ohair@286 | 63 | private SimpleTypeImpl st; |
ohair@286 | 64 | private String expectedNamespace; |
ohair@286 | 65 | protected final NGCCRuntimeEx $runtime; |
ohair@286 | 66 | private int $_ngcc_current_state; |
ohair@286 | 67 | protected String $uri; |
ohair@286 | 68 | protected String $localName; |
ohair@286 | 69 | protected String $qname; |
ohair@286 | 70 | |
ohair@286 | 71 | public final NGCCRuntime getRuntime() { |
ohair@286 | 72 | return($runtime); |
ohair@286 | 73 | } |
ohair@286 | 74 | |
ohair@286 | 75 | public Schema(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, boolean _includeMode, String _expectedNamespace) { |
ohair@286 | 76 | super(source, parent, cookie); |
ohair@286 | 77 | $runtime = runtime; |
ohair@286 | 78 | this.includeMode = _includeMode; |
ohair@286 | 79 | this.expectedNamespace = _expectedNamespace; |
ohair@286 | 80 | $_ngcc_current_state = 57; |
ohair@286 | 81 | } |
ohair@286 | 82 | |
ohair@286 | 83 | public Schema(NGCCRuntimeEx runtime, boolean _includeMode, String _expectedNamespace) { |
ohair@286 | 84 | this(null, runtime, runtime, -1, _includeMode, _expectedNamespace); |
ohair@286 | 85 | } |
ohair@286 | 86 | |
ohair@286 | 87 | private void action0()throws SAXException { |
ohair@286 | 88 | $runtime.checkDoubleDefError( $runtime.currentSchema.getAttGroupDecl(ag.getName()) ); |
ohair@286 | 89 | $runtime.currentSchema.addAttGroupDecl(ag,false); |
ohair@286 | 90 | } |
ohair@286 | 91 | |
ohair@286 | 92 | private void action1()throws SAXException { |
ohair@286 | 93 | $runtime.currentSchema.addNotation(notation); |
ohair@286 | 94 | } |
ohair@286 | 95 | |
ohair@286 | 96 | private void action2()throws SAXException { |
ohair@286 | 97 | $runtime.checkDoubleDefError( $runtime.currentSchema.getModelGroupDecl(group.getName()) ); |
ohair@286 | 98 | $runtime.currentSchema.addModelGroupDecl(group,false); |
ohair@286 | 99 | } |
ohair@286 | 100 | |
ohair@286 | 101 | private void action3()throws SAXException { |
ohair@286 | 102 | $runtime.checkDoubleDefError( $runtime.currentSchema.getAttributeDecl(ad.getName()) ); |
ohair@286 | 103 | $runtime.currentSchema.addAttributeDecl(ad); |
ohair@286 | 104 | } |
ohair@286 | 105 | |
ohair@286 | 106 | private void action4()throws SAXException { |
ohair@286 | 107 | locator = $runtime.copyLocator(); |
ohair@286 | 108 | defaultValue = null; |
ohair@286 | 109 | fixedValue = null; |
ohair@286 | 110 | } |
ohair@286 | 111 | |
ohair@286 | 112 | private void action5()throws SAXException { |
ohair@286 | 113 | $runtime.checkDoubleDefError( $runtime.currentSchema.getType(ct.getName()) ); |
ohair@286 | 114 | $runtime.currentSchema.addComplexType(ct,false); |
ohair@286 | 115 | } |
ohair@286 | 116 | |
ohair@286 | 117 | private void action6()throws SAXException { |
ohair@286 | 118 | $runtime.checkDoubleDefError( $runtime.currentSchema.getType(st.getName()) ); |
ohair@286 | 119 | $runtime.currentSchema.addSimpleType(st,false); |
ohair@286 | 120 | } |
ohair@286 | 121 | |
ohair@286 | 122 | private void action7()throws SAXException { |
ohair@286 | 123 | $runtime.checkDoubleDefError( $runtime.currentSchema.getElementDecl(e.getName()) ); |
ohair@286 | 124 | $runtime.currentSchema.addElementDecl(e); |
ohair@286 | 125 | } |
ohair@286 | 126 | |
ohair@286 | 127 | private void action8()throws SAXException { |
ohair@286 | 128 | locator = $runtime.copyLocator(); |
ohair@286 | 129 | } |
ohair@286 | 130 | |
ohair@286 | 131 | private void action9()throws SAXException { |
ohair@286 | 132 | $runtime.currentSchema.setAnnotation(anno); |
ohair@286 | 133 | } |
ohair@286 | 134 | |
ohair@286 | 135 | private void action10()throws SAXException { |
ohair@286 | 136 | $runtime.currentSchema.addForeignAttributes(fa); |
ohair@286 | 137 | } |
ohair@286 | 138 | |
ohair@286 | 139 | private void action11()throws SAXException { |
ohair@286 | 140 | $runtime.finalDefault=this.finalDefault.intValue(); |
ohair@286 | 141 | } |
ohair@286 | 142 | |
ohair@286 | 143 | private void action12()throws SAXException { |
ohair@286 | 144 | $runtime.blockDefault=this.blockDefault.intValue(); |
ohair@286 | 145 | } |
ohair@286 | 146 | |
ohair@286 | 147 | private void action13()throws SAXException { |
ohair@286 | 148 | $runtime.elementFormDefault = efd; |
ohair@286 | 149 | } |
ohair@286 | 150 | |
ohair@286 | 151 | private void action14()throws SAXException { |
ohair@286 | 152 | $runtime.attributeFormDefault = afd; |
ohair@286 | 153 | } |
ohair@286 | 154 | |
ohair@286 | 155 | private void action15()throws SAXException { |
ohair@286 | 156 | Attributes test = $runtime.getCurrentAttributes(); |
ohair@286 | 157 | String tns = test.getValue("targetNamespace"); |
ohair@286 | 158 | |
ohair@286 | 159 | if(!includeMode) { |
ohair@286 | 160 | // importing |
ohair@286 | 161 | if(tns==null) tns=""; // if not present, then the empty namespace |
ohair@286 | 162 | $runtime.currentSchema = $runtime.parser.schemaSet.createSchema(tns,$runtime.copyLocator()); |
ohair@286 | 163 | if(expectedNamespace!=null && !expectedNamespace.equals(tns)) { |
ohair@286 | 164 | $runtime.reportError( |
ohair@286 | 165 | Messages.format("UnexpectedTargetnamespace.Import", tns, expectedNamespace, tns ), |
ohair@286 | 166 | $runtime.getLocator()); |
ohair@286 | 167 | } |
ohair@286 | 168 | } else { |
ohair@286 | 169 | // including |
ohair@286 | 170 | |
ohair@286 | 171 | // check the consistency of @targetNamespace. |
ohair@286 | 172 | // @targetNamespace must be null or equal to the target namespace of the schema |
ohair@286 | 173 | if(tns!=null && expectedNamespace!=null && !expectedNamespace.equals(tns)) { |
ohair@286 | 174 | $runtime.reportError( |
ohair@286 | 175 | Messages.format("UnexpectedTargetnamespace.Include", tns, expectedNamespace, tns ) ); |
ohair@286 | 176 | } |
ohair@286 | 177 | $runtime.chameleonMode = true; |
ohair@286 | 178 | } |
ohair@286 | 179 | |
ohair@286 | 180 | // multiple inclusion test. |
ohair@286 | 181 | if( $runtime.hasAlreadyBeenRead() ) { |
ohair@286 | 182 | // skip this document |
ohair@286 | 183 | $runtime.redirectSubtree(new DefaultHandler(),"","","" ); |
ohair@286 | 184 | return; |
ohair@286 | 185 | } |
ohair@286 | 186 | |
ohair@286 | 187 | anno = (AnnotationImpl)$runtime.currentSchema.getAnnotation(); |
ohair@286 | 188 | $runtime.blockDefault = 0; |
ohair@286 | 189 | $runtime.finalDefault = 0; |
ohair@286 | 190 | } |
ohair@286 | 191 | |
ohair@286 | 192 | public void enterElement(String $__uri, String $__local, String $__qname, Attributes $attrs) throws SAXException { |
ohair@286 | 193 | int $ai; |
ohair@286 | 194 | $uri = $__uri; |
ohair@286 | 195 | $localName = $__local; |
ohair@286 | 196 | $qname = $__qname; |
ohair@286 | 197 | switch($_ngcc_current_state) { |
ohair@286 | 198 | case 12: |
ohair@286 | 199 | { |
ohair@286 | 200 | if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) { |
ohair@286 | 201 | $runtime.consumeAttribute($ai); |
ohair@286 | 202 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 203 | } |
ohair@286 | 204 | else { |
ohair@286 | 205 | $_ngcc_current_state = 11; |
ohair@286 | 206 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 207 | } |
ohair@286 | 208 | } |
ohair@286 | 209 | break; |
ohair@286 | 210 | case 36: |
ohair@286 | 211 | { |
ohair@286 | 212 | if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element")) || (($__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("simpleType")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("redefine")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("notation")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("import")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("include"))))))))))))) { |
ohair@286 | 213 | NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 374, null); |
ohair@286 | 214 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 215 | } |
ohair@286 | 216 | else { |
ohair@286 | 217 | unexpectedEnterElement($__qname); |
ohair@286 | 218 | } |
ohair@286 | 219 | } |
ohair@286 | 220 | break; |
ohair@286 | 221 | case 1: |
ohair@286 | 222 | { |
ohair@286 | 223 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { |
ohair@286 | 224 | NGCCHandler h = new annotation(this, super._source, $runtime, 351, anno,AnnotationContext.SCHEMA); |
ohair@286 | 225 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 226 | } |
ohair@286 | 227 | else { |
ohair@286 | 228 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("include"))) { |
ohair@286 | 229 | NGCCHandler h = new includeDecl(this, super._source, $runtime, 352); |
ohair@286 | 230 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 231 | } |
ohair@286 | 232 | else { |
ohair@286 | 233 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("import"))) { |
ohair@286 | 234 | NGCCHandler h = new importDecl(this, super._source, $runtime, 353); |
ohair@286 | 235 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 236 | } |
ohair@286 | 237 | else { |
ohair@286 | 238 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("redefine"))) { |
ohair@286 | 239 | NGCCHandler h = new redefine(this, super._source, $runtime, 354); |
ohair@286 | 240 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 241 | } |
ohair@286 | 242 | else { |
ohair@286 | 243 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) { |
ohair@286 | 244 | $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); |
ohair@286 | 245 | action8(); |
ohair@286 | 246 | $_ngcc_current_state = 27; |
ohair@286 | 247 | } |
ohair@286 | 248 | else { |
ohair@286 | 249 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) { |
ohair@286 | 250 | NGCCHandler h = new simpleType(this, super._source, $runtime, 356); |
ohair@286 | 251 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 252 | } |
ohair@286 | 253 | else { |
ohair@286 | 254 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) { |
ohair@286 | 255 | NGCCHandler h = new complexType(this, super._source, $runtime, 357); |
ohair@286 | 256 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 257 | } |
ohair@286 | 258 | else { |
ohair@286 | 259 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))) { |
ohair@286 | 260 | $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); |
ohair@286 | 261 | action4(); |
ohair@286 | 262 | $_ngcc_current_state = 16; |
ohair@286 | 263 | } |
ohair@286 | 264 | else { |
ohair@286 | 265 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) { |
ohair@286 | 266 | NGCCHandler h = new group(this, super._source, $runtime, 359); |
ohair@286 | 267 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 268 | } |
ohair@286 | 269 | else { |
ohair@286 | 270 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("notation"))) { |
ohair@286 | 271 | NGCCHandler h = new notation(this, super._source, $runtime, 360); |
ohair@286 | 272 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 273 | } |
ohair@286 | 274 | else { |
ohair@286 | 275 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup"))) { |
ohair@286 | 276 | NGCCHandler h = new attributeGroupDecl(this, super._source, $runtime, 361); |
ohair@286 | 277 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 278 | } |
ohair@286 | 279 | else { |
ohair@286 | 280 | unexpectedEnterElement($__qname); |
ohair@286 | 281 | } |
ohair@286 | 282 | } |
ohair@286 | 283 | } |
ohair@286 | 284 | } |
ohair@286 | 285 | } |
ohair@286 | 286 | } |
ohair@286 | 287 | } |
ohair@286 | 288 | } |
ohair@286 | 289 | } |
ohair@286 | 290 | } |
ohair@286 | 291 | } |
ohair@286 | 292 | } |
ohair@286 | 293 | break; |
ohair@286 | 294 | case 0: |
ohair@286 | 295 | { |
ohair@286 | 296 | revertToParentFromEnterElement(this, super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 297 | } |
ohair@286 | 298 | break; |
ohair@286 | 299 | case 53: |
ohair@286 | 300 | { |
ohair@286 | 301 | if(($ai = $runtime.getAttributeIndex("","targetNamespace"))>=0) { |
ohair@286 | 302 | $runtime.consumeAttribute($ai); |
ohair@286 | 303 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 304 | } |
ohair@286 | 305 | else { |
ohair@286 | 306 | $_ngcc_current_state = 49; |
ohair@286 | 307 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 308 | } |
ohair@286 | 309 | } |
ohair@286 | 310 | break; |
ohair@286 | 311 | case 41: |
ohair@286 | 312 | { |
ohair@286 | 313 | if(($ai = $runtime.getAttributeIndex("","blockDefault"))>=0) { |
ohair@286 | 314 | $runtime.consumeAttribute($ai); |
ohair@286 | 315 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 316 | } |
ohair@286 | 317 | else { |
ohair@286 | 318 | $_ngcc_current_state = 37; |
ohair@286 | 319 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 320 | } |
ohair@286 | 321 | } |
ohair@286 | 322 | break; |
ohair@286 | 323 | case 37: |
ohair@286 | 324 | { |
ohair@286 | 325 | if(($ai = $runtime.getAttributeIndex("","finalDefault"))>=0) { |
ohair@286 | 326 | $runtime.consumeAttribute($ai); |
ohair@286 | 327 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 328 | } |
ohair@286 | 329 | else { |
ohair@286 | 330 | $_ngcc_current_state = 36; |
ohair@286 | 331 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 332 | } |
ohair@286 | 333 | } |
ohair@286 | 334 | break; |
ohair@286 | 335 | case 2: |
ohair@286 | 336 | { |
ohair@286 | 337 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { |
ohair@286 | 338 | NGCCHandler h = new annotation(this, super._source, $runtime, 362, anno,AnnotationContext.SCHEMA); |
ohair@286 | 339 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 340 | } |
ohair@286 | 341 | else { |
ohair@286 | 342 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("include"))) { |
ohair@286 | 343 | NGCCHandler h = new includeDecl(this, super._source, $runtime, 363); |
ohair@286 | 344 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 345 | } |
ohair@286 | 346 | else { |
ohair@286 | 347 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("import"))) { |
ohair@286 | 348 | NGCCHandler h = new importDecl(this, super._source, $runtime, 364); |
ohair@286 | 349 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 350 | } |
ohair@286 | 351 | else { |
ohair@286 | 352 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("redefine"))) { |
ohair@286 | 353 | NGCCHandler h = new redefine(this, super._source, $runtime, 365); |
ohair@286 | 354 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 355 | } |
ohair@286 | 356 | else { |
ohair@286 | 357 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) { |
ohair@286 | 358 | $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); |
ohair@286 | 359 | action8(); |
ohair@286 | 360 | $_ngcc_current_state = 27; |
ohair@286 | 361 | } |
ohair@286 | 362 | else { |
ohair@286 | 363 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) { |
ohair@286 | 364 | NGCCHandler h = new simpleType(this, super._source, $runtime, 367); |
ohair@286 | 365 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 366 | } |
ohair@286 | 367 | else { |
ohair@286 | 368 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) { |
ohair@286 | 369 | NGCCHandler h = new complexType(this, super._source, $runtime, 368); |
ohair@286 | 370 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 371 | } |
ohair@286 | 372 | else { |
ohair@286 | 373 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))) { |
ohair@286 | 374 | $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); |
ohair@286 | 375 | action4(); |
ohair@286 | 376 | $_ngcc_current_state = 16; |
ohair@286 | 377 | } |
ohair@286 | 378 | else { |
ohair@286 | 379 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) { |
ohair@286 | 380 | NGCCHandler h = new group(this, super._source, $runtime, 370); |
ohair@286 | 381 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 382 | } |
ohair@286 | 383 | else { |
ohair@286 | 384 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("notation"))) { |
ohair@286 | 385 | NGCCHandler h = new notation(this, super._source, $runtime, 371); |
ohair@286 | 386 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 387 | } |
ohair@286 | 388 | else { |
ohair@286 | 389 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup"))) { |
ohair@286 | 390 | NGCCHandler h = new attributeGroupDecl(this, super._source, $runtime, 372); |
ohair@286 | 391 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 392 | } |
ohair@286 | 393 | else { |
ohair@286 | 394 | $_ngcc_current_state = 1; |
ohair@286 | 395 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 396 | } |
ohair@286 | 397 | } |
ohair@286 | 398 | } |
ohair@286 | 399 | } |
ohair@286 | 400 | } |
ohair@286 | 401 | } |
ohair@286 | 402 | } |
ohair@286 | 403 | } |
ohair@286 | 404 | } |
ohair@286 | 405 | } |
ohair@286 | 406 | } |
ohair@286 | 407 | } |
ohair@286 | 408 | break; |
ohair@286 | 409 | case 45: |
ohair@286 | 410 | { |
ohair@286 | 411 | if(($ai = $runtime.getAttributeIndex("","elementFormDefault"))>=0) { |
ohair@286 | 412 | $runtime.consumeAttribute($ai); |
ohair@286 | 413 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 414 | } |
ohair@286 | 415 | else { |
ohair@286 | 416 | $_ngcc_current_state = 41; |
ohair@286 | 417 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 418 | } |
ohair@286 | 419 | } |
ohair@286 | 420 | break; |
ohair@286 | 421 | case 57: |
ohair@286 | 422 | { |
ohair@286 | 423 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("schema"))) { |
ohair@286 | 424 | $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); |
ohair@286 | 425 | action15(); |
ohair@286 | 426 | $_ngcc_current_state = 53; |
ohair@286 | 427 | } |
ohair@286 | 428 | else { |
ohair@286 | 429 | unexpectedEnterElement($__qname); |
ohair@286 | 430 | } |
ohair@286 | 431 | } |
ohair@286 | 432 | break; |
ohair@286 | 433 | case 27: |
ohair@286 | 434 | { |
ohair@286 | 435 | if((($ai = $runtime.getAttributeIndex("","name"))>=0 || (($ai = $runtime.getAttributeIndex("","final"))>=0 || (($ai = $runtime.getAttributeIndex("","form"))>=0 || (($ai = $runtime.getAttributeIndex("","block"))>=0 || (($ai = $runtime.getAttributeIndex("","fixed"))>=0 || (($ai = $runtime.getAttributeIndex("","default"))>=0 || ($ai = $runtime.getAttributeIndex("","abstract"))>=0))))))) { |
ohair@286 | 436 | NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true); |
ohair@286 | 437 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 438 | } |
ohair@286 | 439 | else { |
ohair@286 | 440 | unexpectedEnterElement($__qname); |
ohair@286 | 441 | } |
ohair@286 | 442 | } |
ohair@286 | 443 | break; |
ohair@286 | 444 | case 11: |
ohair@286 | 445 | { |
ohair@286 | 446 | if((($ai = $runtime.getAttributeIndex("","form"))>=0 || ($ai = $runtime.getAttributeIndex("","name"))>=0)) { |
ohair@286 | 447 | NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 268, locator,false,defaultValue,fixedValue); |
ohair@286 | 448 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 449 | } |
ohair@286 | 450 | else { |
ohair@286 | 451 | unexpectedEnterElement($__qname); |
ohair@286 | 452 | } |
ohair@286 | 453 | } |
ohair@286 | 454 | break; |
ohair@286 | 455 | case 49: |
ohair@286 | 456 | { |
ohair@286 | 457 | if(($ai = $runtime.getAttributeIndex("","attributeFormDefault"))>=0) { |
ohair@286 | 458 | $runtime.consumeAttribute($ai); |
ohair@286 | 459 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 460 | } |
ohair@286 | 461 | else { |
ohair@286 | 462 | $_ngcc_current_state = 45; |
ohair@286 | 463 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 464 | } |
ohair@286 | 465 | } |
ohair@286 | 466 | break; |
ohair@286 | 467 | case 16: |
ohair@286 | 468 | { |
ohair@286 | 469 | if(($ai = $runtime.getAttributeIndex("","default"))>=0) { |
ohair@286 | 470 | $runtime.consumeAttribute($ai); |
ohair@286 | 471 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 472 | } |
ohair@286 | 473 | else { |
ohair@286 | 474 | $_ngcc_current_state = 12; |
ohair@286 | 475 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 476 | } |
ohair@286 | 477 | } |
ohair@286 | 478 | break; |
ohair@286 | 479 | default: |
ohair@286 | 480 | { |
ohair@286 | 481 | unexpectedEnterElement($__qname); |
ohair@286 | 482 | } |
ohair@286 | 483 | break; |
ohair@286 | 484 | } |
ohair@286 | 485 | } |
ohair@286 | 486 | |
ohair@286 | 487 | public void leaveElement(String $__uri, String $__local, String $__qname) throws SAXException { |
ohair@286 | 488 | int $ai; |
ohair@286 | 489 | $uri = $__uri; |
ohair@286 | 490 | $localName = $__local; |
ohair@286 | 491 | $qname = $__qname; |
ohair@286 | 492 | switch($_ngcc_current_state) { |
ohair@286 | 493 | case 12: |
ohair@286 | 494 | { |
ohair@286 | 495 | if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) { |
ohair@286 | 496 | $runtime.consumeAttribute($ai); |
ohair@286 | 497 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 498 | } |
ohair@286 | 499 | else { |
ohair@286 | 500 | $_ngcc_current_state = 11; |
ohair@286 | 501 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 502 | } |
ohair@286 | 503 | } |
ohair@286 | 504 | break; |
ohair@286 | 505 | case 36: |
ohair@286 | 506 | { |
ohair@286 | 507 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("schema"))) { |
ohair@286 | 508 | NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 374, null); |
ohair@286 | 509 | spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
ohair@286 | 510 | } |
ohair@286 | 511 | else { |
ohair@286 | 512 | unexpectedLeaveElement($__qname); |
ohair@286 | 513 | } |
ohair@286 | 514 | } |
ohair@286 | 515 | break; |
ohair@286 | 516 | case 1: |
ohair@286 | 517 | { |
ohair@286 | 518 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("schema"))) { |
ohair@286 | 519 | $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); |
ohair@286 | 520 | $_ngcc_current_state = 0; |
ohair@286 | 521 | } |
ohair@286 | 522 | else { |
ohair@286 | 523 | unexpectedLeaveElement($__qname); |
ohair@286 | 524 | } |
ohair@286 | 525 | } |
ohair@286 | 526 | break; |
ohair@286 | 527 | case 0: |
ohair@286 | 528 | { |
ohair@286 | 529 | revertToParentFromLeaveElement(this, super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 530 | } |
ohair@286 | 531 | break; |
ohair@286 | 532 | case 53: |
ohair@286 | 533 | { |
ohair@286 | 534 | if(($ai = $runtime.getAttributeIndex("","targetNamespace"))>=0) { |
ohair@286 | 535 | $runtime.consumeAttribute($ai); |
ohair@286 | 536 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 537 | } |
ohair@286 | 538 | else { |
ohair@286 | 539 | $_ngcc_current_state = 49; |
ohair@286 | 540 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 541 | } |
ohair@286 | 542 | } |
ohair@286 | 543 | break; |
ohair@286 | 544 | case 10: |
ohair@286 | 545 | { |
ohair@286 | 546 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))) { |
ohair@286 | 547 | $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); |
ohair@286 | 548 | $_ngcc_current_state = 1; |
ohair@286 | 549 | } |
ohair@286 | 550 | else { |
ohair@286 | 551 | unexpectedLeaveElement($__qname); |
ohair@286 | 552 | } |
ohair@286 | 553 | } |
ohair@286 | 554 | break; |
ohair@286 | 555 | case 41: |
ohair@286 | 556 | { |
ohair@286 | 557 | if(($ai = $runtime.getAttributeIndex("","blockDefault"))>=0) { |
ohair@286 | 558 | $runtime.consumeAttribute($ai); |
ohair@286 | 559 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 560 | } |
ohair@286 | 561 | else { |
ohair@286 | 562 | $_ngcc_current_state = 37; |
ohair@286 | 563 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 564 | } |
ohair@286 | 565 | } |
ohair@286 | 566 | break; |
ohair@286 | 567 | case 45: |
ohair@286 | 568 | { |
ohair@286 | 569 | if(($ai = $runtime.getAttributeIndex("","elementFormDefault"))>=0) { |
ohair@286 | 570 | $runtime.consumeAttribute($ai); |
ohair@286 | 571 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 572 | } |
ohair@286 | 573 | else { |
ohair@286 | 574 | $_ngcc_current_state = 41; |
ohair@286 | 575 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 576 | } |
ohair@286 | 577 | } |
ohair@286 | 578 | break; |
ohair@286 | 579 | case 37: |
ohair@286 | 580 | { |
ohair@286 | 581 | if(($ai = $runtime.getAttributeIndex("","finalDefault"))>=0) { |
ohair@286 | 582 | $runtime.consumeAttribute($ai); |
ohair@286 | 583 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 584 | } |
ohair@286 | 585 | else { |
ohair@286 | 586 | $_ngcc_current_state = 36; |
ohair@286 | 587 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 588 | } |
ohair@286 | 589 | } |
ohair@286 | 590 | break; |
ohair@286 | 591 | case 2: |
ohair@286 | 592 | { |
ohair@286 | 593 | $_ngcc_current_state = 1; |
ohair@286 | 594 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 595 | } |
ohair@286 | 596 | break; |
ohair@286 | 597 | case 27: |
ohair@286 | 598 | { |
ohair@286 | 599 | if(((($ai = $runtime.getAttributeIndex("","name"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","final"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","form"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","block"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","fixed"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","default"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || (($ai = $runtime.getAttributeIndex("","abstract"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element")))))))))) { |
ohair@286 | 600 | NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true); |
ohair@286 | 601 | spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
ohair@286 | 602 | } |
ohair@286 | 603 | else { |
ohair@286 | 604 | unexpectedLeaveElement($__qname); |
ohair@286 | 605 | } |
ohair@286 | 606 | } |
ohair@286 | 607 | break; |
ohair@286 | 608 | case 11: |
ohair@286 | 609 | { |
ohair@286 | 610 | if(((($ai = $runtime.getAttributeIndex("","form"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))) || (($ai = $runtime.getAttributeIndex("","name"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))))) { |
ohair@286 | 611 | NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 268, locator,false,defaultValue,fixedValue); |
ohair@286 | 612 | spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
ohair@286 | 613 | } |
ohair@286 | 614 | else { |
ohair@286 | 615 | unexpectedLeaveElement($__qname); |
ohair@286 | 616 | } |
ohair@286 | 617 | } |
ohair@286 | 618 | break; |
ohair@286 | 619 | case 26: |
ohair@286 | 620 | { |
ohair@286 | 621 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) { |
ohair@286 | 622 | $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); |
ohair@286 | 623 | $_ngcc_current_state = 1; |
ohair@286 | 624 | } |
ohair@286 | 625 | else { |
ohair@286 | 626 | unexpectedLeaveElement($__qname); |
ohair@286 | 627 | } |
ohair@286 | 628 | } |
ohair@286 | 629 | break; |
ohair@286 | 630 | case 49: |
ohair@286 | 631 | { |
ohair@286 | 632 | if(($ai = $runtime.getAttributeIndex("","attributeFormDefault"))>=0) { |
ohair@286 | 633 | $runtime.consumeAttribute($ai); |
ohair@286 | 634 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 635 | } |
ohair@286 | 636 | else { |
ohair@286 | 637 | $_ngcc_current_state = 45; |
ohair@286 | 638 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 639 | } |
ohair@286 | 640 | } |
ohair@286 | 641 | break; |
ohair@286 | 642 | case 16: |
ohair@286 | 643 | { |
ohair@286 | 644 | if(($ai = $runtime.getAttributeIndex("","default"))>=0) { |
ohair@286 | 645 | $runtime.consumeAttribute($ai); |
ohair@286 | 646 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 647 | } |
ohair@286 | 648 | else { |
ohair@286 | 649 | $_ngcc_current_state = 12; |
ohair@286 | 650 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 651 | } |
ohair@286 | 652 | } |
ohair@286 | 653 | break; |
ohair@286 | 654 | default: |
ohair@286 | 655 | { |
ohair@286 | 656 | unexpectedLeaveElement($__qname); |
ohair@286 | 657 | } |
ohair@286 | 658 | break; |
ohair@286 | 659 | } |
ohair@286 | 660 | } |
ohair@286 | 661 | |
ohair@286 | 662 | public void enterAttribute(String $__uri, String $__local, String $__qname) throws SAXException { |
ohair@286 | 663 | int $ai; |
ohair@286 | 664 | $uri = $__uri; |
ohair@286 | 665 | $localName = $__local; |
ohair@286 | 666 | $qname = $__qname; |
ohair@286 | 667 | switch($_ngcc_current_state) { |
ohair@286 | 668 | case 12: |
ohair@286 | 669 | { |
ohair@286 | 670 | if(($__uri.equals("") && $__local.equals("fixed"))) { |
ohair@286 | 671 | $_ngcc_current_state = 14; |
ohair@286 | 672 | } |
ohair@286 | 673 | else { |
ohair@286 | 674 | $_ngcc_current_state = 11; |
ohair@286 | 675 | $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 676 | } |
ohair@286 | 677 | } |
ohair@286 | 678 | break; |
ohair@286 | 679 | case 0: |
ohair@286 | 680 | { |
ohair@286 | 681 | revertToParentFromEnterAttribute(this, super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 682 | } |
ohair@286 | 683 | break; |
ohair@286 | 684 | case 27: |
ohair@286 | 685 | { |
ohair@286 | 686 | if((($__uri.equals("") && $__local.equals("name")) || (($__uri.equals("") && $__local.equals("final")) || (($__uri.equals("") && $__local.equals("form")) || (($__uri.equals("") && $__local.equals("block")) || (($__uri.equals("") && $__local.equals("fixed")) || (($__uri.equals("") && $__local.equals("default")) || ($__uri.equals("") && $__local.equals("abstract"))))))))) { |
ohair@286 | 687 | NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true); |
ohair@286 | 688 | spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); |
ohair@286 | 689 | } |
ohair@286 | 690 | else { |
ohair@286 | 691 | unexpectedEnterAttribute($__qname); |
ohair@286 | 692 | } |
ohair@286 | 693 | } |
ohair@286 | 694 | break; |
ohair@286 | 695 | case 53: |
ohair@286 | 696 | { |
ohair@286 | 697 | if(($__uri.equals("") && $__local.equals("targetNamespace"))) { |
ohair@286 | 698 | $_ngcc_current_state = 55; |
ohair@286 | 699 | } |
ohair@286 | 700 | else { |
ohair@286 | 701 | $_ngcc_current_state = 49; |
ohair@286 | 702 | $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 703 | } |
ohair@286 | 704 | } |
ohair@286 | 705 | break; |
ohair@286 | 706 | case 11: |
ohair@286 | 707 | { |
ohair@286 | 708 | if((($__uri.equals("") && $__local.equals("form")) || ($__uri.equals("") && $__local.equals("name")))) { |
ohair@286 | 709 | NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 268, locator,false,defaultValue,fixedValue); |
ohair@286 | 710 | spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); |
ohair@286 | 711 | } |
ohair@286 | 712 | else { |
ohair@286 | 713 | unexpectedEnterAttribute($__qname); |
ohair@286 | 714 | } |
ohair@286 | 715 | } |
ohair@286 | 716 | break; |
ohair@286 | 717 | case 41: |
ohair@286 | 718 | { |
ohair@286 | 719 | if(($__uri.equals("") && $__local.equals("blockDefault"))) { |
ohair@286 | 720 | $_ngcc_current_state = 43; |
ohair@286 | 721 | } |
ohair@286 | 722 | else { |
ohair@286 | 723 | $_ngcc_current_state = 37; |
ohair@286 | 724 | $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 725 | } |
ohair@286 | 726 | } |
ohair@286 | 727 | break; |
ohair@286 | 728 | case 49: |
ohair@286 | 729 | { |
ohair@286 | 730 | if(($__uri.equals("") && $__local.equals("attributeFormDefault"))) { |
ohair@286 | 731 | $_ngcc_current_state = 51; |
ohair@286 | 732 | } |
ohair@286 | 733 | else { |
ohair@286 | 734 | $_ngcc_current_state = 45; |
ohair@286 | 735 | $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 736 | } |
ohair@286 | 737 | } |
ohair@286 | 738 | break; |
ohair@286 | 739 | case 45: |
ohair@286 | 740 | { |
ohair@286 | 741 | if(($__uri.equals("") && $__local.equals("elementFormDefault"))) { |
ohair@286 | 742 | $_ngcc_current_state = 47; |
ohair@286 | 743 | } |
ohair@286 | 744 | else { |
ohair@286 | 745 | $_ngcc_current_state = 41; |
ohair@286 | 746 | $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 747 | } |
ohair@286 | 748 | } |
ohair@286 | 749 | break; |
ohair@286 | 750 | case 2: |
ohair@286 | 751 | { |
ohair@286 | 752 | $_ngcc_current_state = 1; |
ohair@286 | 753 | $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 754 | } |
ohair@286 | 755 | break; |
ohair@286 | 756 | case 37: |
ohair@286 | 757 | { |
ohair@286 | 758 | if(($__uri.equals("") && $__local.equals("finalDefault"))) { |
ohair@286 | 759 | $_ngcc_current_state = 39; |
ohair@286 | 760 | } |
ohair@286 | 761 | else { |
ohair@286 | 762 | $_ngcc_current_state = 36; |
ohair@286 | 763 | $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 764 | } |
ohair@286 | 765 | } |
ohair@286 | 766 | break; |
ohair@286 | 767 | case 16: |
ohair@286 | 768 | { |
ohair@286 | 769 | if(($__uri.equals("") && $__local.equals("default"))) { |
ohair@286 | 770 | $_ngcc_current_state = 18; |
ohair@286 | 771 | } |
ohair@286 | 772 | else { |
ohair@286 | 773 | $_ngcc_current_state = 12; |
ohair@286 | 774 | $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 775 | } |
ohair@286 | 776 | } |
ohair@286 | 777 | break; |
ohair@286 | 778 | default: |
ohair@286 | 779 | { |
ohair@286 | 780 | unexpectedEnterAttribute($__qname); |
ohair@286 | 781 | } |
ohair@286 | 782 | break; |
ohair@286 | 783 | } |
ohair@286 | 784 | } |
ohair@286 | 785 | |
ohair@286 | 786 | public void leaveAttribute(String $__uri, String $__local, String $__qname) throws SAXException { |
ohair@286 | 787 | int $ai; |
ohair@286 | 788 | $uri = $__uri; |
ohair@286 | 789 | $localName = $__local; |
ohair@286 | 790 | $qname = $__qname; |
ohair@286 | 791 | switch($_ngcc_current_state) { |
ohair@286 | 792 | case 12: |
ohair@286 | 793 | { |
ohair@286 | 794 | $_ngcc_current_state = 11; |
ohair@286 | 795 | $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 796 | } |
ohair@286 | 797 | break; |
ohair@286 | 798 | case 0: |
ohair@286 | 799 | { |
ohair@286 | 800 | revertToParentFromLeaveAttribute(this, super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 801 | } |
ohair@286 | 802 | break; |
ohair@286 | 803 | case 53: |
ohair@286 | 804 | { |
ohair@286 | 805 | $_ngcc_current_state = 49; |
ohair@286 | 806 | $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 807 | } |
ohair@286 | 808 | break; |
ohair@286 | 809 | case 41: |
ohair@286 | 810 | { |
ohair@286 | 811 | $_ngcc_current_state = 37; |
ohair@286 | 812 | $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 813 | } |
ohair@286 | 814 | break; |
ohair@286 | 815 | case 45: |
ohair@286 | 816 | { |
ohair@286 | 817 | $_ngcc_current_state = 41; |
ohair@286 | 818 | $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 819 | } |
ohair@286 | 820 | break; |
ohair@286 | 821 | case 2: |
ohair@286 | 822 | { |
ohair@286 | 823 | $_ngcc_current_state = 1; |
ohair@286 | 824 | $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 825 | } |
ohair@286 | 826 | break; |
ohair@286 | 827 | case 37: |
ohair@286 | 828 | { |
ohair@286 | 829 | $_ngcc_current_state = 36; |
ohair@286 | 830 | $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 831 | } |
ohair@286 | 832 | break; |
ohair@286 | 833 | case 50: |
ohair@286 | 834 | { |
ohair@286 | 835 | if(($__uri.equals("") && $__local.equals("attributeFormDefault"))) { |
ohair@286 | 836 | $_ngcc_current_state = 45; |
ohair@286 | 837 | } |
ohair@286 | 838 | else { |
ohair@286 | 839 | unexpectedLeaveAttribute($__qname); |
ohair@286 | 840 | } |
ohair@286 | 841 | } |
ohair@286 | 842 | break; |
ohair@286 | 843 | case 46: |
ohair@286 | 844 | { |
ohair@286 | 845 | if(($__uri.equals("") && $__local.equals("elementFormDefault"))) { |
ohair@286 | 846 | $_ngcc_current_state = 41; |
ohair@286 | 847 | } |
ohair@286 | 848 | else { |
ohair@286 | 849 | unexpectedLeaveAttribute($__qname); |
ohair@286 | 850 | } |
ohair@286 | 851 | } |
ohair@286 | 852 | break; |
ohair@286 | 853 | case 54: |
ohair@286 | 854 | { |
ohair@286 | 855 | if(($__uri.equals("") && $__local.equals("targetNamespace"))) { |
ohair@286 | 856 | $_ngcc_current_state = 49; |
ohair@286 | 857 | } |
ohair@286 | 858 | else { |
ohair@286 | 859 | unexpectedLeaveAttribute($__qname); |
ohair@286 | 860 | } |
ohair@286 | 861 | } |
ohair@286 | 862 | break; |
ohair@286 | 863 | case 13: |
ohair@286 | 864 | { |
ohair@286 | 865 | if(($__uri.equals("") && $__local.equals("fixed"))) { |
ohair@286 | 866 | $_ngcc_current_state = 11; |
ohair@286 | 867 | } |
ohair@286 | 868 | else { |
ohair@286 | 869 | unexpectedLeaveAttribute($__qname); |
ohair@286 | 870 | } |
ohair@286 | 871 | } |
ohair@286 | 872 | break; |
ohair@286 | 873 | case 17: |
ohair@286 | 874 | { |
ohair@286 | 875 | if(($__uri.equals("") && $__local.equals("default"))) { |
ohair@286 | 876 | $_ngcc_current_state = 12; |
ohair@286 | 877 | } |
ohair@286 | 878 | else { |
ohair@286 | 879 | unexpectedLeaveAttribute($__qname); |
ohair@286 | 880 | } |
ohair@286 | 881 | } |
ohair@286 | 882 | break; |
ohair@286 | 883 | case 42: |
ohair@286 | 884 | { |
ohair@286 | 885 | if(($__uri.equals("") && $__local.equals("blockDefault"))) { |
ohair@286 | 886 | $_ngcc_current_state = 37; |
ohair@286 | 887 | } |
ohair@286 | 888 | else { |
ohair@286 | 889 | unexpectedLeaveAttribute($__qname); |
ohair@286 | 890 | } |
ohair@286 | 891 | } |
ohair@286 | 892 | break; |
ohair@286 | 893 | case 38: |
ohair@286 | 894 | { |
ohair@286 | 895 | if(($__uri.equals("") && $__local.equals("finalDefault"))) { |
ohair@286 | 896 | $_ngcc_current_state = 36; |
ohair@286 | 897 | } |
ohair@286 | 898 | else { |
ohair@286 | 899 | unexpectedLeaveAttribute($__qname); |
ohair@286 | 900 | } |
ohair@286 | 901 | } |
ohair@286 | 902 | break; |
ohair@286 | 903 | case 49: |
ohair@286 | 904 | { |
ohair@286 | 905 | $_ngcc_current_state = 45; |
ohair@286 | 906 | $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 907 | } |
ohair@286 | 908 | break; |
ohair@286 | 909 | case 16: |
ohair@286 | 910 | { |
ohair@286 | 911 | $_ngcc_current_state = 12; |
ohair@286 | 912 | $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 913 | } |
ohair@286 | 914 | break; |
ohair@286 | 915 | default: |
ohair@286 | 916 | { |
ohair@286 | 917 | unexpectedLeaveAttribute($__qname); |
ohair@286 | 918 | } |
ohair@286 | 919 | break; |
ohair@286 | 920 | } |
ohair@286 | 921 | } |
ohair@286 | 922 | |
ohair@286 | 923 | public void text(String $value) throws SAXException { |
ohair@286 | 924 | int $ai; |
ohair@286 | 925 | switch($_ngcc_current_state) { |
ohair@286 | 926 | case 12: |
ohair@286 | 927 | { |
ohair@286 | 928 | if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) { |
ohair@286 | 929 | $runtime.consumeAttribute($ai); |
ohair@286 | 930 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 931 | } |
ohair@286 | 932 | else { |
ohair@286 | 933 | $_ngcc_current_state = 11; |
ohair@286 | 934 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 935 | } |
ohair@286 | 936 | } |
ohair@286 | 937 | break; |
ohair@286 | 938 | case 0: |
ohair@286 | 939 | { |
ohair@286 | 940 | revertToParentFromText(this, super._cookie, $value); |
ohair@286 | 941 | } |
ohair@286 | 942 | break; |
ohair@286 | 943 | case 53: |
ohair@286 | 944 | { |
ohair@286 | 945 | if(($ai = $runtime.getAttributeIndex("","targetNamespace"))>=0) { |
ohair@286 | 946 | $runtime.consumeAttribute($ai); |
ohair@286 | 947 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 948 | } |
ohair@286 | 949 | else { |
ohair@286 | 950 | $_ngcc_current_state = 49; |
ohair@286 | 951 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 952 | } |
ohair@286 | 953 | } |
ohair@286 | 954 | break; |
ohair@286 | 955 | case 43: |
ohair@286 | 956 | { |
ohair@286 | 957 | NGCCHandler h = new ersSet(this, super._source, $runtime, 381); |
ohair@286 | 958 | spawnChildFromText(h, $value); |
ohair@286 | 959 | } |
ohair@286 | 960 | break; |
ohair@286 | 961 | case 41: |
ohair@286 | 962 | { |
ohair@286 | 963 | if(($ai = $runtime.getAttributeIndex("","blockDefault"))>=0) { |
ohair@286 | 964 | $runtime.consumeAttribute($ai); |
ohair@286 | 965 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 966 | } |
ohair@286 | 967 | else { |
ohair@286 | 968 | $_ngcc_current_state = 37; |
ohair@286 | 969 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 970 | } |
ohair@286 | 971 | } |
ohair@286 | 972 | break; |
ohair@286 | 973 | case 45: |
ohair@286 | 974 | { |
ohair@286 | 975 | if(($ai = $runtime.getAttributeIndex("","elementFormDefault"))>=0) { |
ohair@286 | 976 | $runtime.consumeAttribute($ai); |
ohair@286 | 977 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 978 | } |
ohair@286 | 979 | else { |
ohair@286 | 980 | $_ngcc_current_state = 41; |
ohair@286 | 981 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 982 | } |
ohair@286 | 983 | } |
ohair@286 | 984 | break; |
ohair@286 | 985 | case 2: |
ohair@286 | 986 | { |
ohair@286 | 987 | $_ngcc_current_state = 1; |
ohair@286 | 988 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 989 | } |
ohair@286 | 990 | break; |
ohair@286 | 991 | case 37: |
ohair@286 | 992 | { |
ohair@286 | 993 | if(($ai = $runtime.getAttributeIndex("","finalDefault"))>=0) { |
ohair@286 | 994 | $runtime.consumeAttribute($ai); |
ohair@286 | 995 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 996 | } |
ohair@286 | 997 | else { |
ohair@286 | 998 | $_ngcc_current_state = 36; |
ohair@286 | 999 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 1000 | } |
ohair@286 | 1001 | } |
ohair@286 | 1002 | break; |
ohair@286 | 1003 | case 55: |
ohair@286 | 1004 | { |
ohair@286 | 1005 | $_ngcc_current_state = 54; |
ohair@286 | 1006 | } |
ohair@286 | 1007 | break; |
ohair@286 | 1008 | case 14: |
ohair@286 | 1009 | { |
ohair@286 | 1010 | fixedValue = $value; |
ohair@286 | 1011 | $_ngcc_current_state = 13; |
ohair@286 | 1012 | } |
ohair@286 | 1013 | break; |
ohair@286 | 1014 | case 47: |
ohair@286 | 1015 | { |
ohair@286 | 1016 | if($value.equals("unqualified")) { |
ohair@286 | 1017 | NGCCHandler h = new qualification(this, super._source, $runtime, 386); |
ohair@286 | 1018 | spawnChildFromText(h, $value); |
ohair@286 | 1019 | } |
ohair@286 | 1020 | else { |
ohair@286 | 1021 | if($value.equals("qualified")) { |
ohair@286 | 1022 | NGCCHandler h = new qualification(this, super._source, $runtime, 386); |
ohair@286 | 1023 | spawnChildFromText(h, $value); |
ohair@286 | 1024 | } |
ohair@286 | 1025 | } |
ohair@286 | 1026 | } |
ohair@286 | 1027 | break; |
ohair@286 | 1028 | case 39: |
ohair@286 | 1029 | { |
ohair@286 | 1030 | NGCCHandler h = new erSet(this, super._source, $runtime, 376); |
ohair@286 | 1031 | spawnChildFromText(h, $value); |
ohair@286 | 1032 | } |
ohair@286 | 1033 | break; |
ohair@286 | 1034 | case 27: |
ohair@286 | 1035 | { |
ohair@286 | 1036 | if(($ai = $runtime.getAttributeIndex("","abstract"))>=0) { |
ohair@286 | 1037 | NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true); |
ohair@286 | 1038 | spawnChildFromText(h, $value); |
ohair@286 | 1039 | } |
ohair@286 | 1040 | else { |
ohair@286 | 1041 | if(($ai = $runtime.getAttributeIndex("","default"))>=0) { |
ohair@286 | 1042 | NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true); |
ohair@286 | 1043 | spawnChildFromText(h, $value); |
ohair@286 | 1044 | } |
ohair@286 | 1045 | else { |
ohair@286 | 1046 | if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) { |
ohair@286 | 1047 | NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true); |
ohair@286 | 1048 | spawnChildFromText(h, $value); |
ohair@286 | 1049 | } |
ohair@286 | 1050 | else { |
ohair@286 | 1051 | if(($ai = $runtime.getAttributeIndex("","block"))>=0) { |
ohair@286 | 1052 | NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true); |
ohair@286 | 1053 | spawnChildFromText(h, $value); |
ohair@286 | 1054 | } |
ohair@286 | 1055 | else { |
ohair@286 | 1056 | if(($ai = $runtime.getAttributeIndex("","form"))>=0) { |
ohair@286 | 1057 | NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true); |
ohair@286 | 1058 | spawnChildFromText(h, $value); |
ohair@286 | 1059 | } |
ohair@286 | 1060 | else { |
ohair@286 | 1061 | if(($ai = $runtime.getAttributeIndex("","final"))>=0) { |
ohair@286 | 1062 | NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true); |
ohair@286 | 1063 | spawnChildFromText(h, $value); |
ohair@286 | 1064 | } |
ohair@286 | 1065 | else { |
ohair@286 | 1066 | if(($ai = $runtime.getAttributeIndex("","name"))>=0) { |
ohair@286 | 1067 | NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true); |
ohair@286 | 1068 | spawnChildFromText(h, $value); |
ohair@286 | 1069 | } |
ohair@286 | 1070 | } |
ohair@286 | 1071 | } |
ohair@286 | 1072 | } |
ohair@286 | 1073 | } |
ohair@286 | 1074 | } |
ohair@286 | 1075 | } |
ohair@286 | 1076 | } |
ohair@286 | 1077 | break; |
ohair@286 | 1078 | case 11: |
ohair@286 | 1079 | { |
ohair@286 | 1080 | if(($ai = $runtime.getAttributeIndex("","name"))>=0) { |
ohair@286 | 1081 | NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 268, locator,false,defaultValue,fixedValue); |
ohair@286 | 1082 | spawnChildFromText(h, $value); |
ohair@286 | 1083 | } |
ohair@286 | 1084 | else { |
ohair@286 | 1085 | if(($ai = $runtime.getAttributeIndex("","form"))>=0) { |
ohair@286 | 1086 | NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 268, locator,false,defaultValue,fixedValue); |
ohair@286 | 1087 | spawnChildFromText(h, $value); |
ohair@286 | 1088 | } |
ohair@286 | 1089 | } |
ohair@286 | 1090 | } |
ohair@286 | 1091 | break; |
ohair@286 | 1092 | case 18: |
ohair@286 | 1093 | { |
ohair@286 | 1094 | defaultValue = $value; |
ohair@286 | 1095 | $_ngcc_current_state = 17; |
ohair@286 | 1096 | } |
ohair@286 | 1097 | break; |
ohair@286 | 1098 | case 51: |
ohair@286 | 1099 | { |
ohair@286 | 1100 | if($value.equals("unqualified")) { |
ohair@286 | 1101 | NGCCHandler h = new qualification(this, super._source, $runtime, 391); |
ohair@286 | 1102 | spawnChildFromText(h, $value); |
ohair@286 | 1103 | } |
ohair@286 | 1104 | else { |
ohair@286 | 1105 | if($value.equals("qualified")) { |
ohair@286 | 1106 | NGCCHandler h = new qualification(this, super._source, $runtime, 391); |
ohair@286 | 1107 | spawnChildFromText(h, $value); |
ohair@286 | 1108 | } |
ohair@286 | 1109 | } |
ohair@286 | 1110 | } |
ohair@286 | 1111 | break; |
ohair@286 | 1112 | case 49: |
ohair@286 | 1113 | { |
ohair@286 | 1114 | if(($ai = $runtime.getAttributeIndex("","attributeFormDefault"))>=0) { |
ohair@286 | 1115 | $runtime.consumeAttribute($ai); |
ohair@286 | 1116 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 1117 | } |
ohair@286 | 1118 | else { |
ohair@286 | 1119 | $_ngcc_current_state = 45; |
ohair@286 | 1120 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 1121 | } |
ohair@286 | 1122 | } |
ohair@286 | 1123 | break; |
ohair@286 | 1124 | case 16: |
ohair@286 | 1125 | { |
ohair@286 | 1126 | if(($ai = $runtime.getAttributeIndex("","default"))>=0) { |
ohair@286 | 1127 | $runtime.consumeAttribute($ai); |
ohair@286 | 1128 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 1129 | } |
ohair@286 | 1130 | else { |
ohair@286 | 1131 | $_ngcc_current_state = 12; |
ohair@286 | 1132 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 1133 | } |
ohair@286 | 1134 | } |
ohair@286 | 1135 | break; |
ohair@286 | 1136 | } |
ohair@286 | 1137 | } |
ohair@286 | 1138 | |
ohair@286 | 1139 | public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException { |
ohair@286 | 1140 | switch($__cookie__) { |
ohair@286 | 1141 | case 381: |
ohair@286 | 1142 | { |
ohair@286 | 1143 | blockDefault = ((Integer)$__result__); |
ohair@286 | 1144 | action12(); |
ohair@286 | 1145 | $_ngcc_current_state = 42; |
ohair@286 | 1146 | } |
ohair@286 | 1147 | break; |
ohair@286 | 1148 | case 268: |
ohair@286 | 1149 | { |
ohair@286 | 1150 | ad = ((AttributeDeclImpl)$__result__); |
ohair@286 | 1151 | action3(); |
ohair@286 | 1152 | $_ngcc_current_state = 10; |
ohair@286 | 1153 | } |
ohair@286 | 1154 | break; |
ohair@286 | 1155 | case 391: |
ohair@286 | 1156 | { |
ohair@286 | 1157 | afd = ((Boolean)$__result__).booleanValue(); |
ohair@286 | 1158 | action14(); |
ohair@286 | 1159 | $_ngcc_current_state = 50; |
ohair@286 | 1160 | } |
ohair@286 | 1161 | break; |
ohair@286 | 1162 | case 386: |
ohair@286 | 1163 | { |
ohair@286 | 1164 | efd = ((Boolean)$__result__).booleanValue(); |
ohair@286 | 1165 | action13(); |
ohair@286 | 1166 | $_ngcc_current_state = 46; |
ohair@286 | 1167 | } |
ohair@286 | 1168 | break; |
ohair@286 | 1169 | case 351: |
ohair@286 | 1170 | { |
ohair@286 | 1171 | anno = ((AnnotationImpl)$__result__); |
ohair@286 | 1172 | action9(); |
ohair@286 | 1173 | $_ngcc_current_state = 1; |
ohair@286 | 1174 | } |
ohair@286 | 1175 | break; |
ohair@286 | 1176 | case 352: |
ohair@286 | 1177 | { |
ohair@286 | 1178 | $_ngcc_current_state = 1; |
ohair@286 | 1179 | } |
ohair@286 | 1180 | break; |
ohair@286 | 1181 | case 353: |
ohair@286 | 1182 | { |
ohair@286 | 1183 | $_ngcc_current_state = 1; |
ohair@286 | 1184 | } |
ohair@286 | 1185 | break; |
ohair@286 | 1186 | case 354: |
ohair@286 | 1187 | { |
ohair@286 | 1188 | $_ngcc_current_state = 1; |
ohair@286 | 1189 | } |
ohair@286 | 1190 | break; |
ohair@286 | 1191 | case 356: |
ohair@286 | 1192 | { |
ohair@286 | 1193 | st = ((SimpleTypeImpl)$__result__); |
ohair@286 | 1194 | action6(); |
ohair@286 | 1195 | $_ngcc_current_state = 1; |
ohair@286 | 1196 | } |
ohair@286 | 1197 | break; |
ohair@286 | 1198 | case 357: |
ohair@286 | 1199 | { |
ohair@286 | 1200 | ct = ((ComplexTypeImpl)$__result__); |
ohair@286 | 1201 | action5(); |
ohair@286 | 1202 | $_ngcc_current_state = 1; |
ohair@286 | 1203 | } |
ohair@286 | 1204 | break; |
ohair@286 | 1205 | case 359: |
ohair@286 | 1206 | { |
ohair@286 | 1207 | group = ((ModelGroupDeclImpl)$__result__); |
ohair@286 | 1208 | action2(); |
ohair@286 | 1209 | $_ngcc_current_state = 1; |
ohair@286 | 1210 | } |
ohair@286 | 1211 | break; |
ohair@286 | 1212 | case 360: |
ohair@286 | 1213 | { |
ohair@286 | 1214 | notation = ((XSNotation)$__result__); |
ohair@286 | 1215 | action1(); |
ohair@286 | 1216 | $_ngcc_current_state = 1; |
ohair@286 | 1217 | } |
ohair@286 | 1218 | break; |
ohair@286 | 1219 | case 361: |
ohair@286 | 1220 | { |
ohair@286 | 1221 | ag = ((AttGroupDeclImpl)$__result__); |
ohair@286 | 1222 | action0(); |
ohair@286 | 1223 | $_ngcc_current_state = 1; |
ohair@286 | 1224 | } |
ohair@286 | 1225 | break; |
ohair@286 | 1226 | case 286: |
ohair@286 | 1227 | { |
ohair@286 | 1228 | e = ((ElementDecl)$__result__); |
ohair@286 | 1229 | action7(); |
ohair@286 | 1230 | $_ngcc_current_state = 26; |
ohair@286 | 1231 | } |
ohair@286 | 1232 | break; |
ohair@286 | 1233 | case 374: |
ohair@286 | 1234 | { |
ohair@286 | 1235 | fa = ((ForeignAttributesImpl)$__result__); |
ohair@286 | 1236 | action10(); |
ohair@286 | 1237 | $_ngcc_current_state = 2; |
ohair@286 | 1238 | } |
ohair@286 | 1239 | break; |
ohair@286 | 1240 | case 362: |
ohair@286 | 1241 | { |
ohair@286 | 1242 | anno = ((AnnotationImpl)$__result__); |
ohair@286 | 1243 | action9(); |
ohair@286 | 1244 | $_ngcc_current_state = 1; |
ohair@286 | 1245 | } |
ohair@286 | 1246 | break; |
ohair@286 | 1247 | case 363: |
ohair@286 | 1248 | { |
ohair@286 | 1249 | $_ngcc_current_state = 1; |
ohair@286 | 1250 | } |
ohair@286 | 1251 | break; |
ohair@286 | 1252 | case 364: |
ohair@286 | 1253 | { |
ohair@286 | 1254 | $_ngcc_current_state = 1; |
ohair@286 | 1255 | } |
ohair@286 | 1256 | break; |
ohair@286 | 1257 | case 365: |
ohair@286 | 1258 | { |
ohair@286 | 1259 | $_ngcc_current_state = 1; |
ohair@286 | 1260 | } |
ohair@286 | 1261 | break; |
ohair@286 | 1262 | case 367: |
ohair@286 | 1263 | { |
ohair@286 | 1264 | st = ((SimpleTypeImpl)$__result__); |
ohair@286 | 1265 | action6(); |
ohair@286 | 1266 | $_ngcc_current_state = 1; |
ohair@286 | 1267 | } |
ohair@286 | 1268 | break; |
ohair@286 | 1269 | case 368: |
ohair@286 | 1270 | { |
ohair@286 | 1271 | ct = ((ComplexTypeImpl)$__result__); |
ohair@286 | 1272 | action5(); |
ohair@286 | 1273 | $_ngcc_current_state = 1; |
ohair@286 | 1274 | } |
ohair@286 | 1275 | break; |
ohair@286 | 1276 | case 370: |
ohair@286 | 1277 | { |
ohair@286 | 1278 | group = ((ModelGroupDeclImpl)$__result__); |
ohair@286 | 1279 | action2(); |
ohair@286 | 1280 | $_ngcc_current_state = 1; |
ohair@286 | 1281 | } |
ohair@286 | 1282 | break; |
ohair@286 | 1283 | case 371: |
ohair@286 | 1284 | { |
ohair@286 | 1285 | notation = ((XSNotation)$__result__); |
ohair@286 | 1286 | action1(); |
ohair@286 | 1287 | $_ngcc_current_state = 1; |
ohair@286 | 1288 | } |
ohair@286 | 1289 | break; |
ohair@286 | 1290 | case 372: |
ohair@286 | 1291 | { |
ohair@286 | 1292 | ag = ((AttGroupDeclImpl)$__result__); |
ohair@286 | 1293 | action0(); |
ohair@286 | 1294 | $_ngcc_current_state = 1; |
ohair@286 | 1295 | } |
ohair@286 | 1296 | break; |
ohair@286 | 1297 | case 376: |
ohair@286 | 1298 | { |
ohair@286 | 1299 | finalDefault = ((Integer)$__result__); |
ohair@286 | 1300 | action11(); |
ohair@286 | 1301 | $_ngcc_current_state = 38; |
ohair@286 | 1302 | } |
ohair@286 | 1303 | break; |
ohair@286 | 1304 | } |
ohair@286 | 1305 | } |
ohair@286 | 1306 | |
ohair@286 | 1307 | public boolean accepted() { |
ohair@286 | 1308 | return(($_ngcc_current_state == 0)); |
ohair@286 | 1309 | } |
ohair@286 | 1310 | |
ohair@286 | 1311 | |
ohair@286 | 1312 | private String tns=null; // it defaults to the no namespace. |
ohair@286 | 1313 | private Locator locator; |
ohair@286 | 1314 | |
ohair@286 | 1315 | } |