Exemplo n.º 1
0
 public void text(String $value) throws SAXException {
   int $ai;
   switch ($_ngcc_current_state) {
     case 0:
       {
         revertToParentFromText(result, super._cookie, $value);
       }
       break;
     case 8:
       {
         NGCCHandler h = new qname(this, super._source, $runtime, 668);
         spawnChildFromText(h, $value);
       }
       break;
     case 10:
       {
         __text = $value;
         $_ngcc_current_state = 9;
         action3();
       }
       break;
     case 9:
       {
         NGCCHandler h = new qname(this, super._source, $runtime, 667);
         spawnChildFromText(h, $value);
       }
       break;
     case 7:
       {
         if (($ai = $runtime.getAttributeIndex("", "memberTypes")) >= 0) {
           $runtime.consumeAttribute($ai);
           $runtime.sendText(super._cookie, $value);
         } else {
           $_ngcc_current_state = 6;
           $runtime.sendText(super._cookie, $value);
         }
       }
       break;
     case 4:
       {
         $_ngcc_current_state = 2;
         $runtime.sendText(super._cookie, $value);
       }
       break;
     case 2:
       {
         $_ngcc_current_state = 1;
         $runtime.sendText(super._cookie, $value);
       }
       break;
   }
 }
Exemplo n.º 2
0
 public void leaveElement(String $__uri, String $__local, String $__qname) throws SAXException {
   int $ai;
   $uri = $__uri;
   $localName = $__local;
   $qname = $__qname;
   switch ($_ngcc_current_state) {
     case 6:
       {
         if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("union"))) {
           NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 665, fa);
           spawnChildFromLeaveElement(h, $__uri, $__local, $__qname);
         } else {
           unexpectedLeaveElement($__qname);
         }
       }
       break;
     case 0:
       {
         revertToParentFromLeaveElement(result, super._cookie, $__uri, $__local, $__qname);
       }
       break;
     case 1:
       {
         if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("union"))) {
           $runtime.onLeaveElementConsumed($__uri, $__local, $__qname);
           $_ngcc_current_state = 0;
           action0();
         } else {
           unexpectedLeaveElement($__qname);
         }
       }
       break;
     case 7:
       {
         if (($ai = $runtime.getAttributeIndex("", "memberTypes")) >= 0) {
           $runtime.consumeAttribute($ai);
           $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
         } else {
           $_ngcc_current_state = 6;
           $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
         }
       }
       break;
     case 4:
       {
         $_ngcc_current_state = 2;
         $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
       }
       break;
     case 2:
       {
         $_ngcc_current_state = 1;
         $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
       }
       break;
     default:
       {
         unexpectedLeaveElement($__qname);
       }
       break;
   }
 }
