src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/state/particle.java

Tue, 06 Mar 2012 16:09:35 -0800

author
ohair
date
Tue, 06 Mar 2012 16:09:35 -0800
changeset 286
f50545b5e2f1
child 397
b99d7e355d4b
permissions
-rw-r--r--

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

mercurial