Source Code Cross Referenced for particle.java in  » 6.0-JDK-Modules-com.sun » xml » com » sun » xml » internal » xsom » impl » parser » state » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules com.sun » xml » com.sun.xml.internal.xsom.impl.parser.state 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


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