public void leaveElement(
     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:
         revertToParentFromLeaveElement(___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;
     }
     super.leaveElement(___uri, ___local, ___qname);
     break;
   }
 }
 public void leaveElement(
     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().leaveElement(___uri, ___local, ___qname);
           return;
         }
         break;
       case 7:
         revertToParentFromLeaveElement(___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().leaveElement(___uri, ___local, ___qname);
           return;
         }
         attIdx = context.getAttribute("", "time");
         if (attIdx >= 0) {
           context.consumeAttribute(attIdx);
           context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
           return;
         }
         spawnHandlerFromLeaveElement(
             (((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 6:
         if (("cos" == ___local)
             && ("http://jaxb.model.scenario.totem.run.montefiore.ulg.ac.be" == ___uri)) {
           context.popAttributes();
           state = 7;
           return;
         }
         break;
     }
     super.leaveElement(___uri, ___local, ___qname);
     break;
   }
 }