Source Code Cross Referenced for complexType.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 complexType extends NGCCHandler {
0044:            private Integer finalValue;
0045:            private String name;
0046:            private String abstractValue;
0047:            private Integer blockValue;
0048:            private XSFacet facet;
0049:            private ForeignAttributesImpl fa;
0050:            private AnnotationImpl annotation;
0051:            private ContentTypeImpl explicitContent;
0052:            private UName baseTypeName;
0053:            private String mixedValue;
0054:            protected final NGCCRuntimeEx $runtime;
0055:            private int $_ngcc_current_state;
0056:            protected String $uri;
0057:            protected String $localName;
0058:            protected String $qname;
0059:
0060:            public final NGCCRuntime getRuntime() {
0061:                return ($runtime);
0062:            }
0063:
0064:            public complexType(NGCCHandler parent, NGCCEventSource source,
0065:                    NGCCRuntimeEx runtime, int cookie) {
0066:                super (source, parent, cookie);
0067:                $runtime = runtime;
0068:                $_ngcc_current_state = 88;
0069:            }
0070:
0071:            public complexType(NGCCRuntimeEx runtime) {
0072:                this (null, runtime, runtime, -1);
0073:            }
0074:
0075:            private void action0() throws SAXException {
0076:
0077:                result.setContentType(explicitContent);
0078:
0079:            }
0080:
0081:            private void action1() throws SAXException {
0082:
0083:                baseType = $runtime.parser.schemaSet.anyType;
0084:                makeResult(XSType.RESTRICTION);
0085:
0086:            }
0087:
0088:            private void action2() throws SAXException {
0089:
0090:                result.setExplicitContent(explicitContent);
0091:                result
0092:                        .setContentType(buildComplexExtensionContentModel(explicitContent));
0093:
0094:            }
0095:
0096:            private void action3() throws SAXException {
0097:
0098:                baseType = new DelayedRef.Type($runtime, locator2,
0099:                        $runtime.currentSchema, baseTypeName);
0100:                makeResult(XSType.EXTENSION);
0101:
0102:            }
0103:
0104:            private void action4() throws SAXException {
0105:                locator2 = $runtime.copyLocator();
0106:            }
0107:
0108:            private void action5() throws SAXException {
0109:
0110:                result.setContentType(explicitContent);
0111:
0112:            }
0113:
0114:            private void action6() throws SAXException {
0115:
0116:                baseType = new DelayedRef.Type($runtime, locator2,
0117:                        $runtime.currentSchema, baseTypeName);
0118:                makeResult(XSType.RESTRICTION);
0119:
0120:            }
0121:
0122:            private void action7() throws SAXException {
0123:                locator2 = $runtime.copyLocator();
0124:            }
0125:
0126:            private void action8() throws SAXException {
0127:
0128:                contentType = new BaseContentRef(baseType);
0129:                makeResult(XSType.EXTENSION);
0130:                result.setContentType(contentType);
0131:
0132:            }
0133:
0134:            private void action9() throws SAXException {
0135:
0136:                baseType = new DelayedRef.Type($runtime, locator2,
0137:                        $runtime.currentSchema, baseTypeName);
0138:
0139:            }
0140:
0141:            private void action10() throws SAXException {
0142:                locator2 = $runtime.copyLocator();
0143:            }
0144:
0145:            private void action11() throws SAXException {
0146:
0147:                makeResult(XSType.RESTRICTION);
0148:                result.setContentType(contentType);
0149:
0150:            }
0151:
0152:            private void action12() throws SAXException {
0153:                contentSimpleType.addFacet(facet);
0154:            }
0155:
0156:            private void action13() throws SAXException {
0157:
0158:                if (baseContentType == null) {
0159:                    // contentType of the base type, which must be a complex type
0160:                    baseContentType = new BaseContentSimpleTypeRef(baseType);
0161:                }
0162:
0163:                contentSimpleType = new RestrictionSimpleTypeImpl(
0164:                        $runtime.document, null/*?*/, locator2, null, null,
0165:                        true, Collections.EMPTY_SET, baseContentType);
0166:                contentType = contentSimpleType;
0167:
0168:            }
0169:
0170:            private void action14() throws SAXException {
0171:
0172:                baseType = new DelayedRef.Type($runtime, locator2,
0173:                        $runtime.currentSchema, baseTypeName);
0174:
0175:            }
0176:
0177:            private void action15() throws SAXException {
0178:                locator2 = $runtime.copyLocator();
0179:            }
0180:
0181:            private void action16() throws SAXException {
0182:                locator = $runtime.copyLocator();
0183:            }
0184:
0185:            public void enterElement(String $__uri, String $__local,
0186:                    String $__qname, Attributes $attrs) throws SAXException {
0187:                int $ai;
0188:                $uri = $__uri;
0189:                $localName = $__local;
0190:                $qname = $__qname;
0191:                switch ($_ngcc_current_state) {
0192:                case 49: {
0193:                    if ((((((((((((($__uri
0194:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0195:                            .equals("minExclusive")) || ($__uri
0196:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0197:                            .equals("maxExclusive"))) || ($__uri
0198:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0199:                            .equals("minInclusive"))) || ($__uri
0200:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0201:                            .equals("maxInclusive"))) || ($__uri
0202:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0203:                            .equals("totalDigits"))) || ($__uri
0204:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0205:                            .equals("fractionDigits"))) || ($__uri
0206:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0207:                            .equals("length"))) || ($__uri
0208:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0209:                            .equals("maxLength"))) || ($__uri
0210:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0211:                            .equals("minLength"))) || ($__uri
0212:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0213:                            .equals("enumeration"))) || ($__uri
0214:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0215:                            .equals("whiteSpace"))) || ($__uri
0216:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0217:                            .equals("pattern")))) {
0218:                        NGCCHandler h = new facet(this , super ._source,
0219:                                $runtime, 538);
0220:                        spawnChildFromEnterElement(h, $__uri, $__local,
0221:                                $__qname, $attrs);
0222:                    } else {
0223:                        $_ngcc_current_state = 48;
0224:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0225:                                $__local, $__qname, $attrs);
0226:                    }
0227:                }
0228:                    break;
0229:                case 38: {
0230:                    action8();
0231:                    $_ngcc_current_state = 37;
0232:                    $runtime.sendEnterElement(super ._cookie, $__uri, $__local,
0233:                            $__qname, $attrs);
0234:                }
0235:                    break;
0236:                case 0: {
0237:                    revertToParentFromEnterElement(result, super ._cookie,
0238:                            $__uri, $__local, $__qname, $attrs);
0239:                }
0240:                    break;
0241:                case 59: {
0242:                    if (($ai = $runtime.getAttributeIndex("", "base")) >= 0) {
0243:                        $runtime.consumeAttribute($ai);
0244:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0245:                                $__local, $__qname, $attrs);
0246:                    } else {
0247:                        unexpectedEnterElement($__qname);
0248:                    }
0249:                }
0250:                    break;
0251:                case 24: {
0252:                    if (($ai = $runtime.getAttributeIndex("", "base")) >= 0) {
0253:                        $runtime.consumeAttribute($ai);
0254:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0255:                                $__local, $__qname, $attrs);
0256:                    } else {
0257:                        unexpectedEnterElement($__qname);
0258:                    }
0259:                }
0260:                    break;
0261:                case 39: {
0262:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0263:                            .equals("annotation"))) {
0264:                        NGCCHandler h = new annotation(this , super ._source,
0265:                                $runtime, 525, annotation,
0266:                                AnnotationContext.COMPLEXTYPE_DECL);
0267:                        spawnChildFromEnterElement(h, $__uri, $__local,
0268:                                $__qname, $attrs);
0269:                    } else {
0270:                        $_ngcc_current_state = 38;
0271:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0272:                                $__local, $__qname, $attrs);
0273:                    }
0274:                }
0275:                    break;
0276:                case 84: {
0277:                    if (($ai = $runtime.getAttributeIndex("", "abstract")) >= 0) {
0278:                        $runtime.consumeAttribute($ai);
0279:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0280:                                $__local, $__qname, $attrs);
0281:                    } else {
0282:                        $_ngcc_current_state = 80;
0283:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0284:                                $__local, $__qname, $attrs);
0285:                    }
0286:                }
0287:                    break;
0288:                case 9: {
0289:                    if ((((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0290:                            .equals("all")) || ($__uri
0291:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0292:                            .equals("choice"))) || ($__uri
0293:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0294:                            .equals("sequence"))) || (($__uri
0295:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0296:                            .equals("attribute")) || (($__uri
0297:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0298:                            .equals("group")) || (($__uri
0299:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0300:                            .equals("attributeGroup")) || (($__uri
0301:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0302:                            .equals("any")) || (($__uri
0303:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0304:                            .equals("element")) || ($__uri
0305:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0306:                            .equals("anyAttribute"))))))))) {
0307:                        NGCCHandler h = new complexType_complexContent_body(
0308:                                this , super ._source, $runtime, 488, result);
0309:                        spawnChildFromEnterElement(h, $__uri, $__local,
0310:                                $__qname, $attrs);
0311:                    } else {
0312:                        unexpectedEnterElement($__qname);
0313:                    }
0314:                }
0315:                    break;
0316:                case 52: {
0317:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0318:                            .equals("simpleType"))) {
0319:                        NGCCHandler h = new simpleType(this , super ._source,
0320:                                $runtime, 542);
0321:                        spawnChildFromEnterElement(h, $__uri, $__local,
0322:                                $__qname, $attrs);
0323:                    } else {
0324:                        $_ngcc_current_state = 51;
0325:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0326:                                $__local, $__qname, $attrs);
0327:                    }
0328:                }
0329:                    break;
0330:                case 51: {
0331:                    action13();
0332:                    $_ngcc_current_state = 49;
0333:                    $runtime.sendEnterElement(super ._cookie, $__uri, $__local,
0334:                            $__qname, $attrs);
0335:                }
0336:                    break;
0337:                case 21: {
0338:                    if ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0339:                            .equals("annotation")) || (((($__uri
0340:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0341:                            .equals("all")) || ($__uri
0342:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0343:                            .equals("choice"))) || ($__uri
0344:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0345:                            .equals("sequence"))) || (($__uri
0346:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0347:                            .equals("attribute")) || (($__uri
0348:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0349:                            .equals("group")) || (($__uri
0350:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0351:                            .equals("attributeGroup")) || (($__uri
0352:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0353:                            .equals("any")) || (($__uri
0354:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0355:                            .equals("element")) || ($__uri
0356:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0357:                            .equals("anyAttribute")))))))))) {
0358:                        NGCCHandler h = new foreignAttributes(this ,
0359:                                super ._source, $runtime, 503, fa);
0360:                        spawnChildFromEnterElement(h, $__uri, $__local,
0361:                                $__qname, $attrs);
0362:                    } else {
0363:                        unexpectedEnterElement($__qname);
0364:                    }
0365:                }
0366:                    break;
0367:                case 28: {
0368:                    if ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0369:                            .equals("annotation")) || (($__uri
0370:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0371:                            .equals("extension")) || ($__uri
0372:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0373:                            .equals("restriction"))))) {
0374:                        NGCCHandler h = new foreignAttributes(this ,
0375:                                super ._source, $runtime, 512, fa);
0376:                        spawnChildFromEnterElement(h, $__uri, $__local,
0377:                                $__qname, $attrs);
0378:                    } else {
0379:                        unexpectedEnterElement($__qname);
0380:                    }
0381:                }
0382:                    break;
0383:                case 88: {
0384:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0385:                            .equals("complexType"))) {
0386:                        $runtime.onEnterElementConsumed($__uri, $__local,
0387:                                $__qname, $attrs);
0388:                        action16();
0389:                        $_ngcc_current_state = 84;
0390:                    } else {
0391:                        unexpectedEnterElement($__qname);
0392:                    }
0393:                }
0394:                    break;
0395:                case 68: {
0396:                    if (($ai = $runtime.getAttributeIndex("", "name")) >= 0) {
0397:                        $runtime.consumeAttribute($ai);
0398:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0399:                                $__local, $__qname, $attrs);
0400:                    } else {
0401:                        $_ngcc_current_state = 67;
0402:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0403:                                $__local, $__qname, $attrs);
0404:                    }
0405:                }
0406:                    break;
0407:                case 47: {
0408:                    if ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0409:                            .equals("attribute")) || (($__uri
0410:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0411:                            .equals("attributeGroup")) || ($__uri
0412:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0413:                            .equals("anyAttribute"))))) {
0414:                        NGCCHandler h = new attributeUses(this , super ._source,
0415:                                $runtime, 534, result);
0416:                        spawnChildFromEnterElement(h, $__uri, $__local,
0417:                                $__qname, $attrs);
0418:                    } else {
0419:                        unexpectedEnterElement($__qname);
0420:                    }
0421:                }
0422:                    break;
0423:                case 80: {
0424:                    if (($ai = $runtime.getAttributeIndex("", "block")) >= 0) {
0425:                        $runtime.consumeAttribute($ai);
0426:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0427:                                $__local, $__qname, $attrs);
0428:                    } else {
0429:                        $_ngcc_current_state = 76;
0430:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0431:                                $__local, $__qname, $attrs);
0432:                    }
0433:                }
0434:                    break;
0435:                case 61: {
0436:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0437:                            .equals("annotation"))) {
0438:                        NGCCHandler h = new annotation(this , super ._source,
0439:                                $runtime, 554, annotation,
0440:                                AnnotationContext.COMPLEXTYPE_DECL);
0441:                        spawnChildFromEnterElement(h, $__uri, $__local,
0442:                                $__qname, $attrs);
0443:                    } else {
0444:                        $_ngcc_current_state = 35;
0445:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0446:                                $__local, $__qname, $attrs);
0447:                    }
0448:                }
0449:                    break;
0450:                case 37: {
0451:                    if ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0452:                            .equals("attribute")) || (($__uri
0453:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0454:                            .equals("attributeGroup")) || ($__uri
0455:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0456:                            .equals("anyAttribute"))))) {
0457:                        NGCCHandler h = new attributeUses(this , super ._source,
0458:                                $runtime, 522, result);
0459:                        spawnChildFromEnterElement(h, $__uri, $__local,
0460:                                $__qname, $attrs);
0461:                    } else {
0462:                        unexpectedEnterElement($__qname);
0463:                    }
0464:                }
0465:                    break;
0466:                case 56: {
0467:                    if ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0468:                            .equals("annotation")) || (($__uri
0469:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0470:                            .equals("attribute")) || (($__uri
0471:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0472:                            .equals("attributeGroup")) || (($__uri
0473:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0474:                            .equals("simpleType")) || ((((((((((((($__uri
0475:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0476:                            .equals("minExclusive")) || ($__uri
0477:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0478:                            .equals("maxExclusive"))) || ($__uri
0479:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0480:                            .equals("minInclusive"))) || ($__uri
0481:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0482:                            .equals("maxInclusive"))) || ($__uri
0483:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0484:                            .equals("totalDigits"))) || ($__uri
0485:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0486:                            .equals("fractionDigits"))) || ($__uri
0487:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0488:                            .equals("length"))) || ($__uri
0489:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0490:                            .equals("maxLength"))) || ($__uri
0491:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0492:                            .equals("minLength"))) || ($__uri
0493:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0494:                            .equals("enumeration"))) || ($__uri
0495:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0496:                            .equals("whiteSpace"))) || ($__uri
0497:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0498:                            .equals("pattern"))) || ($__uri
0499:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0500:                            .equals("anyAttribute")))))))) {
0501:                        NGCCHandler h = new foreignAttributes(this ,
0502:                                super ._source, $runtime, 547, fa);
0503:                        spawnChildFromEnterElement(h, $__uri, $__local,
0504:                                $__qname, $attrs);
0505:                    } else {
0506:                        unexpectedEnterElement($__qname);
0507:                    }
0508:                }
0509:                    break;
0510:                case 76: {
0511:                    if (($ai = $runtime.getAttributeIndex("", "final")) >= 0) {
0512:                        $runtime.consumeAttribute($ai);
0513:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0514:                                $__local, $__qname, $attrs);
0515:                    } else {
0516:                        $_ngcc_current_state = 72;
0517:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0518:                                $__local, $__qname, $attrs);
0519:                    }
0520:                }
0521:                    break;
0522:                case 67: {
0523:                    if ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0524:                            .equals("annotation")) || (((($__uri
0525:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0526:                            .equals("all")) || ($__uri
0527:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0528:                            .equals("choice"))) || ($__uri
0529:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0530:                            .equals("sequence"))) || (($__uri
0531:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0532:                            .equals("attribute")) || (($__uri
0533:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0534:                            .equals("group")) || (($__uri
0535:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0536:                            .equals("attributeGroup")) || (($__uri
0537:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0538:                            .equals("any")) || (($__uri
0539:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0540:                            .equals("element")) || (($__uri
0541:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0542:                            .equals("complexContent")) || (($__uri
0543:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0544:                            .equals("anyAttribute")) || ($__uri
0545:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0546:                            .equals("simpleContent")))))))))))) {
0547:                        NGCCHandler h = new foreignAttributes(this ,
0548:                                super ._source, $runtime, 564, fa);
0549:                        spawnChildFromEnterElement(h, $__uri, $__local,
0550:                                $__qname, $attrs);
0551:                    } else {
0552:                        unexpectedEnterElement($__qname);
0553:                    }
0554:                }
0555:                    break;
0556:                case 7: {
0557:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0558:                            .equals("restriction"))) {
0559:                        $runtime.onEnterElementConsumed($__uri, $__local,
0560:                                $__qname, $attrs);
0561:                        action7();
0562:                        $_ngcc_current_state = 24;
0563:                    } else {
0564:                        if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0565:                                .equals("extension"))) {
0566:                            $runtime.onEnterElementConsumed($__uri, $__local,
0567:                                    $__qname, $attrs);
0568:                            action4();
0569:                            $_ngcc_current_state = 15;
0570:                        } else {
0571:                            unexpectedEnterElement($__qname);
0572:                        }
0573:                    }
0574:                }
0575:                    break;
0576:                case 2: {
0577:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0578:                            .equals("simpleContent"))) {
0579:                        $runtime.onEnterElementConsumed($__uri, $__local,
0580:                                $__qname, $attrs);
0581:                        $_ngcc_current_state = 63;
0582:                    } else {
0583:                        if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0584:                                .equals("complexContent"))) {
0585:                            $runtime.onEnterElementConsumed($__uri, $__local,
0586:                                    $__qname, $attrs);
0587:                            $_ngcc_current_state = 29;
0588:                        } else {
0589:                            if ((((($__uri
0590:                                    .equals("http://www.w3.org/2001/XMLSchema") && $__local
0591:                                    .equals("all")) || ($__uri
0592:                                    .equals("http://www.w3.org/2001/XMLSchema") && $__local
0593:                                    .equals("choice"))) || ($__uri
0594:                                    .equals("http://www.w3.org/2001/XMLSchema") && $__local
0595:                                    .equals("sequence"))) || (($__uri
0596:                                    .equals("http://www.w3.org/2001/XMLSchema") && $__local
0597:                                    .equals("attribute")) || (($__uri
0598:                                    .equals("http://www.w3.org/2001/XMLSchema") && $__local
0599:                                    .equals("group")) || (($__uri
0600:                                    .equals("http://www.w3.org/2001/XMLSchema") && $__local
0601:                                    .equals("attributeGroup")) || (($__uri
0602:                                    .equals("http://www.w3.org/2001/XMLSchema") && $__local
0603:                                    .equals("any")) || (($__uri
0604:                                    .equals("http://www.w3.org/2001/XMLSchema") && $__local
0605:                                    .equals("element")) || ($__uri
0606:                                    .equals("http://www.w3.org/2001/XMLSchema") && $__local
0607:                                    .equals("anyAttribute"))))))))) {
0608:                                action1();
0609:                                NGCCHandler h = new complexType_complexContent_body(
0610:                                        this , super ._source, $runtime, 485,
0611:                                        result);
0612:                                spawnChildFromEnterElement(h, $__uri, $__local,
0613:                                        $__qname, $attrs);
0614:                            } else {
0615:                                unexpectedEnterElement($__qname);
0616:                            }
0617:                        }
0618:                    }
0619:                }
0620:                    break;
0621:                case 12: {
0622:                    if ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0623:                            .equals("annotation")) || (((($__uri
0624:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0625:                            .equals("all")) || ($__uri
0626:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0627:                            .equals("choice"))) || ($__uri
0628:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0629:                            .equals("sequence"))) || (($__uri
0630:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0631:                            .equals("attribute")) || (($__uri
0632:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0633:                            .equals("group")) || (($__uri
0634:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0635:                            .equals("attributeGroup")) || (($__uri
0636:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0637:                            .equals("any")) || (($__uri
0638:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0639:                            .equals("element")) || ($__uri
0640:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0641:                            .equals("anyAttribute")))))))))) {
0642:                        NGCCHandler h = new foreignAttributes(this ,
0643:                                super ._source, $runtime, 492, fa);
0644:                        spawnChildFromEnterElement(h, $__uri, $__local,
0645:                                $__qname, $attrs);
0646:                    } else {
0647:                        unexpectedEnterElement($__qname);
0648:                    }
0649:                }
0650:                    break;
0651:                case 41: {
0652:                    if ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0653:                            .equals("annotation")) || (($__uri
0654:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0655:                            .equals("attribute")) || (($__uri
0656:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0657:                            .equals("attributeGroup")) || ($__uri
0658:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0659:                            .equals("anyAttribute")))))) {
0660:                        NGCCHandler h = new foreignAttributes(this ,
0661:                                super ._source, $runtime, 527, fa);
0662:                        spawnChildFromEnterElement(h, $__uri, $__local,
0663:                                $__qname, $attrs);
0664:                    } else {
0665:                        unexpectedEnterElement($__qname);
0666:                    }
0667:                }
0668:                    break;
0669:                case 19: {
0670:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0671:                            .equals("annotation"))) {
0672:                        NGCCHandler h = new annotation(this , super ._source,
0673:                                $runtime, 501, annotation,
0674:                                AnnotationContext.COMPLEXTYPE_DECL);
0675:                        spawnChildFromEnterElement(h, $__uri, $__local,
0676:                                $__qname, $attrs);
0677:                    } else {
0678:                        $_ngcc_current_state = 18;
0679:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0680:                                $__local, $__qname, $attrs);
0681:                    }
0682:                }
0683:                    break;
0684:                case 35: {
0685:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0686:                            .equals("restriction"))) {
0687:                        $runtime.onEnterElementConsumed($__uri, $__local,
0688:                                $__qname, $attrs);
0689:                        action15();
0690:                        $_ngcc_current_state = 59;
0691:                    } else {
0692:                        if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0693:                                .equals("extension"))) {
0694:                            $runtime.onEnterElementConsumed($__uri, $__local,
0695:                                    $__qname, $attrs);
0696:                            action10();
0697:                            $_ngcc_current_state = 44;
0698:                        } else {
0699:                            unexpectedEnterElement($__qname);
0700:                        }
0701:                    }
0702:                }
0703:                    break;
0704:                case 48: {
0705:                    if ((((((((((((($__uri
0706:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0707:                            .equals("minExclusive")) || ($__uri
0708:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0709:                            .equals("maxExclusive"))) || ($__uri
0710:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0711:                            .equals("minInclusive"))) || ($__uri
0712:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0713:                            .equals("maxInclusive"))) || ($__uri
0714:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0715:                            .equals("totalDigits"))) || ($__uri
0716:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0717:                            .equals("fractionDigits"))) || ($__uri
0718:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0719:                            .equals("length"))) || ($__uri
0720:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0721:                            .equals("maxLength"))) || ($__uri
0722:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0723:                            .equals("minLength"))) || ($__uri
0724:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0725:                            .equals("enumeration"))) || ($__uri
0726:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0727:                            .equals("whiteSpace"))) || ($__uri
0728:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0729:                            .equals("pattern")))) {
0730:                        NGCCHandler h = new facet(this , super ._source,
0731:                                $runtime, 537);
0732:                        spawnChildFromEnterElement(h, $__uri, $__local,
0733:                                $__qname, $attrs);
0734:                    } else {
0735:                        action11();
0736:                        $_ngcc_current_state = 47;
0737:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0738:                                $__local, $__qname, $attrs);
0739:                    }
0740:                }
0741:                    break;
0742:                case 15: {
0743:                    if (($ai = $runtime.getAttributeIndex("", "base")) >= 0) {
0744:                        $runtime.consumeAttribute($ai);
0745:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0746:                                $__local, $__qname, $attrs);
0747:                    } else {
0748:                        unexpectedEnterElement($__qname);
0749:                    }
0750:                }
0751:                    break;
0752:                case 65: {
0753:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0754:                            .equals("annotation"))) {
0755:                        NGCCHandler h = new annotation(this , super ._source,
0756:                                $runtime, 562, null,
0757:                                AnnotationContext.COMPLEXTYPE_DECL);
0758:                        spawnChildFromEnterElement(h, $__uri, $__local,
0759:                                $__qname, $attrs);
0760:                    } else {
0761:                        $_ngcc_current_state = 2;
0762:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0763:                                $__local, $__qname, $attrs);
0764:                    }
0765:                }
0766:                    break;
0767:                case 18: {
0768:                    if ((((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0769:                            .equals("all")) || ($__uri
0770:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0771:                            .equals("choice"))) || ($__uri
0772:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0773:                            .equals("sequence"))) || (($__uri
0774:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0775:                            .equals("attribute")) || (($__uri
0776:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0777:                            .equals("group")) || (($__uri
0778:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0779:                            .equals("attributeGroup")) || (($__uri
0780:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0781:                            .equals("any")) || (($__uri
0782:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0783:                            .equals("element")) || ($__uri
0784:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0785:                            .equals("anyAttribute"))))))))) {
0786:                        NGCCHandler h = new complexType_complexContent_body(
0787:                                this , super ._source, $runtime, 499, result);
0788:                        spawnChildFromEnterElement(h, $__uri, $__local,
0789:                                $__qname, $attrs);
0790:                    } else {
0791:                        unexpectedEnterElement($__qname);
0792:                    }
0793:                }
0794:                    break;
0795:                case 63: {
0796:                    if ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0797:                            .equals("annotation")) || (($__uri
0798:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0799:                            .equals("extension")) || ($__uri
0800:                            .equals("http://www.w3.org/2001/XMLSchema") && $__local
0801:                            .equals("restriction"))))) {
0802:                        NGCCHandler h = new foreignAttributes(this ,
0803:                                super ._source, $runtime, 556, fa);
0804:                        spawnChildFromEnterElement(h, $__uri, $__local,
0805:                                $__qname, $attrs);
0806:                    } else {
0807:                        unexpectedEnterElement($__qname);
0808:                    }
0809:                }
0810:                    break;
0811:                case 26: {
0812:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0813:                            .equals("annotation"))) {
0814:                        NGCCHandler h = new annotation(this , super ._source,
0815:                                $runtime, 510, annotation,
0816:                                AnnotationContext.COMPLEXTYPE_DECL);
0817:                        spawnChildFromEnterElement(h, $__uri, $__local,
0818:                                $__qname, $attrs);
0819:                    } else {
0820:                        $_ngcc_current_state = 7;
0821:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0822:                                $__local, $__qname, $attrs);
0823:                    }
0824:                }
0825:                    break;
0826:                case 29: {
0827:                    if (($ai = $runtime.getAttributeIndex("", "mixed")) >= 0) {
0828:                        $runtime.consumeAttribute($ai);
0829:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0830:                                $__local, $__qname, $attrs);
0831:                    } else {
0832:                        $_ngcc_current_state = 28;
0833:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0834:                                $__local, $__qname, $attrs);
0835:                    }
0836:                }
0837:                    break;
0838:                case 54: {
0839:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0840:                            .equals("annotation"))) {
0841:                        NGCCHandler h = new annotation(this , super ._source,
0842:                                $runtime, 545, annotation,
0843:                                AnnotationContext.COMPLEXTYPE_DECL);
0844:                        spawnChildFromEnterElement(h, $__uri, $__local,
0845:                                $__qname, $attrs);
0846:                    } else {
0847:                        $_ngcc_current_state = 52;
0848:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0849:                                $__local, $__qname, $attrs);
0850:                    }
0851:                }
0852:                    break;
0853:                case 72: {
0854:                    if (($ai = $runtime.getAttributeIndex("", "mixed")) >= 0) {
0855:                        $runtime.consumeAttribute($ai);
0856:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0857:                                $__local, $__qname, $attrs);
0858:                    } else {
0859:                        $_ngcc_current_state = 68;
0860:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0861:                                $__local, $__qname, $attrs);
0862:                    }
0863:                }
0864:                    break;
0865:                case 10: {
0866:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0867:                            .equals("annotation"))) {
0868:                        NGCCHandler h = new annotation(this , super ._source,
0869:                                $runtime, 490, annotation,
0870:                                AnnotationContext.COMPLEXTYPE_DECL);
0871:                        spawnChildFromEnterElement(h, $__uri, $__local,
0872:                                $__qname, $attrs);
0873:                    } else {
0874:                        $_ngcc_current_state = 9;
0875:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0876:                                $__local, $__qname, $attrs);
0877:                    }
0878:                }
0879:                    break;
0880:                case 44: {
0881:                    if (($ai = $runtime.getAttributeIndex("", "base")) >= 0) {
0882:                        $runtime.consumeAttribute($ai);
0883:                        $runtime.sendEnterElement(super ._cookie, $__uri,
0884:                                $__local, $__qname, $attrs);
0885:                    } else {
0886:                        unexpectedEnterElement($__qname);
0887:                    }
0888:                }
0889:                    break;
0890:                default: {
0891:                    unexpectedEnterElement($__qname);
0892:                }
0893:                    break;
0894:                }
0895:            }
0896:
0897:            public void leaveElement(String $__uri, String $__local,
0898:                    String $__qname) throws SAXException {
0899:                int $ai;
0900:                $uri = $__uri;
0901:                $localName = $__local;
0902:                $qname = $__qname;
0903:                switch ($_ngcc_current_state) {
0904:                case 49: {
0905:                    $_ngcc_current_state = 48;
0906:                    $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
0907:                            $__qname);
0908:                }
0909:                    break;
0910:                case 38: {
0911:                    action8();
0912:                    $_ngcc_current_state = 37;
0913:                    $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
0914:                            $__qname);
0915:                }
0916:                    break;
0917:                case 0: {
0918:                    revertToParentFromLeaveElement(result, super ._cookie,
0919:                            $__uri, $__local, $__qname);
0920:                }
0921:                    break;
0922:                case 59: {
0923:                    if (($ai = $runtime.getAttributeIndex("", "base")) >= 0) {
0924:                        $runtime.consumeAttribute($ai);
0925:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
0926:                                $__local, $__qname);
0927:                    } else {
0928:                        unexpectedLeaveElement($__qname);
0929:                    }
0930:                }
0931:                    break;
0932:                case 24: {
0933:                    if (($ai = $runtime.getAttributeIndex("", "base")) >= 0) {
0934:                        $runtime.consumeAttribute($ai);
0935:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
0936:                                $__local, $__qname);
0937:                    } else {
0938:                        unexpectedLeaveElement($__qname);
0939:                    }
0940:                }
0941:                    break;
0942:                case 39: {
0943:                    $_ngcc_current_state = 38;
0944:                    $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
0945:                            $__qname);
0946:                }
0947:                    break;
0948:                case 84: {
0949:                    if (($ai = $runtime.getAttributeIndex("", "abstract")) >= 0) {
0950:                        $runtime.consumeAttribute($ai);
0951:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
0952:                                $__local, $__qname);
0953:                    } else {
0954:                        $_ngcc_current_state = 80;
0955:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
0956:                                $__local, $__qname);
0957:                    }
0958:                }
0959:                    break;
0960:                case 36: {
0961:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0962:                            .equals("extension"))) {
0963:                        $runtime.onLeaveElementConsumed($__uri, $__local,
0964:                                $__qname);
0965:                        $_ngcc_current_state = 34;
0966:                    } else {
0967:                        unexpectedLeaveElement($__qname);
0968:                    }
0969:                }
0970:                    break;
0971:                case 9: {
0972:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0973:                            .equals("extension"))) {
0974:                        NGCCHandler h = new complexType_complexContent_body(
0975:                                this , super ._source, $runtime, 488, result);
0976:                        spawnChildFromLeaveElement(h, $__uri, $__local,
0977:                                $__qname);
0978:                    } else {
0979:                        unexpectedLeaveElement($__qname);
0980:                    }
0981:                }
0982:                    break;
0983:                case 52: {
0984:                    $_ngcc_current_state = 51;
0985:                    $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
0986:                            $__qname);
0987:                }
0988:                    break;
0989:                case 51: {
0990:                    action13();
0991:                    $_ngcc_current_state = 49;
0992:                    $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
0993:                            $__qname);
0994:                }
0995:                    break;
0996:                case 34: {
0997:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
0998:                            .equals("simpleContent"))) {
0999:                        $runtime.onLeaveElementConsumed($__uri, $__local,
1000:                                $__qname);
1001:                        $_ngcc_current_state = 1;
1002:                    } else {
1003:                        unexpectedLeaveElement($__qname);
1004:                    }
1005:                }
1006:                    break;
1007:                case 21: {
1008:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
1009:                            .equals("restriction"))) {
1010:                        NGCCHandler h = new foreignAttributes(this ,
1011:                                super ._source, $runtime, 503, fa);
1012:                        spawnChildFromLeaveElement(h, $__uri, $__local,
1013:                                $__qname);
1014:                    } else {
1015:                        unexpectedLeaveElement($__qname);
1016:                    }
1017:                }
1018:                    break;
1019:                case 68: {
1020:                    if (($ai = $runtime.getAttributeIndex("", "name")) >= 0) {
1021:                        $runtime.consumeAttribute($ai);
1022:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
1023:                                $__local, $__qname);
1024:                    } else {
1025:                        $_ngcc_current_state = 67;
1026:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
1027:                                $__local, $__qname);
1028:                    }
1029:                }
1030:                    break;
1031:                case 61: {
1032:                    $_ngcc_current_state = 35;
1033:                    $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
1034:                            $__qname);
1035:                }
1036:                    break;
1037:                case 80: {
1038:                    if (($ai = $runtime.getAttributeIndex("", "block")) >= 0) {
1039:                        $runtime.consumeAttribute($ai);
1040:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
1041:                                $__local, $__qname);
1042:                    } else {
1043:                        $_ngcc_current_state = 76;
1044:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
1045:                                $__local, $__qname);
1046:                    }
1047:                }
1048:                    break;
1049:                case 47: {
1050:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
1051:                            .equals("restriction"))) {
1052:                        NGCCHandler h = new attributeUses(this , super ._source,
1053:                                $runtime, 534, result);
1054:                        spawnChildFromLeaveElement(h, $__uri, $__local,
1055:                                $__qname);
1056:                    } else {
1057:                        unexpectedLeaveElement($__qname);
1058:                    }
1059:                }
1060:                    break;
1061:                case 17: {
1062:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
1063:                            .equals("restriction"))) {
1064:                        $runtime.onLeaveElementConsumed($__uri, $__local,
1065:                                $__qname);
1066:                        $_ngcc_current_state = 6;
1067:                    } else {
1068:                        unexpectedLeaveElement($__qname);
1069:                    }
1070:                }
1071:                    break;
1072:                case 37: {
1073:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
1074:                            .equals("extension"))) {
1075:                        NGCCHandler h = new attributeUses(this , super ._source,
1076:                                $runtime, 522, result);
1077:                        spawnChildFromLeaveElement(h, $__uri, $__local,
1078:                                $__qname);
1079:                    } else {
1080:                        unexpectedLeaveElement($__qname);
1081:                    }
1082:                }
1083:                    break;
1084:                case 6: {
1085:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
1086:                            .equals("complexContent"))) {
1087:                        $runtime.onLeaveElementConsumed($__uri, $__local,
1088:                                $__qname);
1089:                        $_ngcc_current_state = 1;
1090:                    } else {
1091:                        unexpectedLeaveElement($__qname);
1092:                    }
1093:                }
1094:                    break;
1095:                case 1: {
1096:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
1097:                            .equals("complexType"))) {
1098:                        $runtime.onLeaveElementConsumed($__uri, $__local,
1099:                                $__qname);
1100:                        $_ngcc_current_state = 0;
1101:                    } else {
1102:                        unexpectedLeaveElement($__qname);
1103:                    }
1104:                }
1105:                    break;
1106:                case 56: {
1107:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
1108:                            .equals("restriction"))) {
1109:                        NGCCHandler h = new foreignAttributes(this ,
1110:                                super ._source, $runtime, 547, fa);
1111:                        spawnChildFromLeaveElement(h, $__uri, $__local,
1112:                                $__qname);
1113:                    } else {
1114:                        unexpectedLeaveElement($__qname);
1115:                    }
1116:                }
1117:                    break;
1118:                case 76: {
1119:                    if (($ai = $runtime.getAttributeIndex("", "final")) >= 0) {
1120:                        $runtime.consumeAttribute($ai);
1121:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
1122:                                $__local, $__qname);
1123:                    } else {
1124:                        $_ngcc_current_state = 72;
1125:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
1126:                                $__local, $__qname);
1127:                    }
1128:                }
1129:                    break;
1130:                case 67: {
1131:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
1132:                            .equals("complexType"))) {
1133:                        NGCCHandler h = new foreignAttributes(this ,
1134:                                super ._source, $runtime, 564, fa);
1135:                        spawnChildFromLeaveElement(h, $__uri, $__local,
1136:                                $__qname);
1137:                    } else {
1138:                        unexpectedLeaveElement($__qname);
1139:                    }
1140:                }
1141:                    break;
1142:                case 2: {
1143:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
1144:                            .equals("complexType"))) {
1145:                        action1();
1146:                        NGCCHandler h = new complexType_complexContent_body(
1147:                                this , super ._source, $runtime, 485, result);
1148:                        spawnChildFromLeaveElement(h, $__uri, $__local,
1149:                                $__qname);
1150:                    } else {
1151:                        unexpectedLeaveElement($__qname);
1152:                    }
1153:                }
1154:                    break;
1155:                case 12: {
1156:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
1157:                            .equals("extension"))) {
1158:                        NGCCHandler h = new foreignAttributes(this ,
1159:                                super ._source, $runtime, 492, fa);
1160:                        spawnChildFromLeaveElement(h, $__uri, $__local,
1161:                                $__qname);
1162:                    } else {
1163:                        unexpectedLeaveElement($__qname);
1164:                    }
1165:                }
1166:                    break;
1167:                case 8: {
1168:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
1169:                            .equals("extension"))) {
1170:                        $runtime.onLeaveElementConsumed($__uri, $__local,
1171:                                $__qname);
1172:                        $_ngcc_current_state = 6;
1173:                    } else {
1174:                        unexpectedLeaveElement($__qname);
1175:                    }
1176:                }
1177:                    break;
1178:                case 19: {
1179:                    $_ngcc_current_state = 18;
1180:                    $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
1181:                            $__qname);
1182:                }
1183:                    break;
1184:                case 41: {
1185:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
1186:                            .equals("extension"))) {
1187:                        NGCCHandler h = new foreignAttributes(this ,
1188:                                super ._source, $runtime, 527, fa);
1189:                        spawnChildFromLeaveElement(h, $__uri, $__local,
1190:                                $__qname);
1191:                    } else {
1192:                        unexpectedLeaveElement($__qname);
1193:                    }
1194:                }
1195:                    break;
1196:                case 48: {
1197:                    action11();
1198:                    $_ngcc_current_state = 47;
1199:                    $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
1200:                            $__qname);
1201:                }
1202:                    break;
1203:                case 15: {
1204:                    if (($ai = $runtime.getAttributeIndex("", "base")) >= 0) {
1205:                        $runtime.consumeAttribute($ai);
1206:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
1207:                                $__local, $__qname);
1208:                    } else {
1209:                        unexpectedLeaveElement($__qname);
1210:                    }
1211:                }
1212:                    break;
1213:                case 65: {
1214:                    $_ngcc_current_state = 2;
1215:                    $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
1216:                            $__qname);
1217:                }
1218:                    break;
1219:                case 18: {
1220:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
1221:                            .equals("restriction"))) {
1222:                        NGCCHandler h = new complexType_complexContent_body(
1223:                                this , super ._source, $runtime, 499, result);
1224:                        spawnChildFromLeaveElement(h, $__uri, $__local,
1225:                                $__qname);
1226:                    } else {
1227:                        unexpectedLeaveElement($__qname);
1228:                    }
1229:                }
1230:                    break;
1231:                case 46: {
1232:                    if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local
1233:                            .equals("restriction"))) {
1234:                        $runtime.onLeaveElementConsumed($__uri, $__local,
1235:                                $__qname);
1236:                        $_ngcc_current_state = 34;
1237:                    } else {
1238:                        unexpectedLeaveElement($__qname);
1239:                    }
1240:                }
1241:                    break;
1242:                case 26: {
1243:                    $_ngcc_current_state = 7;
1244:                    $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
1245:                            $__qname);
1246:                }
1247:                    break;
1248:                case 29: {
1249:                    if (($ai = $runtime.getAttributeIndex("", "mixed")) >= 0) {
1250:                        $runtime.consumeAttribute($ai);
1251:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
1252:                                $__local, $__qname);
1253:                    } else {
1254:                        $_ngcc_current_state = 28;
1255:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
1256:                                $__local, $__qname);
1257:                    }
1258:                }
1259:                    break;
1260:                case 54: {
1261:                    $_ngcc_current_state = 52;
1262:                    $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
1263:                            $__qname);
1264:                }
1265:                    break;
1266:                case 72: {
1267:                    if (($ai = $runtime.getAttributeIndex("", "mixed")) >= 0) {
1268:                        $runtime.consumeAttribute($ai);
1269:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
1270:                                $__local, $__qname);
1271:                    } else {
1272:                        $_ngcc_current_state = 68;
1273:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
1274:                                $__local, $__qname);
1275:                    }
1276:                }
1277:                    break;
1278:                case 10: {
1279:                    $_ngcc_current_state = 9;
1280:                    $runtime.sendLeaveElement(super ._cookie, $__uri, $__local,
1281:                            $__qname);
1282:                }
1283:                    break;
1284:                case 44: {
1285:                    if (($ai = $runtime.getAttributeIndex("", "base")) >= 0) {
1286:                        $runtime.consumeAttribute($ai);
1287:                        $runtime.sendLeaveElement(super ._cookie, $__uri,
1288:                                $__local, $__qname);
1289:                    } else {
1290:                        unexpectedLeaveElement($__qname);
1291:                    }
1292:                }
1293:                    break;
1294:                default: {
1295:                    unexpectedLeaveElement($__qname);
1296:                }
1297:                    break;
1298:                }
1299:            }
1300:
1301:            public void enterAttribute(String $__uri, String $__local,
1302:                    String $__qname) throws SAXException {
1303:                int $ai;
1304:                $uri = $__uri;
1305:                $localName = $__local;
1306:                $qname = $__qname;
1307:                switch ($_ngcc_current_state) {
1308:                case 76: {
1309:                    if (($__uri.equals("") && $__local.equals("final"))) {
1310:                        $_ngcc_current_state = 78;
1311:                    } else {
1312:                        $_ngcc_current_state = 72;
1313:                        $runtime.sendEnterAttribute(super ._cookie, $__uri,
1314:                                $__local, $__qname);
1315:                    }
1316:                }
1317:                    break;
1318:                case 49: {
1319:                    $_ngcc_current_state = 48;
1320:                    $runtime.sendEnterAttribute(super ._cookie, $__uri,
1321:                            $__local, $__qname);
1322:                }
1323:                    break;
1324:                case 38: {
1325:                    action8();
1326:                    $_ngcc_current_state = 37;
1327:                    $runtime.sendEnterAttribute(super ._cookie, $__uri,
1328:                            $__local, $__qname);
1329:                }
1330:                    break;
1331:                case 0: {
1332:                    revertToParentFromEnterAttribute(result, super ._cookie,
1333:                            $__uri, $__local, $__qname);
1334:                }
1335:                    break;
1336:                case 59: {
1337:                    if (($__uri.equals("") && $__local.equals("base"))) {
1338:                        $_ngcc_current_state = 58;
1339:                    } else {
1340:                        unexpectedEnterAttribute($__qname);
1341:                    }
1342:                }
1343:                    break;
1344:                case 19: {
1345:                    $_ngcc_current_state = 18;
1346:                    $runtime.sendEnterAttribute(super ._cookie, $__uri,
1347:                            $__local, $__qname);
1348:                }
1349:                    break;
1350:                case 24: {
1351:                    if (($__uri.equals("") && $__local.equals("base"))) {
1352:                        $_ngcc_current_state = 23;
1353:                    } else {
1354:                        unexpectedEnterAttribute($__qname);
1355:                    }
1356:                }
1357:                    break;
1358:                case 39: {
1359:                    $_ngcc_current_state = 38;
1360:                    $runtime.sendEnterAttribute(super ._cookie, $__uri,
1361:                            $__local, $__qname);
1362:                }
1363:                    break;
1364:                case 48: {
1365:                    action11();
1366:                    $_ngcc_current_state = 47;
1367:                    $runtime.sendEnterAttribute(super ._cookie, $__uri,
1368:                            $__local, $__qname);
1369:                }
1370:                    break;
1371:                case 84: {
1372:                    if (($__uri.equals("") && $__local.equals("abstract"))) {
1373:                        $_ngcc_current_state = 86;
1374:                    } else {
1375:                        $_ngcc_current_state = 80;
1376:                        $runtime.sendEnterAttribute(super ._cookie, $__uri,
1377:                                $__local, $__qname);
1378:                    }
1379:                }
1380:                    break;
1381:                case 52: {
1382:                    $_ngcc_current_state = 51;
1383:                    $runtime.sendEnterAttribute(super ._cookie, $__uri,
1384:                            $__local, $__qname);
1385:                }
1386:                    break;
1387:                case 15: {
1388:                    if (($__uri.equals("") && $__local.equals("base"))) {
1389:                        $_ngcc_current_state = 14;
1390:                    } else {
1391:                        unexpectedEnterAttribute($__qname);
1392:                    }
1393:                }
1394:                    break;
1395:                case 51: {
1396:                    action13();
1397:                    $_ngcc_current_state = 49;
1398:                    $runtime.sendEnterAttribute(super ._cookie, $__uri,
1399:                            $__local, $__qname);
1400:                }
1401:                    break;
1402:                case 65: {
1403:                    $_ngcc_current_state = 2;
1404:                    $runtime.sendEnterAttribute(super ._cookie, $__uri,
1405:                            $__local, $__qname);
1406:                }
1407:                    break;
1408:                case 68: {
1409:                    if (($__uri.equals("") && $__local.equals("name"))) {
1410:                        $_ngcc_current_state = 70;
1411:                    } else {
1412:                        $_ngcc_current_state = 67;
1413:                        $runtime.sendEnterAttribute(super ._cookie, $__uri,
1414:                                $__local, $__qname);
1415:                    }
1416:                }
1417:                    break;
1418:                case 61: {
1419:                    $_ngcc_current_state = 35;
1420:                    $runtime.sendEnterAttribute(super ._cookie, $__uri,
1421:                            $__local, $__qname);
1422:                }
1423:                    break;
1424:                case 80: {
1425:                    if (($__uri.equals("") && $__local.equals("block"))) {
1426:                        $_ngcc_current_state = 82;
1427:                    } else {
1428:                        $_ngcc_current_state = 76;
1429:                        $runtime.sendEnterAttribute(super ._cookie, $__uri,
1430:                                $__local, $__qname);
1431:                    }
1432:                }
1433:                    break;
1434:                case 26: {
1435:                    $_ngcc_current_state = 7;
1436:                    $runtime.sendEnterAttribute(super ._cookie, $__uri,
1437:                            $__local, $__qname);
1438:                }
1439:                    break;
1440:                case 29: {
1441:                    if (($__uri.equals("") && $__local.equals("mixed"))) {
1442:                        $_ngcc_current_state = 31;
1443:                    } else {
1444:                        $_ngcc_current_state = 28;
1445:                        $runtime.sendEnterAttribute(super ._cookie, $__uri,
1446:                                $__local, $__qname);
1447:                    }
1448:                }
1449:                    break;
1450:                case 54: {
1451:                    $_ngcc_current_state = 52;
1452:                    $runtime.sendEnterAttribute(super ._cookie, $__uri,
1453:                            $__local, $__qname);
1454:                }
1455:                    break;
1456:                case 72: {
1457:                    if (($__uri.equals("") && $__local.equals("mixed"))) {
1458:                        $_ngcc_current_state = 74;
1459:                    } else {
1460:                        $_ngcc_current_state = 68;
1461:                        $runtime.sendEnterAttribute(super ._cookie, $__uri,
1462:                                $__local, $__qname);
1463:                    }
1464:                }
1465:                    break;
1466:                case 10: {
1467:                    $_ngcc_current_state = 9;
1468:                    $runtime.sendEnterAttribute(super ._cookie, $__uri,
1469:                            $__local, $__qname);
1470:                }
1471:                    break;
1472:                case 44: {
1473:                    if (($__uri.equals("") && $__local.equals("base"))) {
1474:                        $_ngcc_current_state = 43;
1475:                    } else {
1476:                        unexpectedEnterAttribute($__qname);
1477:                    }
1478:                }
1479:                    break;
1480:                default: {
1481:                    unexpectedEnterAttribute($__qname);
1482:                }
1483:                    break;
1484:                }
1485:            }
1486:
1487:            public void leaveAttribute(String $__uri, String $__local,
1488:                    String $__qname) throws SAXException {
1489:                int $ai;
1490:                $uri = $__uri;
1491:                $localName = $__local;
1492:                $qname = $__qname;
1493:                switch ($_ngcc_current_state) {
1494:                case 13: {
1495:                    if (($__uri.equals("") && $__local.equals("base"))) {
1496:                        $_ngcc_current_state = 12;
1497:                    } else {
1498:                        unexpectedLeaveAttribute($__qname);
1499:                    }
1500:                }
1501:                    break;
1502:                case 49: {
1503:                    $_ngcc_current_state = 48;
1504:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1505:                            $__local, $__qname);
1506:                }
1507:                    break;
1508:                case 38: {
1509:                    action8();
1510:                    $_ngcc_current_state = 37;
1511:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1512:                            $__local, $__qname);
1513:                }
1514:                    break;
1515:                case 0: {
1516:                    revertToParentFromLeaveAttribute(result, super ._cookie,
1517:                            $__uri, $__local, $__qname);
1518:                }
1519:                    break;
1520:                case 39: {
1521:                    $_ngcc_current_state = 38;
1522:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1523:                            $__local, $__qname);
1524:                }
1525:                    break;
1526:                case 84: {
1527:                    $_ngcc_current_state = 80;
1528:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1529:                            $__local, $__qname);
1530:                }
1531:                    break;
1532:                case 73: {
1533:                    if (($__uri.equals("") && $__local.equals("mixed"))) {
1534:                        $_ngcc_current_state = 68;
1535:                    } else {
1536:                        unexpectedLeaveAttribute($__qname);
1537:                    }
1538:                }
1539:                    break;
1540:                case 52: {
1541:                    $_ngcc_current_state = 51;
1542:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1543:                            $__local, $__qname);
1544:                }
1545:                    break;
1546:                case 51: {
1547:                    action13();
1548:                    $_ngcc_current_state = 49;
1549:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1550:                            $__local, $__qname);
1551:                }
1552:                    break;
1553:                case 77: {
1554:                    if (($__uri.equals("") && $__local.equals("final"))) {
1555:                        $_ngcc_current_state = 72;
1556:                    } else {
1557:                        unexpectedLeaveAttribute($__qname);
1558:                    }
1559:                }
1560:                    break;
1561:                case 68: {
1562:                    $_ngcc_current_state = 67;
1563:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1564:                            $__local, $__qname);
1565:                }
1566:                    break;
1567:                case 80: {
1568:                    $_ngcc_current_state = 76;
1569:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1570:                            $__local, $__qname);
1571:                }
1572:                    break;
1573:                case 61: {
1574:                    $_ngcc_current_state = 35;
1575:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1576:                            $__local, $__qname);
1577:                }
1578:                    break;
1579:                case 76: {
1580:                    $_ngcc_current_state = 72;
1581:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1582:                            $__local, $__qname);
1583:                }
1584:                    break;
1585:                case 30: {
1586:                    if (($__uri.equals("") && $__local.equals("mixed"))) {
1587:                        $_ngcc_current_state = 28;
1588:                    } else {
1589:                        unexpectedLeaveAttribute($__qname);
1590:                    }
1591:                }
1592:                    break;
1593:                case 57: {
1594:                    if (($__uri.equals("") && $__local.equals("base"))) {
1595:                        $_ngcc_current_state = 56;
1596:                    } else {
1597:                        unexpectedLeaveAttribute($__qname);
1598:                    }
1599:                }
1600:                    break;
1601:                case 19: {
1602:                    $_ngcc_current_state = 18;
1603:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1604:                            $__local, $__qname);
1605:                }
1606:                    break;
1607:                case 48: {
1608:                    action11();
1609:                    $_ngcc_current_state = 47;
1610:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1611:                            $__local, $__qname);
1612:                }
1613:                    break;
1614:                case 69: {
1615:                    if (($__uri.equals("") && $__local.equals("name"))) {
1616:                        $_ngcc_current_state = 67;
1617:                    } else {
1618:                        unexpectedLeaveAttribute($__qname);
1619:                    }
1620:                }
1621:                    break;
1622:                case 65: {
1623:                    $_ngcc_current_state = 2;
1624:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1625:                            $__local, $__qname);
1626:                }
1627:                    break;
1628:                case 42: {
1629:                    if (($__uri.equals("") && $__local.equals("base"))) {
1630:                        $_ngcc_current_state = 41;
1631:                    } else {
1632:                        unexpectedLeaveAttribute($__qname);
1633:                    }
1634:                }
1635:                    break;
1636:                case 85: {
1637:                    if (($__uri.equals("") && $__local.equals("abstract"))) {
1638:                        $_ngcc_current_state = 80;
1639:                    } else {
1640:                        unexpectedLeaveAttribute($__qname);
1641:                    }
1642:                }
1643:                    break;
1644:                case 22: {
1645:                    if (($__uri.equals("") && $__local.equals("base"))) {
1646:                        $_ngcc_current_state = 21;
1647:                    } else {
1648:                        unexpectedLeaveAttribute($__qname);
1649:                    }
1650:                }
1651:                    break;
1652:                case 26: {
1653:                    $_ngcc_current_state = 7;
1654:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1655:                            $__local, $__qname);
1656:                }
1657:                    break;
1658:                case 29: {
1659:                    $_ngcc_current_state = 28;
1660:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1661:                            $__local, $__qname);
1662:                }
1663:                    break;
1664:                case 54: {
1665:                    $_ngcc_current_state = 52;
1666:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1667:                            $__local, $__qname);
1668:                }
1669:                    break;
1670:                case 72: {
1671:                    $_ngcc_current_state = 68;
1672:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1673:                            $__local, $__qname);
1674:                }
1675:                    break;
1676:                case 81: {
1677:                    if (($__uri.equals("") && $__local.equals("block"))) {
1678:                        $_ngcc_current_state = 76;
1679:                    } else {
1680:                        unexpectedLeaveAttribute($__qname);
1681:                    }
1682:                }
1683:                    break;
1684:                case 10: {
1685:                    $_ngcc_current_state = 9;
1686:                    $runtime.sendLeaveAttribute(super ._cookie, $__uri,
1687:                            $__local, $__qname);
1688:                }
1689:                    break;
1690:                default: {
1691:                    unexpectedLeaveAttribute($__qname);
1692:                }
1693:                    break;
1694:                }
1695:            }
1696:
1697:            public void text(String $value) throws SAXException {
1698:                int $ai;
1699:                switch ($_ngcc_current_state) {
1700:                case 49: {
1701:                    $_ngcc_current_state = 48;
1702:                    $runtime.sendText(super ._cookie, $value);
1703:                }
1704:                    break;
1705:                case 38: {
1706:                    action8();
1707:                    $_ngcc_current_state = 37;
1708:                    $runtime.sendText(super ._cookie, $value);
1709:                }
1710:                    break;
1711:                case 0: {
1712:                    revertToParentFromText(result, super ._cookie, $value);
1713:                }
1714:                    break;
1715:                case 59: {
1716:                    if (($ai = $runtime.getAttributeIndex("", "base")) >= 0) {
1717:                        $runtime.consumeAttribute($ai);
1718:                        $runtime.sendText(super ._cookie, $value);
1719:                    }
1720:                }
1721:                    break;
1722:                case 43: {
1723:                    NGCCHandler h = new qname(this , super ._source, $runtime,
1724:                            529);
1725:                    spawnChildFromText(h, $value);
1726:                }
1727:                    break;
1728:                case 24: {
1729:                    if (($ai = $runtime.getAttributeIndex("", "base")) >= 0) {
1730:                        $runtime.consumeAttribute($ai);
1731:                        $runtime.sendText(super ._cookie, $value);
1732:                    }
1733:                }
1734:                    break;
1735:                case 39: {
1736:                    $_ngcc_current_state = 38;
1737:                    $runtime.sendText(super ._cookie, $value);
1738:                }
1739:                    break;
1740:                case 84: {
1741:                    if (($ai = $runtime.getAttributeIndex("", "abstract")) >= 0) {
1742:                        $runtime.consumeAttribute($ai);
1743:                        $runtime.sendText(super ._cookie, $value);
1744:                    } else {
1745:                        $_ngcc_current_state = 80;
1746:                        $runtime.sendText(super ._cookie, $value);
1747:                    }
1748:                }
1749:                    break;
1750:                case 14: {
1751:                    NGCCHandler h = new qname(this , super ._source, $runtime,
1752:                            494);
1753:                    spawnChildFromText(h, $value);
1754:                }
1755:                    break;
1756:                case 74: {
1757:                    mixedValue = $value;
1758:                    $_ngcc_current_state = 73;
1759:                }
1760:                    break;
1761:                case 52: {
1762:                    $_ngcc_current_state = 51;
1763:                    $runtime.sendText(super ._cookie, $value);
1764:                }
1765:                    break;
1766:                case 51: {
1767:                    action13();
1768:                    $_ngcc_current_state = 49;
1769:                    $runtime.sendText(super ._cookie, $value);
1770:                }
1771:                    break;
1772:                case 70: {
1773:                    name = $value;
1774:                    $_ngcc_current_state = 69;
1775:                }
1776:                    break;
1777:                case 82: {
1778:                    NGCCHandler h = new erSet(this , super ._source, $runtime,
1779:                            581);
1780:                    spawnChildFromText(h, $value);
1781:                }
1782:                    break;
1783:                case 68: {
1784:                    if (($ai = $runtime.getAttributeIndex("", "name")) >= 0) {
1785:                        $runtime.consumeAttribute($ai);
1786:                        $runtime.sendText(super ._cookie, $value);
1787:                    } else {
1788:                        $_ngcc_current_state = 67;
1789:                        $runtime.sendText(super ._cookie, $value);
1790:                    }
1791:                }
1792:                    break;
1793:                case 80: {
1794:                    if (($ai = $runtime.getAttributeIndex("", "block")) >= 0) {
1795:                        $runtime.consumeAttribute($ai);
1796:                        $runtime.sendText(super ._cookie, $value);
1797:                    } else {
1798:                        $_ngcc_current_state = 76;
1799:                        $runtime.sendText(super ._cookie, $value);
1800:                    }
1801:                }
1802:                    break;
1803:                case 61: {
1804:                    $_ngcc_current_state = 35;
1805:                    $runtime.sendText(super ._cookie, $value);
1806:                }
1807:                    break;
1808:                case 78: {
1809:                    NGCCHandler h = new erSet(this , super ._source, $runtime,
1810:                            576);
1811:                    spawnChildFromText(h, $value);
1812:                }
1813:                    break;
1814:                case 58: {
1815:                    NGCCHandler h = new qname(this , super ._source, $runtime,
1816:                            549);
1817:                    spawnChildFromText(h, $value);
1818:                }
1819:                    break;
1820:                case 76: {
1821:                    if (($ai = $runtime.getAttributeIndex("", "final")) >= 0) {
1822:                        $runtime.consumeAttribute($ai);
1823:                        $runtime.sendText(super ._cookie, $value);
1824:                    } else {
1825:                        $_ngcc_current_state = 72;
1826:                        $runtime.sendText(super ._cookie, $value);
1827:                    }
1828:                }
1829:                    break;
1830:                case 19: {
1831:                    $_ngcc_current_state = 18;
1832:                    $runtime.sendText(super ._cookie, $value);
1833:                }
1834:                    break;
1835:                case 48: {
1836:                    action11();
1837:                    $_ngcc_current_state = 47;
1838:                    $runtime.sendText(super ._cookie, $value);
1839:                }
1840:                    break;
1841:                case 23: {
1842:                    NGCCHandler h = new qname(this , super ._source, $runtime,
1843:                            505);
1844:                    spawnChildFromText(h, $value);
1845:                }
1846:                    break;
1847:                case 31: {
1848:                    mixedValue = $value;
1849:                    $_ngcc_current_state = 30;
1850:                }
1851:                    break;
1852:                case 15: {
1853:                    if (($ai = $runtime.getAttributeIndex("", "base")) >= 0) {
1854:                        $runtime.consumeAttribute($ai);
1855:                        $runtime.sendText(super ._cookie, $value);
1856:                    }
1857:                }
1858:                    break;
1859:                case 65: {
1860:                    $_ngcc_current_state = 2;
1861:                    $runtime.sendText(super ._cookie, $value);
1862:                }
1863:                    break;
1864:                case 86: {
1865:                    abstractValue = $value;
1866:                    $_ngcc_current_state = 85;
1867:                }
1868:                    break;
1869:                case 26: {
1870:                    $_ngcc_current_state = 7;
1871:                    $runtime.sendText(super ._cookie, $value);
1872:                }
1873:                    break;
1874:                case 29: {
1875:                    if (($ai = $runtime.getAttributeIndex("", "mixed")) >= 0) {
1876:                        $runtime.consumeAttribute($ai);
1877:                        $runtime.sendText(super ._cookie, $value);
1878:                    } else {
1879:                        $_ngcc_current_state = 28;
1880:                        $runtime.sendText(super ._cookie, $value);
1881:                    }
1882:                }
1883:                    break;
1884:                case 54: {
1885:                    $_ngcc_current_state = 52;
1886:                    $runtime.sendText(super ._cookie, $value);
1887:                }
1888:                    break;
1889:                case 72: {
1890:                    if (($ai = $runtime.getAttributeIndex("", "mixed")) >= 0) {
1891:                        $runtime.consumeAttribute($ai);
1892:                        $runtime.sendText(super ._cookie, $value);
1893:                    } else {
1894:                        $_ngcc_current_state = 68;
1895:                        $runtime.sendText(super ._cookie, $value);
1896:                    }
1897:                }
1898:                    break;
1899:                case 10: {
1900:                    $_ngcc_current_state = 9;
1901:                    $runtime.sendText(super ._cookie, $value);
1902:                }
1903:                    break;
1904:                case 44: {
1905:                    if (($ai = $runtime.getAttributeIndex("", "base")) >= 0) {
1906:                        $runtime.consumeAttribute($ai);
1907:                        $runtime.sendText(super ._cookie, $value);
1908:                    }
1909:                }
1910:                    break;
1911:                }
1912:            }
1913:
1914:            public void onChildCompleted(Object $__result__, int $__cookie__,
1915:                    boolean $__needAttCheck__) throws SAXException {
1916:                switch ($__cookie__) {
1917:                case 529: {
1918:                    baseTypeName = ((UName) $__result__);
1919:                    action9();
1920:                    $_ngcc_current_state = 42;
1921:                }
1922:                    break;
1923:                case 488: {
1924:                    explicitContent = ((ContentTypeImpl) $__result__);
1925:                    action2();
1926:                    $_ngcc_current_state = 8;
1927:                }
1928:                    break;
1929:                case 534: {
1930:                    $_ngcc_current_state = 46;
1931:                }
1932:                    break;
1933:                case 492: {
1934:                    fa = ((ForeignAttributesImpl) $__result__);
1935:                    $_ngcc_current_state = 10;
1936:                }
1937:                    break;
1938:                case 501: {
1939:                    annotation = ((AnnotationImpl) $__result__);
1940:                    $_ngcc_current_state = 18;
1941:                }
1942:                    break;
1943:                case 527: {
1944:                    fa = ((ForeignAttributesImpl) $__result__);
1945:                    $_ngcc_current_state = 39;
1946:                }
1947:                    break;
1948:                case 499: {
1949:                    explicitContent = ((ContentTypeImpl) $__result__);
1950:                    action5();
1951:                    $_ngcc_current_state = 17;
1952:                }
1953:                    break;
1954:                case 545: {
1955:                    annotation = ((AnnotationImpl) $__result__);
1956:                    $_ngcc_current_state = 52;
1957:                }
1958:                    break;
1959:                case 538: {
1960:                    facet = ((XSFacet) $__result__);
1961:                    action12();
1962:                    $_ngcc_current_state = 48;
1963:                }
1964:                    break;
1965:                case 525: {
1966:                    annotation = ((AnnotationImpl) $__result__);
1967:                    $_ngcc_current_state = 38;
1968:                }
1969:                    break;
1970:                case 494: {
1971:                    baseTypeName = ((UName) $__result__);
1972:                    action3();
1973:                    $_ngcc_current_state = 13;
1974:                }
1975:                    break;
1976:                case 542: {
1977:                    baseContentType = ((SimpleTypeImpl) $__result__);
1978:                    $_ngcc_current_state = 51;
1979:                }
1980:                    break;
1981:                case 503: {
1982:                    fa = ((ForeignAttributesImpl) $__result__);
1983:                    $_ngcc_current_state = 19;
1984:                }
1985:                    break;
1986:                case 512: {
1987:                    fa = ((ForeignAttributesImpl) $__result__);
1988:                    $_ngcc_current_state = 26;
1989:                }
1990:                    break;
1991:                case 581: {
1992:                    blockValue = ((Integer) $__result__);
1993:                    $_ngcc_current_state = 81;
1994:                }
1995:                    break;
1996:                case 554: {
1997:                    annotation = ((AnnotationImpl) $__result__);
1998:                    $_ngcc_current_state = 35;
1999:                }
2000:                    break;
2001:                case 576: {
2002:                    finalValue = ((Integer) $__result__);
2003:                    $_ngcc_current_state = 77;
2004:                }
2005:                    break;
2006:                case 549: {
2007:                    baseTypeName = ((UName) $__result__);
2008:                    action14();
2009:                    $_ngcc_current_state = 57;
2010:                }
2011:                    break;
2012:                case 522: {
2013:                    $_ngcc_current_state = 36;
2014:                }
2015:                    break;
2016:                case 547: {
2017:                    fa = ((ForeignAttributesImpl) $__result__);
2018:                    $_ngcc_current_state = 54;
2019:                }
2020:                    break;
2021:                case 564: {
2022:                    fa = ((ForeignAttributesImpl) $__result__);
2023:                    $_ngcc_current_state = 65;
2024:                }
2025:                    break;
2026:                case 485: {
2027:                    explicitContent = ((ContentTypeImpl) $__result__);
2028:                    action0();
2029:                    $_ngcc_current_state = 1;
2030:                }
2031:                    break;
2032:                case 537: {
2033:                    facet = ((XSFacet) $__result__);
2034:                    action12();
2035:                    $_ngcc_current_state = 48;
2036:                }
2037:                    break;
2038:                case 505: {
2039:                    baseTypeName = ((UName) $__result__);
2040:                    action6();
2041:                    $_ngcc_current_state = 22;
2042:                }
2043:                    break;
2044:                case 562: {
2045:                    annotation = ((AnnotationImpl) $__result__);
2046:                    $_ngcc_current_state = 2;
2047:                }
2048:                    break;
2049:                case 556: {
2050:                    fa = ((ForeignAttributesImpl) $__result__);
2051:                    $_ngcc_current_state = 61;
2052:                }
2053:                    break;
2054:                case 510: {
2055:                    annotation = ((AnnotationImpl) $__result__);
2056:                    $_ngcc_current_state = 7;
2057:                }
2058:                    break;
2059:                case 490: {
2060:                    annotation = ((AnnotationImpl) $__result__);
2061:                    $_ngcc_current_state = 9;
2062:                }
2063:                    break;
2064:                }
2065:            }
2066:
2067:            public boolean accepted() {
2068:                return (($_ngcc_current_state == 0));
2069:            }
2070:
2071:            private ComplexTypeImpl result;
2072:            private Ref.Type baseType;
2073:            private Ref.ContentType contentType;
2074:
2075:            // local variables for simpleContent/restriction
2076:            private Ref.SimpleType baseContentType;
2077:            private RestrictionSimpleTypeImpl contentSimpleType;
2078:
2079:            private Locator locator, locator2;
2080:
2081:            private static class BaseContentSimpleTypeRef implements 
2082:                    Ref.SimpleType {
2083:                private final Ref.Type baseType;
2084:
2085:                private BaseContentSimpleTypeRef(Ref.Type _baseType) {
2086:                    this .baseType = _baseType;
2087:                }
2088:
2089:                public XSSimpleType getType() {
2090:                    return (XSSimpleType) ((XSComplexType) baseType.getType())
2091:                            .getContentType();
2092:                }
2093:            };
2094:
2095:            private static class BaseContentRef implements  Ref.ContentType {
2096:                private final Ref.Type baseType;
2097:
2098:                private BaseContentRef(Ref.Type _baseType) {
2099:                    this .baseType = _baseType;
2100:                }
2101:
2102:                public XSContentType getContentType() {
2103:                    XSType t = baseType.getType();
2104:                    if (t.asComplexType() != null)
2105:                        return t.asComplexType().getContentType();
2106:                    else
2107:                        return t.asSimpleType();
2108:                }
2109:            };
2110:
2111:            // baseType and contentType must be computed before calling this method.
2112:            private void makeResult(int derivationMethod) {
2113:
2114:                if (finalValue == null)
2115:                    finalValue = new Integer($runtime.finalDefault);
2116:                if (blockValue == null)
2117:                    blockValue = new Integer($runtime.blockDefault);
2118:
2119:                result = new ComplexTypeImpl($runtime.document, annotation,
2120:                        locator, fa, name, name == null, $runtime
2121:                                .parseBoolean(abstractValue), derivationMethod,
2122:                        baseType, finalValue.intValue(), blockValue.intValue(),
2123:                        $runtime.parseBoolean(mixedValue));
2124:            }
2125:
2126:            // I had to make them static inner classes (as opposed to anonymous ones),
2127:            // so that they will not keep references to parser.
2128:
2129:            private static class BaseComplexTypeContentRef implements 
2130:                    Ref.ContentType {
2131:                private final Ref.Type baseType;
2132:
2133:                private BaseComplexTypeContentRef(Ref.Type _baseType) {
2134:                    this .baseType = _baseType;
2135:                }
2136:
2137:                public XSContentType getContentType() {
2138:                    return ((XSComplexType) baseType.getType())
2139:                            .getContentType();
2140:                }
2141:            }
2142:
2143:            private static class InheritBaseContentTypeRef implements 
2144:                    Ref.ContentType {
2145:                private final Ref.Type baseType;
2146:                private final XSContentType empty;
2147:                private final XSContentType expContent;
2148:                private final SchemaDocumentImpl currentDocument;
2149:
2150:                private InheritBaseContentTypeRef(Ref.Type _baseType,
2151:                        XSContentType _explicitContent, NGCCRuntimeEx $runtime) {
2152:
2153:                    this .baseType = _baseType;
2154:                    this .currentDocument = $runtime.document;
2155:                    expContent = _explicitContent;
2156:                    this .empty = $runtime.parser.schemaSet.empty;
2157:                }
2158:
2159:                public XSContentType getContentType() {
2160:                    XSContentType baseContentType = ((XSComplexType) baseType
2161:                            .getType()).getContentType();
2162:                    if (baseContentType == empty)
2163:                        return expContent;
2164:                    else
2165:                        return new ParticleImpl(currentDocument, null,
2166:                                new ModelGroupImpl(currentDocument, null, null,
2167:                                        null, XSModelGroup.SEQUENCE,
2168:                                        new ParticleImpl[] {
2169:                                                (ParticleImpl) baseContentType,
2170:                                                (ParticleImpl) expContent }),
2171:                                null);
2172:                }
2173:            };
2174:
2175:            private Ref.ContentType buildComplexExtensionContentModel(
2176:                    XSContentType explicitContent) {
2177:
2178:                if (explicitContent == $runtime.parser.schemaSet.empty)
2179:                    return new BaseComplexTypeContentRef(baseType);
2180:                else
2181:                    return new InheritBaseContentTypeRef(baseType,
2182:                            explicitContent, $runtime);
2183:            }
2184:
2185:        }
w__w_w.__j__a___v_a___2_s_.___c__om___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.