コード例 #1
0
 public void leaveAttribute(
     java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
     throws org.xml.sax.SAXException {
   int attIdx;
   outer:
   while (true) {
     switch (state) {
       case 4:
         revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
         return;
       case 0:
         attIdx = context.getAttribute("", "name");
         if (attIdx >= 0) {
           final java.lang.String v = context.eatAttribute(attIdx);
           eatText1(v);
           state = 3;
           continue outer;
         }
         break;
       case 2:
         if (("name" == ___local) && ("" == ___uri)) {
           state = 3;
           return;
         }
         break;
     }
     super.leaveAttribute(___uri, ___local, ___qname);
     break;
   }
 }
コード例 #2
0
 public void enterElement(
     java.lang.String ___uri,
     java.lang.String ___local,
     java.lang.String ___qname,
     org.xml.sax.Attributes __atts)
     throws org.xml.sax.SAXException {
   int attIdx;
   outer:
   while (true) {
     switch (state) {
       case 4:
         revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
         return;
       case 0:
         attIdx = context.getAttribute("", "name");
         if (attIdx >= 0) {
           final java.lang.String v = context.eatAttribute(attIdx);
           eatText1(v);
           state = 3;
           continue outer;
         }
         break;
     }
     super.enterElement(___uri, ___local, ___qname, __atts);
     break;
   }
 }
コード例 #3
0
 public void enterAttribute(
     java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
     throws org.xml.sax.SAXException {
   int attIdx;
   outer:
   while (true) {
     switch (state) {
       case 4:
         revertToParentFromEnterAttribute(___uri, ___local, ___qname);
         return;
       case 0:
         if (("name" == ___local) && ("" == ___uri)) {
           state = 1;
           return;
         }
         break;
     }
     super.enterAttribute(___uri, ___local, ___qname);
     break;
   }
 }
コード例 #4
0
 public void leaveAttribute(
     java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
     throws org.xml.sax.SAXException {
   int attIdx;
   outer:
   while (true) {
     switch (state) {
       case 5:
         attIdx = context.getAttribute("", "name");
         if (attIdx >= 0) {
           context.consumeAttribute(attIdx);
           context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
           return;
         }
         break;
       case 7:
         revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
         return;
       case 0:
         attIdx = context.getAttribute("", "llcId");
         if (attIdx >= 0) {
           final java.lang.String v = context.eatAttribute(attIdx);
           eatText1(v);
           state = 3;
           continue outer;
         }
         state = 3;
         continue outer;
       case 3:
         attIdx = context.getAttribute("", "ASID");
         if (attIdx >= 0) {
           context.consumeAttribute(attIdx);
           context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
           return;
         }
         attIdx = context.getAttribute("", "time");
         if (attIdx >= 0) {
           context.consumeAttribute(attIdx);
           context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
           return;
         }
         spawnHandlerFromLeaveAttribute(
             (((be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ASEventTypeImpl)
                 be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.MplsCosRoutingTypeImpl
                     .this)
             .new Unmarshaller(context)),
             4,
             ___uri,
             ___local,
             ___qname);
         return;
       case 2:
         if (("llcId" == ___local) && ("" == ___uri)) {
           state = 3;
           return;
         }
         break;
     }
     super.leaveAttribute(___uri, ___local, ___qname);
     break;
   }
 }
コード例 #5
0
 public void enterAttribute(
     java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
     throws org.xml.sax.SAXException {
   int attIdx;
   outer:
   while (true) {
     switch (state) {
       case 5:
         if (("name" == ___local) && ("" == ___uri)) {
           _getCos()
               .add(
                   ((be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl
                           .MplsCosRoutingTypeImpl.CosTypeImpl)
                       spawnChildFromEnterAttribute(
                           (be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl
                               .MplsCosRoutingTypeImpl.CosTypeImpl.class),
                           6,
                           ___uri,
                           ___local,
                           ___qname)));
           return;
         }
         break;
       case 7:
         revertToParentFromEnterAttribute(___uri, ___local, ___qname);
         return;
       case 0:
         if (("llcId" == ___local) && ("" == ___uri)) {
           state = 1;
           return;
         }
         state = 3;
         continue outer;
       case 3:
         if (("ASID" == ___local) && ("" == ___uri)) {
           spawnHandlerFromEnterAttribute(
               (((be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ASEventTypeImpl)
                   be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.MplsCosRoutingTypeImpl
                       .this)
               .new Unmarshaller(context)),
               4,
               ___uri,
               ___local,
               ___qname);
           return;
         }
         if (("time" == ___local) && ("" == ___uri)) {
           spawnHandlerFromEnterAttribute(
               (((be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ASEventTypeImpl)
                   be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.MplsCosRoutingTypeImpl
                       .this)
               .new Unmarshaller(context)),
               4,
               ___uri,
               ___local,
               ___qname);
           return;
         }
         spawnHandlerFromEnterAttribute(
             (((be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.ASEventTypeImpl)
                 be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.MplsCosRoutingTypeImpl
                     .this)
             .new Unmarshaller(context)),
             4,
             ___uri,
             ___local,
             ___qname);
         return;
     }
     super.enterAttribute(___uri, ___local, ___qname);
     break;
   }
 }