0001: /* this file is generated by RelaxNGCC */
0002: package com.sun.xml.xsom.impl.parser.state;
0003:
0004: import org.xml.sax.SAXException;
0005: import org.xml.sax.XMLReader;
0006: import org.xml.sax.Attributes;
0007: import com.sun.xml.xsom.impl.parser.NGCCRuntimeEx;
0008:
0009: import com.sun.xml.xsom.*;
0010: import com.sun.xml.xsom.parser.*;
0011: import com.sun.xml.xsom.impl.*;
0012: import com.sun.xml.xsom.impl.parser.*;
0013: import org.xml.sax.Locator;
0014: import org.xml.sax.ContentHandler;
0015: import org.xml.sax.helpers.*;
0016: import java.util.*;
0017:
0018: class particle extends NGCCHandler {
0019: private AnnotationImpl annotation;
0020: private ElementDecl anonymousElementDecl;
0021: private WildcardImpl wcBody;
0022: private ModelGroupImpl term;
0023: private UName elementTypeName;
0024: private occurs occurs;
0025: private UName groupName;
0026: protected final NGCCRuntimeEx $runtime;
0027: private int $_ngcc_current_state;
0028: protected String $uri;
0029: protected String $localName;
0030: protected String $qname;
0031:
0032: public final NGCCRuntime getRuntime() {
0033: return ($runtime);
0034: }
0035:
0036: public particle(NGCCHandler parent, NGCCEventSource source,
0037: NGCCRuntimeEx runtime, int cookie) {
0038: super (source, parent, cookie);
0039: $runtime = runtime;
0040: $_ngcc_current_state = 1;
0041: }
0042:
0043: public particle(NGCCRuntimeEx runtime) {
0044: this (null, runtime, runtime, -1);
0045: }
0046:
0047: private void action0() throws SAXException {
0048:
0049: result = new ParticleImpl($runtime.document, null, wcBody,
0050: wloc, occurs.max, occurs.min);
0051:
0052: }
0053:
0054: private void action1() throws SAXException {
0055: wloc = $runtime.copyLocator();
0056: }
0057:
0058: private void action2() throws SAXException {
0059:
0060: result = new ParticleImpl($runtime.document, null,
0061: anonymousElementDecl, loc, occurs.max, occurs.min);
0062:
0063: }
0064:
0065: private void action3() throws SAXException {
0066:
0067: result = new ParticleImpl($runtime.document, annotation,
0068: new DelayedRef.Element($runtime, loc,
0069: $runtime.currentSchema, elementTypeName), loc,
0070: occurs.max, occurs.min);
0071:
0072: }
0073:
0074: private void action4() throws SAXException {
0075: loc = $runtime.copyLocator();
0076: }
0077:
0078: private void action5() throws SAXException {
0079:
0080: result = new ParticleImpl($runtime.document, annotation,
0081: new DelayedRef.ModelGroup($runtime, loc,
0082: $runtime.currentSchema, groupName), loc,
0083: occurs.max, occurs.min);
0084:
0085: }
0086:
0087: private void action6() throws SAXException {
0088: loc = $runtime.copyLocator();
0089: }
0090:
0091: private void action7() throws SAXException {
0092:
0093: result = new ParticleImpl($runtime.document, null, term, loc,
0094: occurs.max, occurs.min);
0095:
0096: }
0097:
0098: private void action8() throws SAXException {
0099:
0100: compositorName = $localName;
0101: loc = $runtime.copyLocator();
0102:
0103: }
0104:
0105: public void enterElement(String $__uri, String $__local,
0106: String $__qname, Attributes $attrs) throws SAXException {
0107: int $ai;
0108: $uri = $__uri;
0109: $localName = $__local;
0110: $qname = $__qname;
0111: switch ($_ngcc_current_state) {
0112: case 26: {
0113: if (((($ai = $runtime.getAttributeIndex("", "maxOccurs")) >= 0 && ($__uri
0114: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0115: .equals("annotation"))) || ((($ai = $runtime
0116: .getAttributeIndex("", "minOccurs")) >= 0 && ($__uri
0117: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0118: .equals("annotation"))) || (($ai = $runtime
0119: .getAttributeIndex("", "ref")) >= 0 && ($__uri
0120: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0121: .equals("annotation")))))) {
0122: NGCCHandler h = new occurs(this , super ._source,
0123: $runtime, 599);
0124: spawnChildFromEnterElement(h, $__uri, $__local,
0125: $__qname, $attrs);
0126: } else {
0127: unexpectedEnterElement($__qname);
0128: }
0129: }
0130: break;
0131: case 4: {
0132: if (((($ai = $runtime.getAttributeIndex("",
0133: "processContents")) >= 0 && ($__uri
0134: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0135: .equals("annotation"))) || (($__uri
0136: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0137: .equals("annotation")) || ((($ai = $runtime
0138: .getAttributeIndex("", "maxOccurs")) >= 0 && ($__uri
0139: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0140: .equals("annotation"))) || ((($ai = $runtime
0141: .getAttributeIndex("", "minOccurs")) >= 0 && ($__uri
0142: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0143: .equals("annotation"))) || (($ai = $runtime
0144: .getAttributeIndex("", "namespace")) >= 0 && ($__uri
0145: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0146: .equals("annotation")))))))) {
0147: NGCCHandler h = new occurs(this , super ._source,
0148: $runtime, 574);
0149: spawnChildFromEnterElement(h, $__uri, $__local,
0150: $__qname, $attrs);
0151: } else {
0152: unexpectedEnterElement($__qname);
0153: }
0154: }
0155: break;
0156: case 25: {
0157: if (($ai = $runtime.getAttributeIndex("", "ref")) >= 0) {
0158: $runtime.consumeAttribute($ai);
0159: $runtime.sendEnterElement(super ._cookie, $__uri,
0160: $__local, $__qname, $attrs);
0161: } else {
0162: unexpectedEnterElement($__qname);
0163: }
0164: }
0165: break;
0166: case 20: {
0167: action5();
0168: $_ngcc_current_state = 19;
0169: $runtime.sendEnterElement(super ._cookie, $__uri, $__local,
0170: $__qname, $attrs);
0171: }
0172: break;
0173: case 16: {
0174: if (((($ai = $runtime.getAttributeIndex("", "default")) >= 0 && (((($__uri
0175: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0176: .equals("simpleType")) || ((($__uri
0177: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0178: .equals("key")) || ($__uri
0179: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0180: .equals("keyref"))) || ($__uri
0181: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0182: .equals("unique")))) || ($__uri
0183: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0184: .equals("complexType"))) || ($__uri
0185: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0186: .equals("annotation")))) || ((($ai = $runtime
0187: .getAttributeIndex("", "block")) >= 0 && (((($__uri
0188: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0189: .equals("simpleType")) || ((($__uri
0190: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0191: .equals("key")) || ($__uri
0192: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0193: .equals("keyref"))) || ($__uri
0194: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0195: .equals("unique")))) || ($__uri
0196: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0197: .equals("complexType"))) || ($__uri
0198: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0199: .equals("annotation")))) || ((($ai = $runtime
0200: .getAttributeIndex("", "fixed")) >= 0 && (((($__uri
0201: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0202: .equals("simpleType")) || ((($__uri
0203: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0204: .equals("key")) || ($__uri
0205: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0206: .equals("keyref"))) || ($__uri
0207: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0208: .equals("unique")))) || ($__uri
0209: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0210: .equals("complexType"))) || ($__uri
0211: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0212: .equals("annotation")))) || ((($ai = $runtime
0213: .getAttributeIndex("", "maxOccurs")) >= 0 && (((($__uri
0214: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0215: .equals("simpleType")) || ((($__uri
0216: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0217: .equals("key")) || ($__uri
0218: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0219: .equals("keyref"))) || ($__uri
0220: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0221: .equals("unique")))) || ($__uri
0222: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0223: .equals("complexType"))) || ($__uri
0224: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0225: .equals("annotation")))) || ((($ai = $runtime
0226: .getAttributeIndex("", "minOccurs")) >= 0 && (((($__uri
0227: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0228: .equals("simpleType")) || ((($__uri
0229: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0230: .equals("key")) || ($__uri
0231: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0232: .equals("keyref"))) || ($__uri
0233: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0234: .equals("unique")))) || ($__uri
0235: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0236: .equals("complexType"))) || ($__uri
0237: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0238: .equals("annotation")))) || ((($ai = $runtime
0239: .getAttributeIndex("", "form")) >= 0 && (((($__uri
0240: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0241: .equals("simpleType")) || ((($__uri
0242: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0243: .equals("key")) || ($__uri
0244: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0245: .equals("keyref"))) || ($__uri
0246: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0247: .equals("unique")))) || ($__uri
0248: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0249: .equals("complexType"))) || ($__uri
0250: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0251: .equals("annotation")))) || ((($ai = $runtime
0252: .getAttributeIndex("", "final")) >= 0 && (((($__uri
0253: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0254: .equals("simpleType")) || ((($__uri
0255: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0256: .equals("key")) || ($__uri
0257: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0258: .equals("keyref"))) || ($__uri
0259: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0260: .equals("unique")))) || ($__uri
0261: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0262: .equals("complexType"))) || ($__uri
0263: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0264: .equals("annotation")))) || ((($ai = $runtime
0265: .getAttributeIndex("", "abstract")) >= 0 && (((($__uri
0266: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0267: .equals("simpleType")) || ((($__uri
0268: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0269: .equals("key")) || ($__uri
0270: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0271: .equals("keyref"))) || ($__uri
0272: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0273: .equals("unique")))) || ($__uri
0274: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0275: .equals("complexType"))) || ($__uri
0276: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0277: .equals("annotation")))) || ((($ai = $runtime
0278: .getAttributeIndex("", "ref")) >= 0 && (((($__uri
0279: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0280: .equals("simpleType")) || ((($__uri
0281: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0282: .equals("key")) || ($__uri
0283: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0284: .equals("keyref"))) || ($__uri
0285: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0286: .equals("unique")))) || ($__uri
0287: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0288: .equals("complexType"))) || ($__uri
0289: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0290: .equals("annotation")))) || (($ai = $runtime
0291: .getAttributeIndex("", "name")) >= 0 && (((($__uri
0292: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0293: .equals("simpleType")) || ((($__uri
0294: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0295: .equals("key")) || ($__uri
0296: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0297: .equals("keyref"))) || ($__uri
0298: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0299: .equals("unique")))) || ($__uri
0300: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0301: .equals("complexType"))) || ($__uri
0302: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0303: .equals("annotation")))))))))))))) {
0304: NGCCHandler h = new occurs(this , super ._source,
0305: $runtime, 588);
0306: spawnChildFromEnterElement(h, $__uri, $__local,
0307: $__qname, $attrs);
0308: } else {
0309: unexpectedEnterElement($__qname);
0310: }
0311: }
0312: break;
0313: case 1: {
0314: if (((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0315: .equals("all")) || ($__uri
0316: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0317: .equals("choice"))) || ($__uri
0318: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0319: .equals("sequence")))) {
0320: $runtime.onEnterElementConsumed($__uri, $__local,
0321: $__qname, $attrs);
0322: action8();
0323: $_ngcc_current_state = 30;
0324: } else {
0325: if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0326: .equals("group"))) {
0327: $runtime.onEnterElementConsumed($__uri, $__local,
0328: $__qname, $attrs);
0329: action6();
0330: $_ngcc_current_state = 26;
0331: } else {
0332: if (($__uri
0333: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0334: .equals("element"))) {
0335: $runtime.onEnterElementConsumed($__uri,
0336: $__local, $__qname, $attrs);
0337: action4();
0338: $_ngcc_current_state = 16;
0339: } else {
0340: if (($__uri
0341: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0342: .equals("any"))) {
0343: $runtime.onEnterElementConsumed($__uri,
0344: $__local, $__qname, $attrs);
0345: action1();
0346: $_ngcc_current_state = 4;
0347: } else {
0348: unexpectedEnterElement($__qname);
0349: }
0350: }
0351: }
0352: }
0353: }
0354: break;
0355: case 21: {
0356: if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0357: .equals("annotation"))) {
0358: NGCCHandler h = new annotation(this , super ._source,
0359: $runtime, 594, null, AnnotationContext.PARTICLE);
0360: spawnChildFromEnterElement(h, $__uri, $__local,
0361: $__qname, $attrs);
0362: } else {
0363: $_ngcc_current_state = 20;
0364: $runtime.sendEnterElement(super ._cookie, $__uri,
0365: $__local, $__qname, $attrs);
0366: }
0367: }
0368: break;
0369: case 29: {
0370: if ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0371: .equals("annotation")) || (((($__uri
0372: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0373: .equals("all")) || ($__uri
0374: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0375: .equals("choice"))) || ($__uri
0376: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0377: .equals("sequence"))) || (($__uri
0378: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0379: .equals("any")) || (($__uri
0380: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0381: .equals("element")) || ($__uri
0382: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0383: .equals("group"))))))) {
0384: NGCCHandler h = new modelGroupBody(this , super ._source,
0385: $runtime, 603, loc, compositorName);
0386: spawnChildFromEnterElement(h, $__uri, $__local,
0387: $__qname, $attrs);
0388: } else {
0389: unexpectedEnterElement($__qname);
0390: }
0391: }
0392: break;
0393: case 10: {
0394: action3();
0395: $_ngcc_current_state = 7;
0396: $runtime.sendEnterElement(super ._cookie, $__uri, $__local,
0397: $__qname, $attrs);
0398: }
0399: break;
0400: case 30: {
0401: if ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0402: .equals("annotation")) || (((($__uri
0403: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0404: .equals("all")) || ($__uri
0405: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0406: .equals("choice"))) || ($__uri
0407: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0408: .equals("sequence"))) || ((($ai = $runtime
0409: .getAttributeIndex("", "maxOccurs")) >= 0 && ((((($__uri
0410: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0411: .equals("element")) || ($__uri
0412: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0413: .equals("group"))) || ($__uri
0414: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0415: .equals("any"))) || ((($__uri
0416: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0417: .equals("all")) || ($__uri
0418: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0419: .equals("choice"))) || ($__uri
0420: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0421: .equals("sequence")))) || ($__uri
0422: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0423: .equals("annotation")))) || ((($ai = $runtime
0424: .getAttributeIndex("", "minOccurs")) >= 0 && ((((($__uri
0425: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0426: .equals("element")) || ($__uri
0427: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0428: .equals("group"))) || ($__uri
0429: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0430: .equals("any"))) || ((($__uri
0431: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0432: .equals("all")) || ($__uri
0433: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0434: .equals("choice"))) || ($__uri
0435: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0436: .equals("sequence")))) || ($__uri
0437: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0438: .equals("annotation")))) || (($__uri
0439: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0440: .equals("any")) || (($__uri
0441: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0442: .equals("element")) || ($__uri
0443: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0444: .equals("group"))))))))) {
0445: NGCCHandler h = new occurs(this , super ._source,
0446: $runtime, 604);
0447: spawnChildFromEnterElement(h, $__uri, $__local,
0448: $__qname, $attrs);
0449: } else {
0450: unexpectedEnterElement($__qname);
0451: }
0452: }
0453: break;
0454: case 8: {
0455: if (($ai = $runtime.getAttributeIndex("", "ref")) >= 0) {
0456: $runtime.consumeAttribute($ai);
0457: $runtime.sendEnterElement(super ._cookie, $__uri,
0458: $__local, $__qname, $attrs);
0459: } else {
0460: if ((($ai = $runtime.getAttributeIndex("", "default")) >= 0 || (($ai = $runtime
0461: .getAttributeIndex("", "block")) >= 0 || (($ai = $runtime
0462: .getAttributeIndex("", "fixed")) >= 0 || (($ai = $runtime
0463: .getAttributeIndex("", "form")) >= 0 || (($ai = $runtime
0464: .getAttributeIndex("", "final")) >= 0 || (($ai = $runtime
0465: .getAttributeIndex("", "abstract")) >= 0 || ($ai = $runtime
0466: .getAttributeIndex("", "name")) >= 0))))))) {
0467: NGCCHandler h = new elementDeclBody(this ,
0468: super ._source, $runtime, 579, loc, false);
0469: spawnChildFromEnterElement(h, $__uri, $__local,
0470: $__qname, $attrs);
0471: } else {
0472: unexpectedEnterElement($__qname);
0473: }
0474: }
0475: }
0476: break;
0477: case 0: {
0478: revertToParentFromEnterElement(result, super ._cookie,
0479: $__uri, $__local, $__qname, $attrs);
0480: }
0481: break;
0482: case 3: {
0483: if ((($ai = $runtime.getAttributeIndex("",
0484: "processContents")) >= 0 || (($__uri
0485: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0486: .equals("annotation")) || ($ai = $runtime
0487: .getAttributeIndex("", "namespace")) >= 0))) {
0488: NGCCHandler h = new wildcardBody(this , super ._source,
0489: $runtime, 573, wloc);
0490: spawnChildFromEnterElement(h, $__uri, $__local,
0491: $__qname, $attrs);
0492: } else {
0493: unexpectedEnterElement($__qname);
0494: }
0495: }
0496: break;
0497: case 11: {
0498: if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0499: .equals("annotation"))) {
0500: NGCCHandler h = new annotation(this , super ._source,
0501: $runtime, 582, null, AnnotationContext.PARTICLE);
0502: spawnChildFromEnterElement(h, $__uri, $__local,
0503: $__qname, $attrs);
0504: } else {
0505: $_ngcc_current_state = 10;
0506: $runtime.sendEnterElement(super ._cookie, $__uri,
0507: $__local, $__qname, $attrs);
0508: }
0509: }
0510: break;
0511: default: {
0512: unexpectedEnterElement($__qname);
0513: }
0514: break;
0515: }
0516: }
0517:
0518: public void leaveElement(String $__uri, String $__local,
0519: String $__qname) throws SAXException {
0520: int $ai;
0521: $uri = $__uri;
0522: $localName = $__local;
0523: $qname = $__qname;
0524: switch ($_ngcc_current_state) {
0525: case 26: {
0526: if (((($ai = $runtime.getAttributeIndex("", "maxOccurs")) >= 0 && ($__uri
0527: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0528: .equals("group"))) || ((($ai = $runtime
0529: .getAttributeIndex("", "minOccurs")) >= 0 && ($__uri
0530: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0531: .equals("group"))) || (($ai = $runtime
0532: .getAttributeIndex("", "ref")) >= 0 && ($__uri
0533: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0534: .equals("group")))))) {
0535: NGCCHandler h = new occurs(this , super ._source,
0536: $runtime, 599);
0537: spawnChildFromLeaveElement(h, $__uri, $__local,
0538: $__qname);
0539: } else {
0540: unexpectedLeaveElement($__qname);
0541: }
0542: }
0543: break;
0544: case 28: {
0545: if (((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0546: .equals("all")) || ($__uri
0547: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0548: .equals("choice"))) || ($__uri
0549: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0550: .equals("sequence")))) {
0551: $runtime.onLeaveElementConsumed($__uri, $__local,
0552: $__qname);
0553: $_ngcc_current_state = 0;
0554: } else {
0555: unexpectedLeaveElement($__qname);
0556: }
0557: }
0558: break;
0559: case 4: {
0560: if ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0561: .equals("any")) || ((($ai = $runtime
0562: .getAttributeIndex("", "processContents")) >= 0 && ($__uri
0563: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0564: .equals("any"))) || ((($ai = $runtime
0565: .getAttributeIndex("", "maxOccurs")) >= 0 && ($__uri
0566: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0567: .equals("any"))) || ((($ai = $runtime
0568: .getAttributeIndex("", "minOccurs")) >= 0 && ($__uri
0569: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0570: .equals("any"))) || (($ai = $runtime
0571: .getAttributeIndex("", "namespace")) >= 0 && ($__uri
0572: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0573: .equals("any")))))))) {
0574: NGCCHandler h = new occurs(this , super ._source,
0575: $runtime, 574);
0576: spawnChildFromLeaveElement(h, $__uri, $__local,
0577: $__qname);
0578: } else {
0579: unexpectedLeaveElement($__qname);
0580: }
0581: }
0582: break;
0583: case 2: {
0584: if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0585: .equals("any"))) {
0586: $runtime.onLeaveElementConsumed($__uri, $__local,
0587: $__qname);
0588: $_ngcc_current_state = 0;
0589: } else {
0590: unexpectedLeaveElement($__qname);
0591: }
0592: }
0593: break;
0594: case 25: {
0595: if (($ai = $runtime.getAttributeIndex("", "ref")) >= 0) {
0596: $runtime.consumeAttribute($ai);
0597: $runtime.sendLeaveElement(super ._cookie, $__uri,
0598: $__local, $__qname);
0599: } else {
0600: unexpectedLeaveElement($__qname);
0601: }
0602: }
0603: break;
0604: case 20: {
0605: action5();
0606: $_ngcc_current_state = 19;
0607: $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
0608: $__qname);
0609: }
0610: break;
0611: case 16: {
0612: if (((($ai = $runtime.getAttributeIndex("", "default")) >= 0 && ($__uri
0613: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0614: .equals("element"))) || ((($ai = $runtime
0615: .getAttributeIndex("", "block")) >= 0 && ($__uri
0616: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0617: .equals("element"))) || ((($ai = $runtime
0618: .getAttributeIndex("", "fixed")) >= 0 && ($__uri
0619: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0620: .equals("element"))) || ((($ai = $runtime
0621: .getAttributeIndex("", "maxOccurs")) >= 0 && ($__uri
0622: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0623: .equals("element"))) || ((($ai = $runtime
0624: .getAttributeIndex("", "minOccurs")) >= 0 && ($__uri
0625: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0626: .equals("element"))) || ((($ai = $runtime
0627: .getAttributeIndex("", "form")) >= 0 && ($__uri
0628: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0629: .equals("element"))) || ((($ai = $runtime
0630: .getAttributeIndex("", "final")) >= 0 && ($__uri
0631: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0632: .equals("element"))) || ((($ai = $runtime
0633: .getAttributeIndex("", "abstract")) >= 0 && ($__uri
0634: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0635: .equals("element"))) || ((($ai = $runtime
0636: .getAttributeIndex("", "ref")) >= 0 && ($__uri
0637: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0638: .equals("element"))) || (($ai = $runtime
0639: .getAttributeIndex("", "name")) >= 0 && ($__uri
0640: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0641: .equals("element"))))))))))))) {
0642: NGCCHandler h = new occurs(this , super ._source,
0643: $runtime, 588);
0644: spawnChildFromLeaveElement(h, $__uri, $__local,
0645: $__qname);
0646: } else {
0647: unexpectedLeaveElement($__qname);
0648: }
0649: }
0650: break;
0651: case 21: {
0652: $_ngcc_current_state = 20;
0653: $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
0654: $__qname);
0655: }
0656: break;
0657: case 19: {
0658: if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0659: .equals("group"))) {
0660: $runtime.onLeaveElementConsumed($__uri, $__local,
0661: $__qname);
0662: $_ngcc_current_state = 0;
0663: } else {
0664: unexpectedLeaveElement($__qname);
0665: }
0666: }
0667: break;
0668: case 29: {
0669: if (((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0670: .equals("all")) || ($__uri
0671: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0672: .equals("choice"))) || ($__uri
0673: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0674: .equals("sequence")))) {
0675: NGCCHandler h = new modelGroupBody(this , super ._source,
0676: $runtime, 603, loc, compositorName);
0677: spawnChildFromLeaveElement(h, $__uri, $__local,
0678: $__qname);
0679: } else {
0680: unexpectedLeaveElement($__qname);
0681: }
0682: }
0683: break;
0684: case 10: {
0685: action3();
0686: $_ngcc_current_state = 7;
0687: $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
0688: $__qname);
0689: }
0690: break;
0691: case 30: {
0692: if ((((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0693: .equals("all")) || ($__uri
0694: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0695: .equals("choice"))) || ($__uri
0696: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0697: .equals("sequence"))) || ((($ai = $runtime
0698: .getAttributeIndex("", "maxOccurs")) >= 0 && ((($__uri
0699: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0700: .equals("all")) || ($__uri
0701: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0702: .equals("choice"))) || ($__uri
0703: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0704: .equals("sequence")))) || (($ai = $runtime
0705: .getAttributeIndex("", "minOccurs")) >= 0 && ((($__uri
0706: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0707: .equals("all")) || ($__uri
0708: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0709: .equals("choice"))) || ($__uri
0710: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0711: .equals("sequence"))))))) {
0712: NGCCHandler h = new occurs(this , super ._source,
0713: $runtime, 604);
0714: spawnChildFromLeaveElement(h, $__uri, $__local,
0715: $__qname);
0716: } else {
0717: unexpectedLeaveElement($__qname);
0718: }
0719: }
0720: break;
0721: case 7: {
0722: if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0723: .equals("element"))) {
0724: $runtime.onLeaveElementConsumed($__uri, $__local,
0725: $__qname);
0726: $_ngcc_current_state = 0;
0727: } else {
0728: unexpectedLeaveElement($__qname);
0729: }
0730: }
0731: break;
0732: case 8: {
0733: if (($ai = $runtime.getAttributeIndex("", "ref")) >= 0) {
0734: $runtime.consumeAttribute($ai);
0735: $runtime.sendLeaveElement(super ._cookie, $__uri,
0736: $__local, $__qname);
0737: } else {
0738: if (((($ai = $runtime.getAttributeIndex("", "default")) >= 0 && ($__uri
0739: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0740: .equals("element"))) || ((($ai = $runtime
0741: .getAttributeIndex("", "block")) >= 0 && ($__uri
0742: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0743: .equals("element"))) || ((($ai = $runtime
0744: .getAttributeIndex("", "fixed")) >= 0 && ($__uri
0745: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0746: .equals("element"))) || ((($ai = $runtime
0747: .getAttributeIndex("", "form")) >= 0 && ($__uri
0748: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0749: .equals("element"))) || ((($ai = $runtime
0750: .getAttributeIndex("", "final")) >= 0 && ($__uri
0751: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0752: .equals("element"))) || ((($ai = $runtime
0753: .getAttributeIndex("", "abstract")) >= 0 && ($__uri
0754: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0755: .equals("element"))) || (($ai = $runtime
0756: .getAttributeIndex("", "name")) >= 0 && ($__uri
0757: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0758: .equals("element")))))))))) {
0759: NGCCHandler h = new elementDeclBody(this ,
0760: super ._source, $runtime, 579, loc, false);
0761: spawnChildFromLeaveElement(h, $__uri, $__local,
0762: $__qname);
0763: } else {
0764: unexpectedLeaveElement($__qname);
0765: }
0766: }
0767: }
0768: break;
0769: case 0: {
0770: revertToParentFromLeaveElement(result, super ._cookie,
0771: $__uri, $__local, $__qname);
0772: }
0773: break;
0774: case 3: {
0775: if ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0776: .equals("any")) || ((($ai = $runtime
0777: .getAttributeIndex("", "processContents")) >= 0 && ($__uri
0778: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0779: .equals("any"))) || (($ai = $runtime
0780: .getAttributeIndex("", "namespace")) >= 0 && ($__uri
0781: .equals("http://www.w3.org/2001/XMLSchema") && $__local
0782: .equals("any")))))) {
0783: NGCCHandler h = new wildcardBody(this , super ._source,
0784: $runtime, 573, wloc);
0785: spawnChildFromLeaveElement(h, $__uri, $__local,
0786: $__qname);
0787: } else {
0788: unexpectedLeaveElement($__qname);
0789: }
0790: }
0791: break;
0792: case 11: {
0793: $_ngcc_current_state = 10;
0794: $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
0795: $__qname);
0796: }
0797: break;
0798: default: {
0799: unexpectedLeaveElement($__qname);
0800: }
0801: break;
0802: }
0803: }
0804:
0805: public void enterAttribute(String $__uri, String $__local,
0806: String $__qname) throws SAXException {
0807: int $ai;
0808: $uri = $__uri;
0809: $localName = $__local;
0810: $qname = $__qname;
0811: switch ($_ngcc_current_state) {
0812: case 4: {
0813: if ((($__uri.equals("") && $__local
0814: .equals("processContents")) || (($__uri.equals("") && $__local
0815: .equals("maxOccurs")) || (($__uri.equals("") && $__local
0816: .equals("minOccurs")) || ($__uri.equals("") && $__local
0817: .equals("namespace")))))) {
0818: NGCCHandler h = new occurs(this , super ._source,
0819: $runtime, 574);
0820: spawnChildFromEnterAttribute(h, $__uri, $__local,
0821: $__qname);
0822: } else {
0823: unexpectedEnterAttribute($__qname);
0824: }
0825: }
0826: break;
0827: case 26: {
0828: if ((($__uri.equals("") && $__local.equals("maxOccurs")) || (($__uri
0829: .equals("") && $__local.equals("minOccurs")) || ($__uri
0830: .equals("") && $__local.equals("ref"))))) {
0831: NGCCHandler h = new occurs(this , super ._source,
0832: $runtime, 599);
0833: spawnChildFromEnterAttribute(h, $__uri, $__local,
0834: $__qname);
0835: } else {
0836: unexpectedEnterAttribute($__qname);
0837: }
0838: }
0839: break;
0840: case 10: {
0841: action3();
0842: $_ngcc_current_state = 7;
0843: $runtime.sendEnterAttribute(super ._cookie, $__uri,
0844: $__local, $__qname);
0845: }
0846: break;
0847: case 30: {
0848: if ((($__uri.equals("") && $__local.equals("maxOccurs")) || ($__uri
0849: .equals("") && $__local.equals("minOccurs")))) {
0850: NGCCHandler h = new occurs(this , super ._source,
0851: $runtime, 604);
0852: spawnChildFromEnterAttribute(h, $__uri, $__local,
0853: $__qname);
0854: } else {
0855: unexpectedEnterAttribute($__qname);
0856: }
0857: }
0858: break;
0859: case 20: {
0860: action5();
0861: $_ngcc_current_state = 19;
0862: $runtime.sendEnterAttribute(super ._cookie, $__uri,
0863: $__local, $__qname);
0864: }
0865: break;
0866: case 25: {
0867: if (($__uri.equals("") && $__local.equals("ref"))) {
0868: $_ngcc_current_state = 24;
0869: } else {
0870: unexpectedEnterAttribute($__qname);
0871: }
0872: }
0873: break;
0874: case 8: {
0875: if (($__uri.equals("") && $__local.equals("ref"))) {
0876: $_ngcc_current_state = 14;
0877: } else {
0878: if ((($__uri.equals("") && $__local.equals("default")) || (($__uri
0879: .equals("") && $__local.equals("block")) || (($__uri
0880: .equals("") && $__local.equals("fixed")) || (($__uri
0881: .equals("") && $__local.equals("form")) || (($__uri
0882: .equals("") && $__local.equals("final")) || (($__uri
0883: .equals("") && $__local.equals("abstract")) || ($__uri
0884: .equals("") && $__local.equals("name"))))))))) {
0885: NGCCHandler h = new elementDeclBody(this ,
0886: super ._source, $runtime, 579, loc, false);
0887: spawnChildFromEnterAttribute(h, $__uri, $__local,
0888: $__qname);
0889: } else {
0890: unexpectedEnterAttribute($__qname);
0891: }
0892: }
0893: }
0894: break;
0895: case 0: {
0896: revertToParentFromEnterAttribute(result, super ._cookie,
0897: $__uri, $__local, $__qname);
0898: }
0899: break;
0900: case 16: {
0901: if ((($__uri.equals("") && $__local.equals("default")) || (($__uri
0902: .equals("") && $__local.equals("block")) || (($__uri
0903: .equals("") && $__local.equals("fixed")) || (($__uri
0904: .equals("") && $__local.equals("maxOccurs")) || (($__uri
0905: .equals("") && $__local.equals("minOccurs")) || (($__uri
0906: .equals("") && $__local.equals("form")) || (($__uri
0907: .equals("") && $__local.equals("final")) || (($__uri
0908: .equals("") && $__local.equals("abstract")) || (($__uri
0909: .equals("") && $__local.equals("ref")) || ($__uri
0910: .equals("") && $__local.equals("name")))))))))))) {
0911: NGCCHandler h = new occurs(this , super ._source,
0912: $runtime, 588);
0913: spawnChildFromEnterAttribute(h, $__uri, $__local,
0914: $__qname);
0915: } else {
0916: unexpectedEnterAttribute($__qname);
0917: }
0918: }
0919: break;
0920: case 3: {
0921: if ((($__uri.equals("") && $__local
0922: .equals("processContents")) || ($__uri.equals("") && $__local
0923: .equals("namespace")))) {
0924: NGCCHandler h = new wildcardBody(this , super ._source,
0925: $runtime, 573, wloc);
0926: spawnChildFromEnterAttribute(h, $__uri, $__local,
0927: $__qname);
0928: } else {
0929: unexpectedEnterAttribute($__qname);
0930: }
0931: }
0932: break;
0933: case 21: {
0934: $_ngcc_current_state = 20;
0935: $runtime.sendEnterAttribute(super ._cookie, $__uri,
0936: $__local, $__qname);
0937: }
0938: break;
0939: case 11: {
0940: $_ngcc_current_state = 10;
0941: $runtime.sendEnterAttribute(super ._cookie, $__uri,
0942: $__local, $__qname);
0943: }
0944: break;
0945: default: {
0946: unexpectedEnterAttribute($__qname);
0947: }
0948: break;
0949: }
0950: }
0951:
0952: public void leaveAttribute(String $__uri, String $__local,
0953: String $__qname) throws SAXException {
0954: int $ai;
0955: $uri = $__uri;
0956: $localName = $__local;
0957: $qname = $__qname;
0958: switch ($_ngcc_current_state) {
0959: case 23: {
0960: if (($__uri.equals("") && $__local.equals("ref"))) {
0961: $_ngcc_current_state = 21;
0962: } else {
0963: unexpectedLeaveAttribute($__qname);
0964: }
0965: }
0966: break;
0967: case 10: {
0968: action3();
0969: $_ngcc_current_state = 7;
0970: $runtime.sendLeaveAttribute(super ._cookie, $__uri,
0971: $__local, $__qname);
0972: }
0973: break;
0974: case 20: {
0975: action5();
0976: $_ngcc_current_state = 19;
0977: $runtime.sendLeaveAttribute(super ._cookie, $__uri,
0978: $__local, $__qname);
0979: }
0980: break;
0981: case 0: {
0982: revertToParentFromLeaveAttribute(result, super ._cookie,
0983: $__uri, $__local, $__qname);
0984: }
0985: break;
0986: case 21: {
0987: $_ngcc_current_state = 20;
0988: $runtime.sendLeaveAttribute(super ._cookie, $__uri,
0989: $__local, $__qname);
0990: }
0991: break;
0992: case 11: {
0993: $_ngcc_current_state = 10;
0994: $runtime.sendLeaveAttribute(super ._cookie, $__uri,
0995: $__local, $__qname);
0996: }
0997: break;
0998: case 13: {
0999: if (($__uri.equals("") && $__local.equals("ref"))) {
1000: $_ngcc_current_state = 11;
1001: } else {
1002: unexpectedLeaveAttribute($__qname);
1003: }
1004: }
1005: break;
1006: default: {
1007: unexpectedLeaveAttribute($__qname);
1008: }
1009: break;
1010: }
1011: }
1012:
1013: public void text(String $value) throws SAXException {
1014: int $ai;
1015: switch ($_ngcc_current_state) {
1016: case 26: {
1017: if (($ai = $runtime.getAttributeIndex("", "ref")) >= 0) {
1018: NGCCHandler h = new occurs(this , super ._source,
1019: $runtime, 599);
1020: spawnChildFromText(h, $value);
1021: } else {
1022: if (($ai = $runtime.getAttributeIndex("", "minOccurs")) >= 0) {
1023: NGCCHandler h = new occurs(this , super ._source,
1024: $runtime, 599);
1025: spawnChildFromText(h, $value);
1026: } else {
1027: if (($ai = $runtime.getAttributeIndex("",
1028: "maxOccurs")) >= 0) {
1029: NGCCHandler h = new occurs(this , super ._source,
1030: $runtime, 599);
1031: spawnChildFromText(h, $value);
1032: }
1033: }
1034: }
1035: }
1036: break;
1037: case 4: {
1038: if (($ai = $runtime.getAttributeIndex("", "namespace")) >= 0) {
1039: NGCCHandler h = new occurs(this , super ._source,
1040: $runtime, 574);
1041: spawnChildFromText(h, $value);
1042: } else {
1043: if (($ai = $runtime.getAttributeIndex("", "minOccurs")) >= 0) {
1044: NGCCHandler h = new occurs(this , super ._source,
1045: $runtime, 574);
1046: spawnChildFromText(h, $value);
1047: } else {
1048: if (($ai = $runtime.getAttributeIndex("",
1049: "maxOccurs")) >= 0) {
1050: NGCCHandler h = new occurs(this , super ._source,
1051: $runtime, 574);
1052: spawnChildFromText(h, $value);
1053: } else {
1054: if (($ai = $runtime.getAttributeIndex("",
1055: "processContents")) >= 0) {
1056: NGCCHandler h = new occurs(this ,
1057: super ._source, $runtime, 574);
1058: spawnChildFromText(h, $value);
1059: }
1060: }
1061: }
1062: }
1063: }
1064: break;
1065: case 25: {
1066: if (($ai = $runtime.getAttributeIndex("", "ref")) >= 0) {
1067: $runtime.consumeAttribute($ai);
1068: $runtime.sendText(super ._cookie, $value);
1069: }
1070: }
1071: break;
1072: case 20: {
1073: action5();
1074: $_ngcc_current_state = 19;
1075: $runtime.sendText(super ._cookie, $value);
1076: }
1077: break;
1078: case 16: {
1079: if (($ai = $runtime.getAttributeIndex("", "name")) >= 0) {
1080: NGCCHandler h = new occurs(this , super ._source,
1081: $runtime, 588);
1082: spawnChildFromText(h, $value);
1083: } else {
1084: if (($ai = $runtime.getAttributeIndex("", "ref")) >= 0) {
1085: NGCCHandler h = new occurs(this , super ._source,
1086: $runtime, 588);
1087: spawnChildFromText(h, $value);
1088: } else {
1089: if (($ai = $runtime.getAttributeIndex("",
1090: "abstract")) >= 0) {
1091: NGCCHandler h = new occurs(this , super ._source,
1092: $runtime, 588);
1093: spawnChildFromText(h, $value);
1094: } else {
1095: if (($ai = $runtime.getAttributeIndex("",
1096: "final")) >= 0) {
1097: NGCCHandler h = new occurs(this ,
1098: super ._source, $runtime, 588);
1099: spawnChildFromText(h, $value);
1100: } else {
1101: if (($ai = $runtime.getAttributeIndex("",
1102: "form")) >= 0) {
1103: NGCCHandler h = new occurs(this ,
1104: super ._source, $runtime, 588);
1105: spawnChildFromText(h, $value);
1106: } else {
1107: if (($ai = $runtime.getAttributeIndex(
1108: "", "minOccurs")) >= 0) {
1109: NGCCHandler h = new occurs(this ,
1110: super ._source, $runtime,
1111: 588);
1112: spawnChildFromText(h, $value);
1113: } else {
1114: if (($ai = $runtime
1115: .getAttributeIndex("",
1116: "maxOccurs")) >= 0) {
1117: NGCCHandler h = new occurs(
1118: this , super ._source,
1119: $runtime, 588);
1120: spawnChildFromText(h, $value);
1121: } else {
1122: if (($ai = $runtime
1123: .getAttributeIndex("",
1124: "fixed")) >= 0) {
1125: NGCCHandler h = new occurs(
1126: this ,
1127: super ._source,
1128: $runtime, 588);
1129: spawnChildFromText(h,
1130: $value);
1131: } else {
1132: if (($ai = $runtime
1133: .getAttributeIndex(
1134: "", "block")) >= 0) {
1135: NGCCHandler h = new occurs(
1136: this ,
1137: super ._source,
1138: $runtime, 588);
1139: spawnChildFromText(h,
1140: $value);
1141: } else {
1142: if (($ai = $runtime
1143: .getAttributeIndex(
1144: "",
1145: "default")) >= 0) {
1146: NGCCHandler h = new occurs(
1147: this ,
1148: super ._source,
1149: $runtime,
1150: 588);
1151: spawnChildFromText(
1152: h, $value);
1153: }
1154: }
1155: }
1156: }
1157: }
1158: }
1159: }
1160: }
1161: }
1162: }
1163: }
1164: break;
1165: case 21: {
1166: $_ngcc_current_state = 20;
1167: $runtime.sendText(super ._cookie, $value);
1168: }
1169: break;
1170: case 10: {
1171: action3();
1172: $_ngcc_current_state = 7;
1173: $runtime.sendText(super ._cookie, $value);
1174: }
1175: break;
1176: case 14: {
1177: NGCCHandler h = new qname(this , super ._source, $runtime,
1178: 585);
1179: spawnChildFromText(h, $value);
1180: }
1181: break;
1182: case 30: {
1183: if (($ai = $runtime.getAttributeIndex("", "minOccurs")) >= 0) {
1184: NGCCHandler h = new occurs(this , super ._source,
1185: $runtime, 604);
1186: spawnChildFromText(h, $value);
1187: } else {
1188: if (($ai = $runtime.getAttributeIndex("", "maxOccurs")) >= 0) {
1189: NGCCHandler h = new occurs(this , super ._source,
1190: $runtime, 604);
1191: spawnChildFromText(h, $value);
1192: }
1193: }
1194: }
1195: break;
1196: case 8: {
1197: if (($ai = $runtime.getAttributeIndex("", "ref")) >= 0) {
1198: $runtime.consumeAttribute($ai);
1199: $runtime.sendText(super ._cookie, $value);
1200: } else {
1201: if (($ai = $runtime.getAttributeIndex("", "name")) >= 0) {
1202: NGCCHandler h = new elementDeclBody(this ,
1203: super ._source, $runtime, 579, loc, false);
1204: spawnChildFromText(h, $value);
1205: } else {
1206: if (($ai = $runtime.getAttributeIndex("",
1207: "abstract")) >= 0) {
1208: NGCCHandler h = new elementDeclBody(this ,
1209: super ._source, $runtime, 579, loc,
1210: false);
1211: spawnChildFromText(h, $value);
1212: } else {
1213: if (($ai = $runtime.getAttributeIndex("",
1214: "final")) >= 0) {
1215: NGCCHandler h = new elementDeclBody(this ,
1216: super ._source, $runtime, 579, loc,
1217: false);
1218: spawnChildFromText(h, $value);
1219: } else {
1220: if (($ai = $runtime.getAttributeIndex("",
1221: "form")) >= 0) {
1222: NGCCHandler h = new elementDeclBody(
1223: this , super ._source, $runtime,
1224: 579, loc, false);
1225: spawnChildFromText(h, $value);
1226: } else {
1227: if (($ai = $runtime.getAttributeIndex(
1228: "", "fixed")) >= 0) {
1229: NGCCHandler h = new elementDeclBody(
1230: this , super ._source,
1231: $runtime, 579, loc, false);
1232: spawnChildFromText(h, $value);
1233: } else {
1234: if (($ai = $runtime
1235: .getAttributeIndex("",
1236: "block")) >= 0) {
1237: NGCCHandler h = new elementDeclBody(
1238: this , super ._source,
1239: $runtime, 579, loc,
1240: false);
1241: spawnChildFromText(h, $value);
1242: } else {
1243: if (($ai = $runtime
1244: .getAttributeIndex("",
1245: "default")) >= 0) {
1246: NGCCHandler h = new elementDeclBody(
1247: this ,
1248: super ._source,
1249: $runtime, 579, loc,
1250: false);
1251: spawnChildFromText(h,
1252: $value);
1253: }
1254: }
1255: }
1256: }
1257: }
1258: }
1259: }
1260: }
1261: }
1262: break;
1263: case 0: {
1264: revertToParentFromText(result, super ._cookie, $value);
1265: }
1266: break;
1267: case 3: {
1268: if (($ai = $runtime.getAttributeIndex("", "namespace")) >= 0) {
1269: NGCCHandler h = new wildcardBody(this , super ._source,
1270: $runtime, 573, wloc);
1271: spawnChildFromText(h, $value);
1272: } else {
1273: if (($ai = $runtime.getAttributeIndex("",
1274: "processContents")) >= 0) {
1275: NGCCHandler h = new wildcardBody(this ,
1276: super ._source, $runtime, 573, wloc);
1277: spawnChildFromText(h, $value);
1278: }
1279: }
1280: }
1281: break;
1282: case 24: {
1283: NGCCHandler h = new qname(this , super ._source, $runtime,
1284: 597);
1285: spawnChildFromText(h, $value);
1286: }
1287: break;
1288: case 11: {
1289: $_ngcc_current_state = 10;
1290: $runtime.sendText(super ._cookie, $value);
1291: }
1292: break;
1293: }
1294: }
1295:
1296: public void onChildCompleted(Object $__result__, int $__cookie__,
1297: boolean $__needAttCheck__) throws SAXException {
1298: switch ($__cookie__) {
1299: case 599: {
1300: occurs = ((occurs) $__result__);
1301: $_ngcc_current_state = 25;
1302: }
1303: break;
1304: case 579: {
1305: anonymousElementDecl = ((ElementDecl) $__result__);
1306: action2();
1307: $_ngcc_current_state = 7;
1308: }
1309: break;
1310: case 573: {
1311: wcBody = ((WildcardImpl) $__result__);
1312: action0();
1313: $_ngcc_current_state = 2;
1314: }
1315: break;
1316: case 597: {
1317: groupName = ((UName) $__result__);
1318: $_ngcc_current_state = 23;
1319: }
1320: break;
1321: case 582: {
1322: annotation = ((AnnotationImpl) $__result__);
1323: $_ngcc_current_state = 10;
1324: }
1325: break;
1326: case 574: {
1327: occurs = ((occurs) $__result__);
1328: $_ngcc_current_state = 3;
1329: }
1330: break;
1331: case 588: {
1332: occurs = ((occurs) $__result__);
1333: $_ngcc_current_state = 8;
1334: }
1335: break;
1336: case 594: {
1337: annotation = ((AnnotationImpl) $__result__);
1338: $_ngcc_current_state = 20;
1339: }
1340: break;
1341: case 603: {
1342: term = ((ModelGroupImpl) $__result__);
1343: action7();
1344: $_ngcc_current_state = 28;
1345: }
1346: break;
1347: case 585: {
1348: elementTypeName = ((UName) $__result__);
1349: $_ngcc_current_state = 13;
1350: }
1351: break;
1352: case 604: {
1353: occurs = ((occurs) $__result__);
1354: $_ngcc_current_state = 29;
1355: }
1356: break;
1357: }
1358: }
1359:
1360: public boolean accepted() {
1361: return (($_ngcc_current_state == 0));
1362: }
1363:
1364: private Locator wloc;
1365: private Locator loc;
1366: private ParticleImpl result;
1367: private String compositorName;
1368:
1369: }
|