jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/state/redefine.java
changeset 19645 36f707905f2b
parent 12009 4abb694f273a
child 22679 d785acd84a14
equal deleted inserted replaced
19257:30a1d677a20c 19645:36f707905f2b
   116         int $ai;
   116         int $ai;
   117         $uri = $__uri;
   117         $uri = $__uri;
   118         $localName = $__local;
   118         $localName = $__local;
   119         $qname = $__qname;
   119         $qname = $__qname;
   120         switch($_ngcc_current_state) {
   120         switch($_ngcc_current_state) {
   121         case 2:
   121         case 0:
       
   122             {
       
   123                 revertToParentFromEnterElement(this, super._cookie, $__uri, $__local, $__qname, $attrs);
       
   124             }
       
   125             break;
       
   126         case 1:
   122             {
   127             {
   123                 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) {
   128                 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) {
   124                     NGCCHandler h = new annotation(this, super._source, $runtime, 581, null,AnnotationContext.SCHEMA);
   129                     NGCCHandler h = new annotation(this, super._source, $runtime, 684, null,AnnotationContext.SCHEMA);
   125                     spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
   130                     spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
   126                 }
   131                 }
   127                 else {
   132                 else {
   128                     if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) {
   133                     if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) {
   129                         NGCCHandler h = new simpleType(this, super._source, $runtime, 582);
   134                         NGCCHandler h = new simpleType(this, super._source, $runtime, 685);
   130                         spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
   135                         spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
   131                     }
   136                     }
   132                     else {
   137                     else {
   133                         if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) {
   138                         if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) {
   134                             NGCCHandler h = new complexType(this, super._source, $runtime, 583);
   139                             NGCCHandler h = new complexType(this, super._source, $runtime, 686);
   135                             spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
   140                             spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
   136                         }
   141                         }
   137                         else {
   142                         else {
   138                             if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) {
   143                             if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) {
   139                                 NGCCHandler h = new group(this, super._source, $runtime, 584);
   144                                 NGCCHandler h = new group(this, super._source, $runtime, 687);
   140                                 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
   145                                 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
   141                             }
   146                             }
   142                             else {
   147                             else {
   143                                 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup"))) {
   148                                 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup"))) {
   144                                     NGCCHandler h = new attributeGroupDecl(this, super._source, $runtime, 585);
   149                                     NGCCHandler h = new attributeGroupDecl(this, super._source, $runtime, 688);
       
   150                                     spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
       
   151                                 }
       
   152                                 else {
       
   153                                     unexpectedEnterElement($__qname);
       
   154                                 }
       
   155                             }
       
   156                         }
       
   157                     }
       
   158                 }
       
   159             }
       
   160             break;
       
   161         case 14:
       
   162             {
       
   163                 if(($ai = $runtime.getAttributeIndex("","schemaLocation"))>=0) {
       
   164                     $runtime.consumeAttribute($ai);
       
   165                     $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
       
   166                 }
       
   167                 else {
       
   168                     unexpectedEnterElement($__qname);
       
   169                 }
       
   170             }
       
   171             break;
       
   172         case 2:
       
   173             {
       
   174                 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) {
       
   175                     NGCCHandler h = new annotation(this, super._source, $runtime, 689, null,AnnotationContext.SCHEMA);
       
   176                     spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
       
   177                 }
       
   178                 else {
       
   179                     if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) {
       
   180                         NGCCHandler h = new simpleType(this, super._source, $runtime, 690);
       
   181                         spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
       
   182                     }
       
   183                     else {
       
   184                         if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) {
       
   185                             NGCCHandler h = new complexType(this, super._source, $runtime, 691);
       
   186                             spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
       
   187                         }
       
   188                         else {
       
   189                             if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) {
       
   190                                 NGCCHandler h = new group(this, super._source, $runtime, 692);
       
   191                                 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
       
   192                             }
       
   193                             else {
       
   194                                 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup"))) {
       
   195                                     NGCCHandler h = new attributeGroupDecl(this, super._source, $runtime, 693);
   145                                     spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
   196                                     spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
   146                                 }
   197                                 }
   147                                 else {
   198                                 else {
   148                                     $_ngcc_current_state = 1;
   199                                     $_ngcc_current_state = 1;
   149                                     $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
   200                                     $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
   163                 else {
   214                 else {
   164                     unexpectedEnterElement($__qname);
   215                     unexpectedEnterElement($__qname);
   165                 }
   216                 }
   166             }
   217             }
   167             break;
   218             break;
   168         case 0:
       
   169             {
       
   170                 revertToParentFromEnterElement(this, super._cookie, $__uri, $__local, $__qname, $attrs);
       
   171             }
       
   172             break;
       
   173         case 14:
       
   174             {
       
   175                 if(($ai = $runtime.getAttributeIndex("","schemaLocation"))>=0) {
       
   176                     $runtime.consumeAttribute($ai);
       
   177                     $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
       
   178                 }
       
   179                 else {
       
   180                     unexpectedEnterElement($__qname);
       
   181                 }
       
   182             }
       
   183             break;
       
   184         case 1:
       
   185             {
       
   186                 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) {
       
   187                     NGCCHandler h = new annotation(this, super._source, $runtime, 576, null,AnnotationContext.SCHEMA);
       
   188                     spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
       
   189                 }
       
   190                 else {
       
   191                     if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) {
       
   192                         NGCCHandler h = new simpleType(this, super._source, $runtime, 577);
       
   193                         spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
       
   194                     }
       
   195                     else {
       
   196                         if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) {
       
   197                             NGCCHandler h = new complexType(this, super._source, $runtime, 578);
       
   198                             spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
       
   199                         }
       
   200                         else {
       
   201                             if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) {
       
   202                                 NGCCHandler h = new group(this, super._source, $runtime, 579);
       
   203                                 spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
       
   204                             }
       
   205                             else {
       
   206                                 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup"))) {
       
   207                                     NGCCHandler h = new attributeGroupDecl(this, super._source, $runtime, 580);
       
   208                                     spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
       
   209                                 }
       
   210                                 else {
       
   211                                     unexpectedEnterElement($__qname);
       
   212                                 }
       
   213                             }
       
   214                         }
       
   215                     }
       
   216                 }
       
   217             }
       
   218             break;
       
   219         default:
   219         default:
   220             {
   220             {
   221                 unexpectedEnterElement($__qname);
   221                 unexpectedEnterElement($__qname);
   222             }
   222             }
   223             break;
   223             break;
   228         int $ai;
   228         int $ai;
   229         $uri = $__uri;
   229         $uri = $__uri;
   230         $localName = $__local;
   230         $localName = $__local;
   231         $qname = $__qname;
   231         $qname = $__qname;
   232         switch($_ngcc_current_state) {
   232         switch($_ngcc_current_state) {
   233         case 2:
       
   234             {
       
   235                 $_ngcc_current_state = 1;
       
   236                 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
       
   237             }
       
   238             break;
       
   239         case 0:
   233         case 0:
   240             {
   234             {
   241                 revertToParentFromLeaveElement(this, super._cookie, $__uri, $__local, $__qname);
   235                 revertToParentFromLeaveElement(this, super._cookie, $__uri, $__local, $__qname);
       
   236             }
       
   237             break;
       
   238         case 1:
       
   239             {
       
   240                 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("redefine"))) {
       
   241                     $runtime.onLeaveElementConsumed($__uri, $__local, $__qname);
       
   242                     $_ngcc_current_state = 0;
       
   243                 }
       
   244                 else {
       
   245                     unexpectedLeaveElement($__qname);
       
   246                 }
   242             }
   247             }
   243             break;
   248             break;
   244         case 14:
   249         case 14:
   245             {
   250             {
   246                 if(($ai = $runtime.getAttributeIndex("","schemaLocation"))>=0) {
   251                 if(($ai = $runtime.getAttributeIndex("","schemaLocation"))>=0) {
   250                 else {
   255                 else {
   251                     unexpectedLeaveElement($__qname);
   256                     unexpectedLeaveElement($__qname);
   252                 }
   257                 }
   253             }
   258             }
   254             break;
   259             break;
   255         case 1:
   260         case 2:
   256             {
   261             {
   257                 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("redefine"))) {
   262                 $_ngcc_current_state = 1;
   258                     $runtime.onLeaveElementConsumed($__uri, $__local, $__qname);
   263                 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
   259                     $_ngcc_current_state = 0;
       
   260                 }
       
   261                 else {
       
   262                     unexpectedLeaveElement($__qname);
       
   263                 }
       
   264             }
   264             }
   265             break;
   265             break;
   266         default:
   266         default:
   267             {
   267             {
   268                 unexpectedLeaveElement($__qname);
   268                 unexpectedLeaveElement($__qname);
   275         int $ai;
   275         int $ai;
   276         $uri = $__uri;
   276         $uri = $__uri;
   277         $localName = $__local;
   277         $localName = $__local;
   278         $qname = $__qname;
   278         $qname = $__qname;
   279         switch($_ngcc_current_state) {
   279         switch($_ngcc_current_state) {
   280         case 2:
       
   281             {
       
   282                 $_ngcc_current_state = 1;
       
   283                 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
       
   284             }
       
   285             break;
       
   286         case 0:
   280         case 0:
   287             {
   281             {
   288                 revertToParentFromEnterAttribute(this, super._cookie, $__uri, $__local, $__qname);
   282                 revertToParentFromEnterAttribute(this, super._cookie, $__uri, $__local, $__qname);
   289             }
   283             }
   290             break;
   284             break;
   294                     $_ngcc_current_state = 13;
   288                     $_ngcc_current_state = 13;
   295                 }
   289                 }
   296                 else {
   290                 else {
   297                     unexpectedEnterAttribute($__qname);
   291                     unexpectedEnterAttribute($__qname);
   298                 }
   292                 }
       
   293             }
       
   294             break;
       
   295         case 2:
       
   296             {
       
   297                 $_ngcc_current_state = 1;
       
   298                 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
   299             }
   299             }
   300             break;
   300             break;
   301         default:
   301         default:
   302             {
   302             {
   303                 unexpectedEnterAttribute($__qname);
   303                 unexpectedEnterAttribute($__qname);
   310         int $ai;
   310         int $ai;
   311         $uri = $__uri;
   311         $uri = $__uri;
   312         $localName = $__local;
   312         $localName = $__local;
   313         $qname = $__qname;
   313         $qname = $__qname;
   314         switch($_ngcc_current_state) {
   314         switch($_ngcc_current_state) {
   315         case 2:
   315         case 0:
   316             {
   316             {
   317                 $_ngcc_current_state = 1;
   317                 revertToParentFromLeaveAttribute(this, super._cookie, $__uri, $__local, $__qname);
   318                 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
       
   319             }
   318             }
   320             break;
   319             break;
   321         case 12:
   320         case 12:
   322             {
   321             {
   323                 if(($__uri.equals("") && $__local.equals("schemaLocation"))) {
   322                 if(($__uri.equals("") && $__local.equals("schemaLocation"))) {
   326                 else {
   325                 else {
   327                     unexpectedLeaveAttribute($__qname);
   326                     unexpectedLeaveAttribute($__qname);
   328                 }
   327                 }
   329             }
   328             }
   330             break;
   329             break;
   331         case 0:
   330         case 2:
   332             {
   331             {
   333                 revertToParentFromLeaveAttribute(this, super._cookie, $__uri, $__local, $__qname);
   332                 $_ngcc_current_state = 1;
       
   333                 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
   334             }
   334             }
   335             break;
   335             break;
   336         default:
   336         default:
   337             {
   337             {
   338                 unexpectedLeaveAttribute($__qname);
   338                 unexpectedLeaveAttribute($__qname);
   342     }
   342     }
   343 
   343 
   344     public void text(String $value) throws SAXException {
   344     public void text(String $value) throws SAXException {
   345         int $ai;
   345         int $ai;
   346         switch($_ngcc_current_state) {
   346         switch($_ngcc_current_state) {
       
   347         case 0:
       
   348             {
       
   349                 revertToParentFromText(this, super._cookie, $value);
       
   350             }
       
   351             break;
       
   352         case 14:
       
   353             {
       
   354                 if(($ai = $runtime.getAttributeIndex("","schemaLocation"))>=0) {
       
   355                     $runtime.consumeAttribute($ai);
       
   356                     $runtime.sendText(super._cookie, $value);
       
   357                 }
       
   358             }
       
   359             break;
   347         case 2:
   360         case 2:
   348             {
   361             {
   349                 $_ngcc_current_state = 1;
   362                 $_ngcc_current_state = 1;
   350                 $runtime.sendText(super._cookie, $value);
   363                 $runtime.sendText(super._cookie, $value);
   351             }
   364             }
   355                 schemaLocation = $value;
   368                 schemaLocation = $value;
   356                 $_ngcc_current_state = 12;
   369                 $_ngcc_current_state = 12;
   357                 action4();
   370                 action4();
   358             }
   371             }
   359             break;
   372             break;
   360         case 0:
       
   361             {
       
   362                 revertToParentFromText(this, super._cookie, $value);
       
   363             }
       
   364             break;
       
   365         case 14:
       
   366             {
       
   367                 if(($ai = $runtime.getAttributeIndex("","schemaLocation"))>=0) {
       
   368                     $runtime.consumeAttribute($ai);
       
   369                     $runtime.sendText(super._cookie, $value);
       
   370                 }
       
   371             }
       
   372             break;
       
   373         }
   373         }
   374     }
   374     }
   375 
   375 
   376     public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException {
   376     public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException {
   377         switch($__cookie__) {
   377         switch($__cookie__) {
   378         case 581:
   378         case 689:
   379             {
   379             {
   380                 $_ngcc_current_state = 1;
   380                 $_ngcc_current_state = 1;
   381             }
   381             }
   382             break;
   382             break;
   383         case 582:
   383         case 690:
   384             {
   384             {
   385                 newSt = ((SimpleTypeImpl)$__result__);
   385                 newSt = ((SimpleTypeImpl)$__result__);
   386                 action3();
   386                 action3();
   387                 $_ngcc_current_state = 1;
   387                 $_ngcc_current_state = 1;
   388             }
   388             }
   389             break;
   389             break;
   390         case 583:
   390         case 691:
   391             {
   391             {
   392                 newCt = ((ComplexTypeImpl)$__result__);
   392                 newCt = ((ComplexTypeImpl)$__result__);
   393                 action2();
   393                 action2();
   394                 $_ngcc_current_state = 1;
   394                 $_ngcc_current_state = 1;
   395             }
   395             }
   396             break;
   396             break;
   397         case 584:
   397         case 692:
   398             {
   398             {
   399                 newGrp = ((ModelGroupDeclImpl)$__result__);
   399                 newGrp = ((ModelGroupDeclImpl)$__result__);
   400                 action1();
   400                 action1();
   401                 $_ngcc_current_state = 1;
   401                 $_ngcc_current_state = 1;
   402             }
   402             }
   403             break;
   403             break;
   404         case 585:
   404         case 693:
   405             {
   405             {
   406                 newAg = ((AttGroupDeclImpl)$__result__);
   406                 newAg = ((AttGroupDeclImpl)$__result__);
   407                 action0();
   407                 action0();
   408                 $_ngcc_current_state = 1;
   408                 $_ngcc_current_state = 1;
   409             }
   409             }
   410             break;
   410             break;
   411         case 576:
   411         case 684:
   412             {
   412             {
   413                 $_ngcc_current_state = 1;
   413                 $_ngcc_current_state = 1;
   414             }
   414             }
   415             break;
   415             break;
   416         case 577:
   416         case 685:
   417             {
   417             {
   418                 newSt = ((SimpleTypeImpl)$__result__);
   418                 newSt = ((SimpleTypeImpl)$__result__);
   419                 action3();
   419                 action3();
   420                 $_ngcc_current_state = 1;
   420                 $_ngcc_current_state = 1;
   421             }
   421             }
   422             break;
   422             break;
   423         case 578:
   423         case 686:
   424             {
   424             {
   425                 newCt = ((ComplexTypeImpl)$__result__);
   425                 newCt = ((ComplexTypeImpl)$__result__);
   426                 action2();
   426                 action2();
   427                 $_ngcc_current_state = 1;
   427                 $_ngcc_current_state = 1;
   428             }
   428             }
   429             break;
   429             break;
   430         case 579:
   430         case 687:
   431             {
   431             {
   432                 newGrp = ((ModelGroupDeclImpl)$__result__);
   432                 newGrp = ((ModelGroupDeclImpl)$__result__);
   433                 action1();
   433                 action1();
   434                 $_ngcc_current_state = 1;
   434                 $_ngcc_current_state = 1;
   435             }
   435             }
   436             break;
   436             break;
   437         case 580:
   437         case 688:
   438             {
   438             {
   439                 newAg = ((AttGroupDeclImpl)$__result__);
   439                 newAg = ((AttGroupDeclImpl)$__result__);
   440                 action0();
   440                 action0();
   441                 $_ngcc_current_state = 1;
   441                 $_ngcc_current_state = 1;
   442             }
   442             }