Exemplo n.º 3
0
 public void text(String $value) throws SAXException {
   int $ai;
   switch ($_ngcc_current_state) {
     case 31:
       {
         defaultValue = $value;
         $_ngcc_current_state = 30;
       }
       break;
     case 1:
       {
         $_ngcc_current_state = 0;
         $runtime.sendText(super._cookie, $value);
       }
       break;
     case 8:
       {
         action2();
         $_ngcc_current_state = 7;
         $runtime.sendText(super._cookie, $value);
       }
       break;
     case 3:
       {
         if (($ai = $runtime.getAttributeIndex("", "processContents")) >= 0) {
           NGCCHandler h = new wildcardBody(this, super._source, $runtime, 290, wloc);
           spawnChildFromText(h, $value);
         } else {
           if (($ai = $runtime.getAttributeIndex("", "namespace")) >= 0) {
             NGCCHandler h = new wildcardBody(this, super._source, $runtime, 290, wloc);
             spawnChildFromText(h, $value);
           }
         }
       }
       break;
     case 17:
       {
         if (($ai = $runtime.getAttributeIndex("", "form")) >= 0) {
           NGCCHandler h =
               new attributeDeclBody(
                   this, super._source, $runtime, 315, locator, true, defaultValue, fixedValue);
           spawnChildFromText(h, $value);
         } else {
           if (($ai = $runtime.getAttributeIndex("", "name")) >= 0) {
             NGCCHandler h =
                 new attributeDeclBody(
                     this, super._source, $runtime, 315, locator, true, defaultValue, fixedValue);
             spawnChildFromText(h, $value);
           } else {
             if (($ai = $runtime.getAttributeIndex("", "ref")) >= 0) {
               $runtime.consumeAttribute($ai);
               $runtime.sendText(super._cookie, $value);
             }
           }
         }
       }
       break;
     case 33:
       {
         if (($ai = $runtime.getAttributeIndex("", "use")) >= 0) {
           $runtime.consumeAttribute($ai);
           $runtime.sendText(super._cookie, $value);
         } else {
           $_ngcc_current_state = 29;
           $runtime.sendText(super._cookie, $value);
         }
       }
       break;
     case 25:
       {
         if (($ai = $runtime.getAttributeIndex("", "fixed")) >= 0) {
           $runtime.consumeAttribute($ai);
           $runtime.sendText(super._cookie, $value);
         } else {
           $_ngcc_current_state = 17;
           $runtime.sendText(super._cookie, $value);
         }
       }
       break;
     case 22:
       {
         NGCCHandler h = new qname(this, super._source, $runtime, 311);
         spawnChildFromText(h, $value);
       }
       break;
     case 29:
       {
         if (($ai = $runtime.getAttributeIndex("", "default")) >= 0) {
           $runtime.consumeAttribute($ai);
           $runtime.sendText(super._cookie, $value);
         } else {
           $_ngcc_current_state = 25;
           $runtime.sendText(super._cookie, $value);
         }
       }
       break;
     case 12:
       {
         NGCCHandler h = new qname(this, super._source, $runtime, 300);
         spawnChildFromText(h, $value);
       }
       break;
     case 35:
       {
         use = $value;
         $_ngcc_current_state = 34;
       }
       break;
     case 27:
       {
         fixedValue = $value;
         $_ngcc_current_state = 26;
       }
       break;
     case 9:
       {
         $_ngcc_current_state = 8;
         $runtime.sendText(super._cookie, $value);
       }
       break;
     case 16:
       {
         action4();
         $_ngcc_current_state = 15;
         $runtime.sendText(super._cookie, $value);
       }
       break;
     case 5:
       {
         $_ngcc_current_state = 1;
         $runtime.sendText(super._cookie, $value);
       }
       break;
     case 13:
       {
         if (($ai = $runtime.getAttributeIndex("", "ref")) >= 0) {
           $runtime.consumeAttribute($ai);
           $runtime.sendText(super._cookie, $value);
         }
       }
       break;
     case 19:
       {
         $_ngcc_current_state = 18;
         $runtime.sendText(super._cookie, $value);
       }
       break;
     case 0:
       {
         revertToParentFromText(this, super._cookie, $value);
       }
       break;
   }
 }
Exemplo n.º 4
0
 public void enterElement(String $__uri, String $__local, String $__qname, Attributes $attrs)
     throws SAXException {
   int $ai;
   $uri = $__uri;
   $localName = $__local;
   $qname = $__qname;
   switch ($_ngcc_current_state) {
     case 6:
       {
         if ((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))
             || ($__uri.equals("http://www.w3.org/2001/XMLSchema")
                 && $__local.equals("simpleType")))) {
           NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 665, fa);
           spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
         } else {
           unexpectedEnterElement($__qname);
         }
       }
       break;
     case 0:
       {
         revertToParentFromEnterElement(result, super._cookie, $__uri, $__local, $__qname, $attrs);
       }
       break;
     case 12:
       {
         if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("union"))) {
           $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs);
           action4();
           $_ngcc_current_state = 7;
         } else {
           unexpectedEnterElement($__qname);
         }
       }
       break;
     case 1:
       {
         if (($__uri.equals("http://www.w3.org/2001/XMLSchema")
             && $__local.equals("simpleType"))) {
           NGCCHandler h = new simpleType(this, super._source, $runtime, 659);
           spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
         } else {
           unexpectedEnterElement($__qname);
         }
       }
       break;
     case 7:
       {
         if (($ai = $runtime.getAttributeIndex("", "memberTypes")) >= 0) {
           $runtime.consumeAttribute($ai);
           $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
         } else {
           $_ngcc_current_state = 6;
           $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
         }
       }
       break;
     case 4:
       {
         if (($__uri.equals("http://www.w3.org/2001/XMLSchema")
             && $__local.equals("annotation"))) {
           NGCCHandler h =
               new annotation(
                   this,
                   super._source,
                   $runtime,
                   663,
                   annotation,
                   AnnotationContext.SIMPLETYPE_DECL);
           spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
         } else {
           $_ngcc_current_state = 2;
           $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
         }
       }
       break;
     case 2:
       {
         if (($__uri.equals("http://www.w3.org/2001/XMLSchema")
             && $__local.equals("simpleType"))) {
           NGCCHandler h = new simpleType(this, super._source, $runtime, 660);
           spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
         } else {
           $_ngcc_current_state = 1;
           $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
         }
       }
       break;
     default:
       {
         unexpectedEnterElement($__qname);
       }
       break;
   }
 }
