< prev index next >

src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/parser/state/qualification.java

Print this page




  55     }
  56 
  57     public qualification(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie) {
  58         super(source, parent, cookie);
  59         $runtime = runtime;
  60         $_ngcc_current_state = 1;
  61     }
  62 
  63     public qualification(NGCCRuntimeEx runtime) {
  64         this(null, runtime, runtime, -1);
  65     }
  66 
  67     public void enterElement(String $__uri, String $__local, String $__qname, Attributes $attrs) throws SAXException {
  68         int $ai;
  69         $uri = $__uri;
  70         $localName = $__local;
  71         $qname = $__qname;
  72         switch($_ngcc_current_state) {
  73         case 0:
  74             {
  75                 revertToParentFromEnterElement(new Boolean(text.trim().equals("qualified")), super._cookie, $__uri, $__local, $__qname, $attrs);
  76             }
  77             break;
  78         default:
  79             {
  80                 unexpectedEnterElement($__qname);
  81             }
  82             break;
  83         }
  84     }
  85 
  86     public void leaveElement(String $__uri, String $__local, String $__qname) throws SAXException {
  87         int $ai;
  88         $uri = $__uri;
  89         $localName = $__local;
  90         $qname = $__qname;
  91         switch($_ngcc_current_state) {
  92         case 0:
  93             {
  94                 revertToParentFromLeaveElement(new Boolean(text.trim().equals("qualified")), super._cookie, $__uri, $__local, $__qname);
  95             }
  96             break;
  97         default:
  98             {
  99                 unexpectedLeaveElement($__qname);
 100             }
 101             break;
 102         }
 103     }
 104 
 105     public void enterAttribute(String $__uri, String $__local, String $__qname) throws SAXException {
 106         int $ai;
 107         $uri = $__uri;
 108         $localName = $__local;
 109         $qname = $__qname;
 110         switch($_ngcc_current_state) {
 111         case 0:
 112             {
 113                 revertToParentFromEnterAttribute(new Boolean(text.trim().equals("qualified")), super._cookie, $__uri, $__local, $__qname);
 114             }
 115             break;
 116         default:
 117             {
 118                 unexpectedEnterAttribute($__qname);
 119             }
 120             break;
 121         }
 122     }
 123 
 124     public void leaveAttribute(String $__uri, String $__local, String $__qname) throws SAXException {
 125         int $ai;
 126         $uri = $__uri;
 127         $localName = $__local;
 128         $qname = $__qname;
 129         switch($_ngcc_current_state) {
 130         case 0:
 131             {
 132                 revertToParentFromLeaveAttribute(new Boolean(text.trim().equals("qualified")), super._cookie, $__uri, $__local, $__qname);
 133             }
 134             break;
 135         default:
 136             {
 137                 unexpectedLeaveAttribute($__qname);
 138             }
 139             break;
 140         }
 141     }
 142 
 143     public void text(String $value) throws SAXException {
 144         int $ai;
 145         switch($_ngcc_current_state) {
 146         case 0:
 147             {
 148                 revertToParentFromText(new Boolean(text.trim().equals("qualified")), super._cookie, $value);
 149             }
 150             break;
 151         case 1:
 152             {
 153                 if($value.equals("qualified")) {
 154                     text = $value;
 155                     $_ngcc_current_state = 0;
 156                 }
 157                 else {
 158                     if($value.equals("unqualified")) {
 159                         text = $value;
 160                         $_ngcc_current_state = 0;
 161                     }
 162                 }
 163             }
 164             break;
 165         }
 166     }
 167 
 168     public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException {


  55     }
  56 
  57     public qualification(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie) {
  58         super(source, parent, cookie);
  59         $runtime = runtime;
  60         $_ngcc_current_state = 1;
  61     }
  62 
  63     public qualification(NGCCRuntimeEx runtime) {
  64         this(null, runtime, runtime, -1);
  65     }
  66 
  67     public void enterElement(String $__uri, String $__local, String $__qname, Attributes $attrs) throws SAXException {
  68         int $ai;
  69         $uri = $__uri;
  70         $localName = $__local;
  71         $qname = $__qname;
  72         switch($_ngcc_current_state) {
  73         case 0:
  74             {
  75                 revertToParentFromEnterElement(text.trim().equals("qualified"), super._cookie, $__uri, $__local, $__qname, $attrs);
  76             }
  77             break;
  78         default:
  79             {
  80                 unexpectedEnterElement($__qname);
  81             }
  82             break;
  83         }
  84     }
  85 
  86     public void leaveElement(String $__uri, String $__local, String $__qname) throws SAXException {
  87         int $ai;
  88         $uri = $__uri;
  89         $localName = $__local;
  90         $qname = $__qname;
  91         switch($_ngcc_current_state) {
  92         case 0:
  93             {
  94                 revertToParentFromLeaveElement(text.trim().equals("qualified"), super._cookie, $__uri, $__local, $__qname);
  95             }
  96             break;
  97         default:
  98             {
  99                 unexpectedLeaveElement($__qname);
 100             }
 101             break;
 102         }
 103     }
 104 
 105     public void enterAttribute(String $__uri, String $__local, String $__qname) throws SAXException {
 106         int $ai;
 107         $uri = $__uri;
 108         $localName = $__local;
 109         $qname = $__qname;
 110         switch($_ngcc_current_state) {
 111         case 0:
 112             {
 113                 revertToParentFromEnterAttribute(text.trim().equals("qualified"), super._cookie, $__uri, $__local, $__qname);
 114             }
 115             break;
 116         default:
 117             {
 118                 unexpectedEnterAttribute($__qname);
 119             }
 120             break;
 121         }
 122     }
 123 
 124     public void leaveAttribute(String $__uri, String $__local, String $__qname) throws SAXException {
 125         int $ai;
 126         $uri = $__uri;
 127         $localName = $__local;
 128         $qname = $__qname;
 129         switch($_ngcc_current_state) {
 130         case 0:
 131             {
 132                 revertToParentFromLeaveAttribute(text.trim().equals("qualified"), super._cookie, $__uri, $__local, $__qname);
 133             }
 134             break;
 135         default:
 136             {
 137                 unexpectedLeaveAttribute($__qname);
 138             }
 139             break;
 140         }
 141     }
 142 
 143     public void text(String $value) throws SAXException {
 144         int $ai;
 145         switch($_ngcc_current_state) {
 146         case 0:
 147             {
 148                 revertToParentFromText(text.trim().equals("qualified"), super._cookie, $value);
 149             }
 150             break;
 151         case 1:
 152             {
 153                 if($value.equals("qualified")) {
 154                     text = $value;
 155                     $_ngcc_current_state = 0;
 156                 }
 157                 else {
 158                     if($value.equals("unqualified")) {
 159                         text = $value;
 160                         $_ngcc_current_state = 0;
 161                     }
 162                 }
 163             }
 164             break;
 165         }
 166     }
 167 
 168     public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException {
< prev index next >