Tue, 06 Mar 2012 16:09:35 -0800
7150322: Stop using drop source bundles in jaxws
Reviewed-by: darcy, ohrstrom
ohair@286 | 1 | /* |
ohair@286 | 2 | * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
ohair@286 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
ohair@286 | 4 | * |
ohair@286 | 5 | * This code is free software; you can redistribute it and/or modify it |
ohair@286 | 6 | * under the terms of the GNU General Public License version 2 only, as |
ohair@286 | 7 | * published by the Free Software Foundation. Oracle designates this |
ohair@286 | 8 | * particular file as subject to the "Classpath" exception as provided |
ohair@286 | 9 | * by Oracle in the LICENSE file that accompanied this code. |
ohair@286 | 10 | * |
ohair@286 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
ohair@286 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
ohair@286 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
ohair@286 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
ohair@286 | 15 | * accompanied this code). |
ohair@286 | 16 | * |
ohair@286 | 17 | * You should have received a copy of the GNU General Public License version |
ohair@286 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
ohair@286 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
ohair@286 | 20 | * |
ohair@286 | 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ohair@286 | 22 | * or visit www.oracle.com if you need additional information or have any |
ohair@286 | 23 | * questions. |
ohair@286 | 24 | */ |
ohair@286 | 25 | |
ohair@286 | 26 | /* this file is generated by RelaxNGCC */ |
ohair@286 | 27 | package com.sun.xml.internal.xsom.impl.parser.state; |
ohair@286 | 28 | import org.xml.sax.SAXException; |
ohair@286 | 29 | import org.xml.sax.XMLReader; |
ohair@286 | 30 | import org.xml.sax.Attributes; |
ohair@286 | 31 | import com.sun.xml.internal.xsom.impl.parser.NGCCRuntimeEx; |
ohair@286 | 32 | |
ohair@286 | 33 | import com.sun.xml.internal.xsom.*; |
ohair@286 | 34 | import com.sun.xml.internal.xsom.parser.*; |
ohair@286 | 35 | import com.sun.xml.internal.xsom.impl.*; |
ohair@286 | 36 | import com.sun.xml.internal.xsom.impl.parser.*; |
ohair@286 | 37 | import org.xml.sax.Locator; |
ohair@286 | 38 | import org.xml.sax.ContentHandler; |
ohair@286 | 39 | import org.xml.sax.helpers.*; |
ohair@286 | 40 | import java.util.*; |
ohair@286 | 41 | import java.math.BigInteger; |
ohair@286 | 42 | |
ohair@286 | 43 | |
ohair@286 | 44 | |
ohair@286 | 45 | class notation extends NGCCHandler { |
ohair@286 | 46 | private String name; |
ohair@286 | 47 | private String pub; |
ohair@286 | 48 | private ForeignAttributesImpl fa; |
ohair@286 | 49 | private String sys; |
ohair@286 | 50 | private AnnotationImpl ann; |
ohair@286 | 51 | protected final NGCCRuntimeEx $runtime; |
ohair@286 | 52 | private int $_ngcc_current_state; |
ohair@286 | 53 | protected String $uri; |
ohair@286 | 54 | protected String $localName; |
ohair@286 | 55 | protected String $qname; |
ohair@286 | 56 | |
ohair@286 | 57 | public final NGCCRuntime getRuntime() { |
ohair@286 | 58 | return($runtime); |
ohair@286 | 59 | } |
ohair@286 | 60 | |
ohair@286 | 61 | public notation(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie) { |
ohair@286 | 62 | super(source, parent, cookie); |
ohair@286 | 63 | $runtime = runtime; |
ohair@286 | 64 | $_ngcc_current_state = 16; |
ohair@286 | 65 | } |
ohair@286 | 66 | |
ohair@286 | 67 | public notation(NGCCRuntimeEx runtime) { |
ohair@286 | 68 | this(null, runtime, runtime, -1); |
ohair@286 | 69 | } |
ohair@286 | 70 | |
ohair@286 | 71 | private void action0()throws SAXException { |
ohair@286 | 72 | loc = $runtime.copyLocator(); |
ohair@286 | 73 | } |
ohair@286 | 74 | |
ohair@286 | 75 | public void enterElement(String $__uri, String $__local, String $__qname, Attributes $attrs) throws SAXException { |
ohair@286 | 76 | int $ai; |
ohair@286 | 77 | $uri = $__uri; |
ohair@286 | 78 | $localName = $__local; |
ohair@286 | 79 | $qname = $__qname; |
ohair@286 | 80 | switch($_ngcc_current_state) { |
ohair@286 | 81 | case 0: |
ohair@286 | 82 | { |
ohair@286 | 83 | revertToParentFromEnterElement(makeResult(), super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 84 | } |
ohair@286 | 85 | break; |
ohair@286 | 86 | case 15: |
ohair@286 | 87 | { |
ohair@286 | 88 | if((($ai = $runtime.getAttributeIndex("","name"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")))) { |
ohair@286 | 89 | NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 554, null); |
ohair@286 | 90 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 91 | } |
ohair@286 | 92 | else { |
ohair@286 | 93 | unexpectedEnterElement($__qname); |
ohair@286 | 94 | } |
ohair@286 | 95 | } |
ohair@286 | 96 | break; |
ohair@286 | 97 | case 2: |
ohair@286 | 98 | { |
ohair@286 | 99 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) { |
ohair@286 | 100 | NGCCHandler h = new annotation(this, super._source, $runtime, 539, null,AnnotationContext.NOTATION); |
ohair@286 | 101 | spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 102 | } |
ohair@286 | 103 | else { |
ohair@286 | 104 | $_ngcc_current_state = 1; |
ohair@286 | 105 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 106 | } |
ohair@286 | 107 | } |
ohair@286 | 108 | break; |
ohair@286 | 109 | case 4: |
ohair@286 | 110 | { |
ohair@286 | 111 | if(($ai = $runtime.getAttributeIndex("","system"))>=0) { |
ohair@286 | 112 | $runtime.consumeAttribute($ai); |
ohair@286 | 113 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 114 | } |
ohair@286 | 115 | else { |
ohair@286 | 116 | $_ngcc_current_state = 2; |
ohair@286 | 117 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 118 | } |
ohair@286 | 119 | } |
ohair@286 | 120 | break; |
ohair@286 | 121 | case 14: |
ohair@286 | 122 | { |
ohair@286 | 123 | if(($ai = $runtime.getAttributeIndex("","name"))>=0) { |
ohair@286 | 124 | $runtime.consumeAttribute($ai); |
ohair@286 | 125 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 126 | } |
ohair@286 | 127 | else { |
ohair@286 | 128 | unexpectedEnterElement($__qname); |
ohair@286 | 129 | } |
ohair@286 | 130 | } |
ohair@286 | 131 | break; |
ohair@286 | 132 | case 8: |
ohair@286 | 133 | { |
ohair@286 | 134 | if(($ai = $runtime.getAttributeIndex("","public"))>=0) { |
ohair@286 | 135 | $runtime.consumeAttribute($ai); |
ohair@286 | 136 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 137 | } |
ohair@286 | 138 | else { |
ohair@286 | 139 | $_ngcc_current_state = 4; |
ohair@286 | 140 | $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs); |
ohair@286 | 141 | } |
ohair@286 | 142 | } |
ohair@286 | 143 | break; |
ohair@286 | 144 | case 16: |
ohair@286 | 145 | { |
ohair@286 | 146 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("notation"))) { |
ohair@286 | 147 | $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs); |
ohair@286 | 148 | action0(); |
ohair@286 | 149 | $_ngcc_current_state = 15; |
ohair@286 | 150 | } |
ohair@286 | 151 | else { |
ohair@286 | 152 | unexpectedEnterElement($__qname); |
ohair@286 | 153 | } |
ohair@286 | 154 | } |
ohair@286 | 155 | break; |
ohair@286 | 156 | default: |
ohair@286 | 157 | { |
ohair@286 | 158 | unexpectedEnterElement($__qname); |
ohair@286 | 159 | } |
ohair@286 | 160 | break; |
ohair@286 | 161 | } |
ohair@286 | 162 | } |
ohair@286 | 163 | |
ohair@286 | 164 | public void leaveElement(String $__uri, String $__local, String $__qname) throws SAXException { |
ohair@286 | 165 | int $ai; |
ohair@286 | 166 | $uri = $__uri; |
ohair@286 | 167 | $localName = $__local; |
ohair@286 | 168 | $qname = $__qname; |
ohair@286 | 169 | switch($_ngcc_current_state) { |
ohair@286 | 170 | case 0: |
ohair@286 | 171 | { |
ohair@286 | 172 | revertToParentFromLeaveElement(makeResult(), super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 173 | } |
ohair@286 | 174 | break; |
ohair@286 | 175 | case 1: |
ohair@286 | 176 | { |
ohair@286 | 177 | if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("notation"))) { |
ohair@286 | 178 | $runtime.onLeaveElementConsumed($__uri, $__local, $__qname); |
ohair@286 | 179 | $_ngcc_current_state = 0; |
ohair@286 | 180 | } |
ohair@286 | 181 | else { |
ohair@286 | 182 | unexpectedLeaveElement($__qname); |
ohair@286 | 183 | } |
ohair@286 | 184 | } |
ohair@286 | 185 | break; |
ohair@286 | 186 | case 15: |
ohair@286 | 187 | { |
ohair@286 | 188 | if((($ai = $runtime.getAttributeIndex("","name"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("notation")))) { |
ohair@286 | 189 | NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 554, null); |
ohair@286 | 190 | spawnChildFromLeaveElement(h, $__uri, $__local, $__qname); |
ohair@286 | 191 | } |
ohair@286 | 192 | else { |
ohair@286 | 193 | unexpectedLeaveElement($__qname); |
ohair@286 | 194 | } |
ohair@286 | 195 | } |
ohair@286 | 196 | break; |
ohair@286 | 197 | case 2: |
ohair@286 | 198 | { |
ohair@286 | 199 | $_ngcc_current_state = 1; |
ohair@286 | 200 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 201 | } |
ohair@286 | 202 | break; |
ohair@286 | 203 | case 4: |
ohair@286 | 204 | { |
ohair@286 | 205 | if(($ai = $runtime.getAttributeIndex("","system"))>=0) { |
ohair@286 | 206 | $runtime.consumeAttribute($ai); |
ohair@286 | 207 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 208 | } |
ohair@286 | 209 | else { |
ohair@286 | 210 | $_ngcc_current_state = 2; |
ohair@286 | 211 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 212 | } |
ohair@286 | 213 | } |
ohair@286 | 214 | break; |
ohair@286 | 215 | case 14: |
ohair@286 | 216 | { |
ohair@286 | 217 | if(($ai = $runtime.getAttributeIndex("","name"))>=0) { |
ohair@286 | 218 | $runtime.consumeAttribute($ai); |
ohair@286 | 219 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 220 | } |
ohair@286 | 221 | else { |
ohair@286 | 222 | unexpectedLeaveElement($__qname); |
ohair@286 | 223 | } |
ohair@286 | 224 | } |
ohair@286 | 225 | break; |
ohair@286 | 226 | case 8: |
ohair@286 | 227 | { |
ohair@286 | 228 | if(($ai = $runtime.getAttributeIndex("","public"))>=0) { |
ohair@286 | 229 | $runtime.consumeAttribute($ai); |
ohair@286 | 230 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 231 | } |
ohair@286 | 232 | else { |
ohair@286 | 233 | $_ngcc_current_state = 4; |
ohair@286 | 234 | $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 235 | } |
ohair@286 | 236 | } |
ohair@286 | 237 | break; |
ohair@286 | 238 | default: |
ohair@286 | 239 | { |
ohair@286 | 240 | unexpectedLeaveElement($__qname); |
ohair@286 | 241 | } |
ohair@286 | 242 | break; |
ohair@286 | 243 | } |
ohair@286 | 244 | } |
ohair@286 | 245 | |
ohair@286 | 246 | public void enterAttribute(String $__uri, String $__local, String $__qname) throws SAXException { |
ohair@286 | 247 | int $ai; |
ohair@286 | 248 | $uri = $__uri; |
ohair@286 | 249 | $localName = $__local; |
ohair@286 | 250 | $qname = $__qname; |
ohair@286 | 251 | switch($_ngcc_current_state) { |
ohair@286 | 252 | case 0: |
ohair@286 | 253 | { |
ohair@286 | 254 | revertToParentFromEnterAttribute(makeResult(), super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 255 | } |
ohair@286 | 256 | break; |
ohair@286 | 257 | case 15: |
ohair@286 | 258 | { |
ohair@286 | 259 | if(($__uri.equals("") && $__local.equals("name"))) { |
ohair@286 | 260 | NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 554, null); |
ohair@286 | 261 | spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname); |
ohair@286 | 262 | } |
ohair@286 | 263 | else { |
ohair@286 | 264 | unexpectedEnterAttribute($__qname); |
ohair@286 | 265 | } |
ohair@286 | 266 | } |
ohair@286 | 267 | break; |
ohair@286 | 268 | case 2: |
ohair@286 | 269 | { |
ohair@286 | 270 | $_ngcc_current_state = 1; |
ohair@286 | 271 | $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 272 | } |
ohair@286 | 273 | break; |
ohair@286 | 274 | case 4: |
ohair@286 | 275 | { |
ohair@286 | 276 | if(($__uri.equals("") && $__local.equals("system"))) { |
ohair@286 | 277 | $_ngcc_current_state = 6; |
ohair@286 | 278 | } |
ohair@286 | 279 | else { |
ohair@286 | 280 | $_ngcc_current_state = 2; |
ohair@286 | 281 | $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 282 | } |
ohair@286 | 283 | } |
ohair@286 | 284 | break; |
ohair@286 | 285 | case 14: |
ohair@286 | 286 | { |
ohair@286 | 287 | if(($__uri.equals("") && $__local.equals("name"))) { |
ohair@286 | 288 | $_ngcc_current_state = 13; |
ohair@286 | 289 | } |
ohair@286 | 290 | else { |
ohair@286 | 291 | unexpectedEnterAttribute($__qname); |
ohair@286 | 292 | } |
ohair@286 | 293 | } |
ohair@286 | 294 | break; |
ohair@286 | 295 | case 8: |
ohair@286 | 296 | { |
ohair@286 | 297 | if(($__uri.equals("") && $__local.equals("public"))) { |
ohair@286 | 298 | $_ngcc_current_state = 10; |
ohair@286 | 299 | } |
ohair@286 | 300 | else { |
ohair@286 | 301 | $_ngcc_current_state = 4; |
ohair@286 | 302 | $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 303 | } |
ohair@286 | 304 | } |
ohair@286 | 305 | break; |
ohair@286 | 306 | default: |
ohair@286 | 307 | { |
ohair@286 | 308 | unexpectedEnterAttribute($__qname); |
ohair@286 | 309 | } |
ohair@286 | 310 | break; |
ohair@286 | 311 | } |
ohair@286 | 312 | } |
ohair@286 | 313 | |
ohair@286 | 314 | public void leaveAttribute(String $__uri, String $__local, String $__qname) throws SAXException { |
ohair@286 | 315 | int $ai; |
ohair@286 | 316 | $uri = $__uri; |
ohair@286 | 317 | $localName = $__local; |
ohair@286 | 318 | $qname = $__qname; |
ohair@286 | 319 | switch($_ngcc_current_state) { |
ohair@286 | 320 | case 0: |
ohair@286 | 321 | { |
ohair@286 | 322 | revertToParentFromLeaveAttribute(makeResult(), super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 323 | } |
ohair@286 | 324 | break; |
ohair@286 | 325 | case 2: |
ohair@286 | 326 | { |
ohair@286 | 327 | $_ngcc_current_state = 1; |
ohair@286 | 328 | $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 329 | } |
ohair@286 | 330 | break; |
ohair@286 | 331 | case 4: |
ohair@286 | 332 | { |
ohair@286 | 333 | $_ngcc_current_state = 2; |
ohair@286 | 334 | $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 335 | } |
ohair@286 | 336 | break; |
ohair@286 | 337 | case 5: |
ohair@286 | 338 | { |
ohair@286 | 339 | if(($__uri.equals("") && $__local.equals("system"))) { |
ohair@286 | 340 | $_ngcc_current_state = 2; |
ohair@286 | 341 | } |
ohair@286 | 342 | else { |
ohair@286 | 343 | unexpectedLeaveAttribute($__qname); |
ohair@286 | 344 | } |
ohair@286 | 345 | } |
ohair@286 | 346 | break; |
ohair@286 | 347 | case 8: |
ohair@286 | 348 | { |
ohair@286 | 349 | $_ngcc_current_state = 4; |
ohair@286 | 350 | $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname); |
ohair@286 | 351 | } |
ohair@286 | 352 | break; |
ohair@286 | 353 | case 9: |
ohair@286 | 354 | { |
ohair@286 | 355 | if(($__uri.equals("") && $__local.equals("public"))) { |
ohair@286 | 356 | $_ngcc_current_state = 4; |
ohair@286 | 357 | } |
ohair@286 | 358 | else { |
ohair@286 | 359 | unexpectedLeaveAttribute($__qname); |
ohair@286 | 360 | } |
ohair@286 | 361 | } |
ohair@286 | 362 | break; |
ohair@286 | 363 | case 12: |
ohair@286 | 364 | { |
ohair@286 | 365 | if(($__uri.equals("") && $__local.equals("name"))) { |
ohair@286 | 366 | $_ngcc_current_state = 8; |
ohair@286 | 367 | } |
ohair@286 | 368 | else { |
ohair@286 | 369 | unexpectedLeaveAttribute($__qname); |
ohair@286 | 370 | } |
ohair@286 | 371 | } |
ohair@286 | 372 | break; |
ohair@286 | 373 | default: |
ohair@286 | 374 | { |
ohair@286 | 375 | unexpectedLeaveAttribute($__qname); |
ohair@286 | 376 | } |
ohair@286 | 377 | break; |
ohair@286 | 378 | } |
ohair@286 | 379 | } |
ohair@286 | 380 | |
ohair@286 | 381 | public void text(String $value) throws SAXException { |
ohair@286 | 382 | int $ai; |
ohair@286 | 383 | switch($_ngcc_current_state) { |
ohair@286 | 384 | case 0: |
ohair@286 | 385 | { |
ohair@286 | 386 | revertToParentFromText(makeResult(), super._cookie, $value); |
ohair@286 | 387 | } |
ohair@286 | 388 | break; |
ohair@286 | 389 | case 10: |
ohair@286 | 390 | { |
ohair@286 | 391 | pub = $value; |
ohair@286 | 392 | $_ngcc_current_state = 9; |
ohair@286 | 393 | } |
ohair@286 | 394 | break; |
ohair@286 | 395 | case 15: |
ohair@286 | 396 | { |
ohair@286 | 397 | if(($ai = $runtime.getAttributeIndex("","name"))>=0) { |
ohair@286 | 398 | NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 554, null); |
ohair@286 | 399 | spawnChildFromText(h, $value); |
ohair@286 | 400 | } |
ohair@286 | 401 | } |
ohair@286 | 402 | break; |
ohair@286 | 403 | case 2: |
ohair@286 | 404 | { |
ohair@286 | 405 | $_ngcc_current_state = 1; |
ohair@286 | 406 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 407 | } |
ohair@286 | 408 | break; |
ohair@286 | 409 | case 13: |
ohair@286 | 410 | { |
ohair@286 | 411 | name = $value; |
ohair@286 | 412 | $_ngcc_current_state = 12; |
ohair@286 | 413 | } |
ohair@286 | 414 | break; |
ohair@286 | 415 | case 4: |
ohair@286 | 416 | { |
ohair@286 | 417 | if(($ai = $runtime.getAttributeIndex("","system"))>=0) { |
ohair@286 | 418 | $runtime.consumeAttribute($ai); |
ohair@286 | 419 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 420 | } |
ohair@286 | 421 | else { |
ohair@286 | 422 | $_ngcc_current_state = 2; |
ohair@286 | 423 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 424 | } |
ohair@286 | 425 | } |
ohair@286 | 426 | break; |
ohair@286 | 427 | case 6: |
ohair@286 | 428 | { |
ohair@286 | 429 | sys = $value; |
ohair@286 | 430 | $_ngcc_current_state = 5; |
ohair@286 | 431 | } |
ohair@286 | 432 | break; |
ohair@286 | 433 | case 14: |
ohair@286 | 434 | { |
ohair@286 | 435 | if(($ai = $runtime.getAttributeIndex("","name"))>=0) { |
ohair@286 | 436 | $runtime.consumeAttribute($ai); |
ohair@286 | 437 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 438 | } |
ohair@286 | 439 | } |
ohair@286 | 440 | break; |
ohair@286 | 441 | case 8: |
ohair@286 | 442 | { |
ohair@286 | 443 | if(($ai = $runtime.getAttributeIndex("","public"))>=0) { |
ohair@286 | 444 | $runtime.consumeAttribute($ai); |
ohair@286 | 445 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 446 | } |
ohair@286 | 447 | else { |
ohair@286 | 448 | $_ngcc_current_state = 4; |
ohair@286 | 449 | $runtime.sendText(super._cookie, $value); |
ohair@286 | 450 | } |
ohair@286 | 451 | } |
ohair@286 | 452 | break; |
ohair@286 | 453 | } |
ohair@286 | 454 | } |
ohair@286 | 455 | |
ohair@286 | 456 | public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException { |
ohair@286 | 457 | switch($__cookie__) { |
ohair@286 | 458 | case 554: |
ohair@286 | 459 | { |
ohair@286 | 460 | fa = ((ForeignAttributesImpl)$__result__); |
ohair@286 | 461 | $_ngcc_current_state = 14; |
ohair@286 | 462 | } |
ohair@286 | 463 | break; |
ohair@286 | 464 | case 539: |
ohair@286 | 465 | { |
ohair@286 | 466 | ann = ((AnnotationImpl)$__result__); |
ohair@286 | 467 | $_ngcc_current_state = 1; |
ohair@286 | 468 | } |
ohair@286 | 469 | break; |
ohair@286 | 470 | } |
ohair@286 | 471 | } |
ohair@286 | 472 | |
ohair@286 | 473 | public boolean accepted() { |
ohair@286 | 474 | return(($_ngcc_current_state == 0)); |
ohair@286 | 475 | } |
ohair@286 | 476 | |
ohair@286 | 477 | |
ohair@286 | 478 | private Locator loc; |
ohair@286 | 479 | private XSNotation makeResult() { |
ohair@286 | 480 | return new NotationImpl( $runtime.document,ann,loc,fa,name,pub,sys); |
ohair@286 | 481 | } |
ohair@286 | 482 | |
ohair@286 | 483 | } |