Exemplo n.º 5
0
 public void leaveElement(String $__uri, String $__local, String $__qname) throws SAXException {
   int $ai;
   $uri = $__uri;
   $localName = $__local;
   $qname = $__qname;
   switch ($_ngcc_current_state) {
     case 1:
       {
         $_ngcc_current_state = 0;
         $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
       }
       break;
     case 2:
       {
         if (($__uri.equals("http://www.w3.org/2001/XMLSchema")
             && $__local.equals("anyAttribute"))) {
           $runtime.onLeaveElementConsumed($__uri, $__local, $__qname);
           $_ngcc_current_state = 0;
         } else {
           unexpectedLeaveElement($__qname);
         }
       }
       break;
     case 8:
       {
         action2();
         $_ngcc_current_state = 7;
         $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
       }
       break;
     case 3:
       {
         if (((($ai = $runtime.getAttributeIndex("", "namespace")) >= 0
                 && ($__uri.equals("http://www.w3.org/2001/XMLSchema")
                     && $__local.equals("anyAttribute")))
             || ((($ai = $runtime.getAttributeIndex("", "processContents")) >= 0
                     && ($__uri.equals("http://www.w3.org/2001/XMLSchema")
                         && $__local.equals("anyAttribute")))
                 || ($__uri.equals("http://www.w3.org/2001/XMLSchema")
                     && $__local.equals("anyAttribute"))))) {
           NGCCHandler h = new wildcardBody(this, super._source, $runtime, 290, wloc);
           spawnChildFromLeaveElement(h, $__uri, $__local, $__qname);
         } else {
           unexpectedLeaveElement($__qname);
         }
       }
       break;
     case 17:
       {
         if (((($ai = $runtime.getAttributeIndex("", "name")) >= 0
                 && ($__uri.equals("http://www.w3.org/2001/XMLSchema")
                     && $__local.equals("attribute")))
             || (($ai = $runtime.getAttributeIndex("", "form")) >= 0
                 && ($__uri.equals("http://www.w3.org/2001/XMLSchema")
                     && $__local.equals("attribute"))))) {
           NGCCHandler h =
               new attributeDeclBody(
                   this, super._source, $runtime, 315, locator, true, defaultValue, fixedValue);
           spawnChildFromLeaveElement(h, $__uri, $__local, $__qname);
         } else {
           if (($ai = $runtime.getAttributeIndex("", "ref")) >= 0) {
             $runtime.consumeAttribute($ai);
             $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
           } else {
             unexpectedLeaveElement($__qname);
           }
         }
       }
       break;
     case 33:
       {
         if (($ai = $runtime.getAttributeIndex("", "use")) >= 0) {
           $runtime.consumeAttribute($ai);
           $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
         } else {
           $_ngcc_current_state = 29;
           $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
         }
       }
       break;
     case 15:
       {
         if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))) {
           $runtime.onLeaveElementConsumed($__uri, $__local, $__qname);
           $_ngcc_current_state = 1;
         } else {
           unexpectedLeaveElement($__qname);
         }
       }
       break;
     case 25:
       {
         if (($ai = $runtime.getAttributeIndex("", "fixed")) >= 0) {
           $runtime.consumeAttribute($ai);
           $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
         } else {
           $_ngcc_current_state = 17;
           $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
         }
       }
       break;
     case 29:
       {
         if (($ai = $runtime.getAttributeIndex("", "default")) >= 0) {
           $runtime.consumeAttribute($ai);
           $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
         } else {
           $_ngcc_current_state = 25;
           $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
         }
       }
       break;
     case 9:
       {
         $_ngcc_current_state = 8;
         $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
       }
       break;
     case 16:
       {
         action4();
         $_ngcc_current_state = 15;
         $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
       }
       break;
     case 5:
       {
         $_ngcc_current_state = 1;
         $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
       }
       break;
     case 13:
       {
         if (($ai = $runtime.getAttributeIndex("", "ref")) >= 0) {
           $runtime.consumeAttribute($ai);
           $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
         } else {
           unexpectedLeaveElement($__qname);
         }
       }
       break;
     case 7:
       {
         if (($__uri.equals("http://www.w3.org/2001/XMLSchema")
             && $__local.equals("attributeGroup"))) {
           $runtime.onLeaveElementConsumed($__uri, $__local, $__qname);
           $_ngcc_current_state = 1;
         } else {
           unexpectedLeaveElement($__qname);
         }
       }
       break;
     case 19:
       {
         $_ngcc_current_state = 18;
         $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
       }
       break;
     case 0:
       {
         revertToParentFromLeaveElement(this, super._cookie, $__uri, $__local, $__qname);
       }
       break;
     case 18:
       {
         if (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))) {
           NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 306, null);
           spawnChildFromLeaveElement(h, $__uri, $__local, $__qname);
         } else {
           unexpectedLeaveElement($__qname);
         }
       }
       break;
     default:
       {
         unexpectedLeaveElement($__qname);
       }
       break;
   }
 }