Ejemplo n.º 1
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 0:
         if (("is_a" == ___local) && ("" == ___uri)) {
           context.pushAttributes(__atts, true);
           state = 1;
           return;
         }
         break;
       case 3:
         revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
         return;
     }
     super.enterElement(___uri, ___local, ___qname, __atts);
     break;
   }
 }
Ejemplo n.º 2
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 3:
         revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
         return;
     }
     super.leaveAttribute(___uri, ___local, ___qname);
     break;
   }
 }
Ejemplo n.º 3
0
 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 2:
         if (("relationship" == ___local) && ("" == ___uri)) {
           context.popAttributes();
           state = 3;
           return;
         }
         break;
       case 3:
         revertToParentFromLeaveElement(___uri, ___local, ___qname);
         return;
     }
     super.leaveElement(___uri, ___local, ___qname);
     break;
   }
 }
Ejemplo n.º 4
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 2:
         if (("type" == ___local) && ("" == ___uri)) {
           _getContent()
               .add(
                   ((generated.impl.TypeImpl)
                       spawnChildFromEnterElement(
                           (generated.impl.TypeImpl.class),
                           2,
                           ___uri,
                           ___local,
                           ___qname,
                           __atts)));
           return;
         }
         if (("to" == ___local) && ("" == ___uri)) {
           _getContent()
               .add(
                   ((generated.impl.ToImpl)
                       spawnChildFromEnterElement(
                           (generated.impl.ToImpl.class),
                           2,
                           ___uri,
                           ___local,
                           ___qname,
                           __atts)));
           return;
         }
         break;
       case 3:
         revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
         return;
       case 1:
         if (("type" == ___local) && ("" == ___uri)) {
           _getContent()
               .add(
                   ((generated.impl.TypeImpl)
                       spawnChildFromEnterElement(
                           (generated.impl.TypeImpl.class),
                           2,
                           ___uri,
                           ___local,
                           ___qname,
                           __atts)));
           return;
         }
         if (("to" == ___local) && ("" == ___uri)) {
           _getContent()
               .add(
                   ((generated.impl.ToImpl)
                       spawnChildFromEnterElement(
                           (generated.impl.ToImpl.class),
                           2,
                           ___uri,
                           ___local,
                           ___qname,
                           __atts)));
           return;
         }
         break;
       case 0:
         if (("relationship" == ___local) && ("" == ___uri)) {
           context.pushAttributes(__atts, false);
           state = 1;
           return;
         }
         break;
     }
     super.enterElement(___uri, ___local, ___qname, __atts);
     break;
   }
 }