325N/A/*
325N/A * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
325N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
325N/A *
325N/A * This code is free software; you can redistribute it and/or modify it
325N/A * under the terms of the GNU General Public License version 2 only, as
325N/A * published by the Free Software Foundation. Oracle designates this
325N/A * particular file as subject to the "Classpath" exception as provided
325N/A * by Oracle in the LICENSE file that accompanied this code.
325N/A *
325N/A * This code is distributed in the hope that it will be useful, but WITHOUT
325N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
325N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
325N/A * version 2 for more details (a copy is included in the LICENSE file that
325N/A * accompanied this code).
325N/A *
325N/A * You should have received a copy of the GNU General Public License version
325N/A * 2 along with this work; if not, write to the Free Software Foundation,
325N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
325N/A *
325N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
325N/A * or visit www.oracle.com if you need additional information or have any
325N/A * questions.
325N/A */
325N/A
325N/A/* this file is generated by RelaxNGCC */
325N/Apackage com.sun.xml.internal.xsom.impl.parser.state;
325N/Aimport org.xml.sax.SAXException;
325N/Aimport org.xml.sax.XMLReader;
325N/Aimport org.xml.sax.Attributes;
325N/Aimport com.sun.xml.internal.xsom.impl.parser.NGCCRuntimeEx;
325N/A
325N/A import com.sun.xml.internal.xsom.*;
325N/A import com.sun.xml.internal.xsom.parser.*;
325N/A import com.sun.xml.internal.xsom.impl.*;
325N/A import com.sun.xml.internal.xsom.impl.parser.*;
325N/A import org.xml.sax.Locator;
325N/A import org.xml.sax.ContentHandler;
325N/A import org.xml.sax.helpers.*;
325N/A import java.util.*;
325N/A import java.math.BigInteger;
325N/A
325N/A
325N/A
325N/Aclass attributeUses extends NGCCHandler {
325N/A private String use;
325N/A private AttributesHolder owner;
325N/A private ForeignAttributesImpl fa;
325N/A private WildcardImpl wildcard;
325N/A private AnnotationImpl annotation;
325N/A private UName attDeclName;
325N/A private AttributeDeclImpl anonymousDecl;
325N/A private String defaultValue;
325N/A private String fixedValue;
325N/A private UName groupName;
325N/A protected final NGCCRuntimeEx $runtime;
325N/A private int $_ngcc_current_state;
325N/A protected String $uri;
325N/A protected String $localName;
325N/A protected String $qname;
325N/A
325N/A public final NGCCRuntime getRuntime() {
325N/A return($runtime);
325N/A }
325N/A
325N/A public attributeUses(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, AttributesHolder _owner) {
325N/A super(source, parent, cookie);
325N/A $runtime = runtime;
325N/A this.owner = _owner;
325N/A $_ngcc_current_state = 5;
325N/A }
325N/A
325N/A public attributeUses(NGCCRuntimeEx runtime, AttributesHolder _owner) {
325N/A this(null, runtime, runtime, -1, _owner);
325N/A }
325N/A
325N/A private void action0()throws SAXException {
325N/A
325N/A owner.setWildcard(wildcard);
325N/A
325N/A}
325N/A
325N/A private void action1()throws SAXException {
325N/A wloc = $runtime.copyLocator();
325N/A}
325N/A
325N/A private void action2()throws SAXException {
325N/A
325N/A owner.addAttGroup(new DelayedRef.AttGroup(
325N/A $runtime, locator, $runtime.currentSchema, groupName ));
325N/A
325N/A}
325N/A
325N/A private void action3()throws SAXException {
325N/A locator=$runtime.copyLocator();
325N/A}
325N/A
325N/A private void action4()throws SAXException {
325N/A
325N/A if("prohibited".equals(use))
325N/A owner.addProhibitedAttribute(attDeclName);
325N/A else
325N/A owner.addAttributeUse(attDeclName,
325N/A new AttributeUseImpl( $runtime.document, annotation,locator,fa,decl,
325N/A $runtime.createXmlString(defaultValue),
325N/A $runtime.createXmlString(fixedValue),
325N/A "required".equals(use)));
325N/A
325N/A}
325N/A
325N/A private void action5()throws SAXException {
325N/A
325N/A decl = new DelayedRef.Attribute(
325N/A $runtime, locator, $runtime.currentSchema, attDeclName );
325N/A
325N/A}
325N/A
325N/A private void action6()throws SAXException {
325N/A
325N/A decl = anonymousDecl;
325N/A attDeclName = new UName(
325N/A anonymousDecl.getTargetNamespace(),
325N/A anonymousDecl.getName());
325N/A defaultValue = null;
325N/A fixedValue = null;
325N/A
325N/A}
325N/A
325N/A private void action7()throws SAXException {
325N/A
325N/A locator=$runtime.copyLocator();
325N/A use=null;
325N/A defaultValue=null;
325N/A fixedValue=null;
325N/A decl=null;
325N/A annotation=null;
325N/A
325N/A}
325N/A
325N/A public void enterElement(String $__uri, String $__local, String $__qname, Attributes $attrs) throws SAXException {
325N/A int $ai;
325N/A $uri = $__uri;
325N/A $localName = $__local;
325N/A $qname = $__qname;
325N/A switch($_ngcc_current_state) {
325N/A case 29:
325N/A {
325N/A if(($ai = $runtime.getAttributeIndex("","default"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 25;
325N/A $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A }
325N/A break;
325N/A case 3:
325N/A {
325N/A if((($ai = $runtime.getAttributeIndex("","processContents"))>=0 || (($ai = $runtime.getAttributeIndex("","namespace"))>=0 || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))))) {
325N/A NGCCHandler h = new wildcardBody(this, super._source, $runtime, 448, wloc);
325N/A spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A else {
325N/A unexpectedEnterElement($__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 13:
325N/A {
325N/A if(($ai = $runtime.getAttributeIndex("","ref"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A else {
325N/A unexpectedEnterElement($__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 9:
325N/A {
325N/A if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) {
325N/A NGCCHandler h = new annotation(this, super._source, $runtime, 455, null,AnnotationContext.ATTRIBUTE_USE);
325N/A spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 8;
325N/A $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A }
325N/A break;
325N/A case 25:
325N/A {
325N/A if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 17;
325N/A $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A }
325N/A break;
325N/A case 5:
325N/A {
325N/A if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))) {
325N/A $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs);
325N/A action7();
325N/A $_ngcc_current_state = 33;
325N/A }
325N/A else {
325N/A if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup"))) {
325N/A $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs);
325N/A action3();
325N/A $_ngcc_current_state = 13;
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 1;
325N/A $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A }
325N/A }
325N/A break;
325N/A case 33:
325N/A {
325N/A if(($ai = $runtime.getAttributeIndex("","use"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 29;
325N/A $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A }
325N/A break;
325N/A case 16:
325N/A {
325N/A action4();
325N/A $_ngcc_current_state = 15;
325N/A $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A break;
325N/A case 19:
325N/A {
325N/A if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) {
325N/A NGCCHandler h = new annotation(this, super._source, $runtime, 466, null,AnnotationContext.ATTRIBUTE_USE);
325N/A spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 18;
325N/A $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A }
325N/A break;
325N/A case 17:
325N/A {
325N/A if((($ai = $runtime.getAttributeIndex("","form"))>=0 || ($ai = $runtime.getAttributeIndex("","name"))>=0)) {
325N/A NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 473, locator,true,defaultValue,fixedValue);
325N/A spawnChildFromEnterElement(h, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A else {
325N/A if(($ai = $runtime.getAttributeIndex("","ref"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A else {
325N/A unexpectedEnterElement($__qname);
325N/A }
325N/A }
325N/A }
325N/A break;
325N/A case 8:
325N/A {
325N/A action2();
325N/A $_ngcc_current_state = 7;
325N/A $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A break;
325N/A case 1:
325N/A {
325N/A if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))) {
325N/A $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs);
325N/A action7();
325N/A $_ngcc_current_state = 33;
325N/A }
325N/A else {
325N/A if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup"))) {
325N/A $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs);
325N/A action3();
325N/A $_ngcc_current_state = 13;
325N/A }
325N/A else {
325N/A if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute"))) {
325N/A $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs);
325N/A action1();
325N/A $_ngcc_current_state = 3;
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 0;
325N/A $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A }
325N/A }
325N/A }
325N/A break;
325N/A case 0:
325N/A {
325N/A revertToParentFromEnterElement(this, super._cookie, $__uri, $__local, $__qname, $attrs);
325N/A }
325N/A break;
325N/A default:
325N/A {
325N/A unexpectedEnterElement($__qname);
325N/A }
325N/A break;
325N/A }
325N/A }
325N/A
325N/A public void leaveElement(String $__uri, String $__local, String $__qname) throws SAXException {
325N/A int $ai;
325N/A $uri = $__uri;
325N/A $localName = $__local;
325N/A $qname = $__qname;
325N/A switch($_ngcc_current_state) {
325N/A case 29:
325N/A {
325N/A if(($ai = $runtime.getAttributeIndex("","default"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 25;
325N/A $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 3:
325N/A {
325N/A if(((($ai = $runtime.getAttributeIndex("","processContents"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute"))) || ((($ai = $runtime.getAttributeIndex("","namespace"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute"))))) {
325N/A NGCCHandler h = new wildcardBody(this, super._source, $runtime, 448, wloc);
325N/A spawnChildFromLeaveElement(h, $__uri, $__local, $__qname);
325N/A }
325N/A else {
325N/A unexpectedLeaveElement($__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 13:
325N/A {
325N/A if(($ai = $runtime.getAttributeIndex("","ref"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A else {
325N/A unexpectedLeaveElement($__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 9:
325N/A {
325N/A $_ngcc_current_state = 8;
325N/A $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 25:
325N/A {
325N/A if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 17;
325N/A $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 5:
325N/A {
325N/A $_ngcc_current_state = 1;
325N/A $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 7:
325N/A {
325N/A if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup"))) {
325N/A $runtime.onLeaveElementConsumed($__uri, $__local, $__qname);
325N/A $_ngcc_current_state = 1;
325N/A }
325N/A else {
325N/A unexpectedLeaveElement($__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 33:
325N/A {
325N/A if(($ai = $runtime.getAttributeIndex("","use"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 29;
325N/A $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 15:
325N/A {
325N/A if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))) {
325N/A $runtime.onLeaveElementConsumed($__uri, $__local, $__qname);
325N/A $_ngcc_current_state = 1;
325N/A }
325N/A else {
325N/A unexpectedLeaveElement($__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 16:
325N/A {
325N/A action4();
325N/A $_ngcc_current_state = 15;
325N/A $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 19:
325N/A {
325N/A $_ngcc_current_state = 18;
325N/A $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 17:
325N/A {
325N/A if(((($ai = $runtime.getAttributeIndex("","form"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))) || (($ai = $runtime.getAttributeIndex("","name"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))))) {
325N/A NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 473, locator,true,defaultValue,fixedValue);
325N/A spawnChildFromLeaveElement(h, $__uri, $__local, $__qname);
325N/A }
325N/A else {
325N/A if(($ai = $runtime.getAttributeIndex("","ref"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A else {
325N/A unexpectedLeaveElement($__qname);
325N/A }
325N/A }
325N/A }
325N/A break;
325N/A case 8:
325N/A {
325N/A action2();
325N/A $_ngcc_current_state = 7;
325N/A $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 1:
325N/A {
325N/A $_ngcc_current_state = 0;
325N/A $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 2:
325N/A {
325N/A if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("anyAttribute"))) {
325N/A $runtime.onLeaveElementConsumed($__uri, $__local, $__qname);
325N/A $_ngcc_current_state = 0;
325N/A }
325N/A else {
325N/A unexpectedLeaveElement($__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 0:
325N/A {
325N/A revertToParentFromLeaveElement(this, super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 18:
325N/A {
325N/A if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))) {
325N/A NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 464, null);
325N/A spawnChildFromLeaveElement(h, $__uri, $__local, $__qname);
325N/A }
325N/A else {
325N/A unexpectedLeaveElement($__qname);
325N/A }
325N/A }
325N/A break;
325N/A default:
325N/A {
325N/A unexpectedLeaveElement($__qname);
325N/A }
325N/A break;
325N/A }
325N/A }
325N/A
325N/A public void enterAttribute(String $__uri, String $__local, String $__qname) throws SAXException {
325N/A int $ai;
325N/A $uri = $__uri;
325N/A $localName = $__local;
325N/A $qname = $__qname;
325N/A switch($_ngcc_current_state) {
325N/A case 29:
325N/A {
325N/A if(($__uri.equals("") && $__local.equals("default"))) {
325N/A $_ngcc_current_state = 31;
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 25;
325N/A $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 3:
325N/A {
325N/A if((($__uri.equals("") && $__local.equals("processContents")) || ($__uri.equals("") && $__local.equals("namespace")))) {
325N/A NGCCHandler h = new wildcardBody(this, super._source, $runtime, 448, wloc);
325N/A spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname);
325N/A }
325N/A else {
325N/A unexpectedEnterAttribute($__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 13:
325N/A {
325N/A if(($__uri.equals("") && $__local.equals("ref"))) {
325N/A $_ngcc_current_state = 12;
325N/A }
325N/A else {
325N/A unexpectedEnterAttribute($__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 9:
325N/A {
325N/A $_ngcc_current_state = 8;
325N/A $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 25:
325N/A {
325N/A if(($__uri.equals("") && $__local.equals("fixed"))) {
325N/A $_ngcc_current_state = 27;
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 17;
325N/A $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 5:
325N/A {
325N/A $_ngcc_current_state = 1;
325N/A $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 33:
325N/A {
325N/A if(($__uri.equals("") && $__local.equals("use"))) {
325N/A $_ngcc_current_state = 35;
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 29;
325N/A $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 16:
325N/A {
325N/A action4();
325N/A $_ngcc_current_state = 15;
325N/A $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 19:
325N/A {
325N/A $_ngcc_current_state = 18;
325N/A $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 17:
325N/A {
325N/A if((($__uri.equals("") && $__local.equals("form")) || ($__uri.equals("") && $__local.equals("name")))) {
325N/A NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 473, locator,true,defaultValue,fixedValue);
325N/A spawnChildFromEnterAttribute(h, $__uri, $__local, $__qname);
325N/A }
325N/A else {
325N/A if(($__uri.equals("") && $__local.equals("ref"))) {
325N/A $_ngcc_current_state = 22;
325N/A }
325N/A else {
325N/A unexpectedEnterAttribute($__qname);
325N/A }
325N/A }
325N/A }
325N/A break;
325N/A case 8:
325N/A {
325N/A action2();
325N/A $_ngcc_current_state = 7;
325N/A $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 1:
325N/A {
325N/A $_ngcc_current_state = 0;
325N/A $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 0:
325N/A {
325N/A revertToParentFromEnterAttribute(this, super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A default:
325N/A {
325N/A unexpectedEnterAttribute($__qname);
325N/A }
325N/A break;
325N/A }
325N/A }
325N/A
325N/A public void leaveAttribute(String $__uri, String $__local, String $__qname) throws SAXException {
325N/A int $ai;
325N/A $uri = $__uri;
325N/A $localName = $__local;
325N/A $qname = $__qname;
325N/A switch($_ngcc_current_state) {
325N/A case 29:
325N/A {
325N/A $_ngcc_current_state = 25;
325N/A $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 34:
325N/A {
325N/A if(($__uri.equals("") && $__local.equals("use"))) {
325N/A $_ngcc_current_state = 29;
325N/A }
325N/A else {
325N/A unexpectedLeaveAttribute($__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 9:
325N/A {
325N/A $_ngcc_current_state = 8;
325N/A $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 25:
325N/A {
325N/A $_ngcc_current_state = 17;
325N/A $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 5:
325N/A {
325N/A $_ngcc_current_state = 1;
325N/A $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 11:
325N/A {
325N/A if(($__uri.equals("") && $__local.equals("ref"))) {
325N/A $_ngcc_current_state = 9;
325N/A }
325N/A else {
325N/A unexpectedLeaveAttribute($__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 33:
325N/A {
325N/A $_ngcc_current_state = 29;
325N/A $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 16:
325N/A {
325N/A action4();
325N/A $_ngcc_current_state = 15;
325N/A $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 26:
325N/A {
325N/A if(($__uri.equals("") && $__local.equals("fixed"))) {
325N/A $_ngcc_current_state = 17;
325N/A }
325N/A else {
325N/A unexpectedLeaveAttribute($__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 19:
325N/A {
325N/A $_ngcc_current_state = 18;
325N/A $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 21:
325N/A {
325N/A if(($__uri.equals("") && $__local.equals("ref"))) {
325N/A $_ngcc_current_state = 19;
325N/A }
325N/A else {
325N/A unexpectedLeaveAttribute($__qname);
325N/A }
325N/A }
325N/A break;
325N/A case 8:
325N/A {
325N/A action2();
325N/A $_ngcc_current_state = 7;
325N/A $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 1:
325N/A {
325N/A $_ngcc_current_state = 0;
325N/A $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 0:
325N/A {
325N/A revertToParentFromLeaveAttribute(this, super._cookie, $__uri, $__local, $__qname);
325N/A }
325N/A break;
325N/A case 30:
325N/A {
325N/A if(($__uri.equals("") && $__local.equals("default"))) {
325N/A $_ngcc_current_state = 25;
325N/A }
325N/A else {
325N/A unexpectedLeaveAttribute($__qname);
325N/A }
325N/A }
325N/A break;
325N/A default:
325N/A {
325N/A unexpectedLeaveAttribute($__qname);
325N/A }
325N/A break;
325N/A }
325N/A }
325N/A
325N/A public void text(String $value) throws SAXException {
325N/A int $ai;
325N/A switch($_ngcc_current_state) {
325N/A case 29:
325N/A {
325N/A if(($ai = $runtime.getAttributeIndex("","default"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendText(super._cookie, $value);
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 25;
325N/A $runtime.sendText(super._cookie, $value);
325N/A }
325N/A }
325N/A break;
325N/A case 3:
325N/A {
325N/A if(($ai = $runtime.getAttributeIndex("","namespace"))>=0) {
325N/A NGCCHandler h = new wildcardBody(this, super._source, $runtime, 448, wloc);
325N/A spawnChildFromText(h, $value);
325N/A }
325N/A else {
325N/A if(($ai = $runtime.getAttributeIndex("","processContents"))>=0) {
325N/A NGCCHandler h = new wildcardBody(this, super._source, $runtime, 448, wloc);
325N/A spawnChildFromText(h, $value);
325N/A }
325N/A }
325N/A }
325N/A break;
325N/A case 27:
325N/A {
325N/A fixedValue = $value;
325N/A $_ngcc_current_state = 26;
325N/A }
325N/A break;
325N/A case 12:
325N/A {
325N/A NGCCHandler h = new qname(this, super._source, $runtime, 458);
325N/A spawnChildFromText(h, $value);
325N/A }
325N/A break;
325N/A case 13:
325N/A {
325N/A if(($ai = $runtime.getAttributeIndex("","ref"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendText(super._cookie, $value);
325N/A }
325N/A }
325N/A break;
325N/A case 31:
325N/A {
325N/A defaultValue = $value;
325N/A $_ngcc_current_state = 30;
325N/A }
325N/A break;
325N/A case 9:
325N/A {
325N/A $_ngcc_current_state = 8;
325N/A $runtime.sendText(super._cookie, $value);
325N/A }
325N/A break;
325N/A case 25:
325N/A {
325N/A if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendText(super._cookie, $value);
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 17;
325N/A $runtime.sendText(super._cookie, $value);
325N/A }
325N/A }
325N/A break;
325N/A case 5:
325N/A {
325N/A $_ngcc_current_state = 1;
325N/A $runtime.sendText(super._cookie, $value);
325N/A }
325N/A break;
325N/A case 33:
325N/A {
325N/A if(($ai = $runtime.getAttributeIndex("","use"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendText(super._cookie, $value);
325N/A }
325N/A else {
325N/A $_ngcc_current_state = 29;
325N/A $runtime.sendText(super._cookie, $value);
325N/A }
325N/A }
325N/A break;
325N/A case 16:
325N/A {
325N/A action4();
325N/A $_ngcc_current_state = 15;
325N/A $runtime.sendText(super._cookie, $value);
325N/A }
325N/A break;
325N/A case 19:
325N/A {
325N/A $_ngcc_current_state = 18;
325N/A $runtime.sendText(super._cookie, $value);
325N/A }
325N/A break;
325N/A case 17:
325N/A {
325N/A if(($ai = $runtime.getAttributeIndex("","name"))>=0) {
325N/A NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 473, locator,true,defaultValue,fixedValue);
325N/A spawnChildFromText(h, $value);
325N/A }
325N/A else {
325N/A if(($ai = $runtime.getAttributeIndex("","form"))>=0) {
325N/A NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 473, locator,true,defaultValue,fixedValue);
325N/A spawnChildFromText(h, $value);
325N/A }
325N/A else {
325N/A if(($ai = $runtime.getAttributeIndex("","ref"))>=0) {
325N/A $runtime.consumeAttribute($ai);
325N/A $runtime.sendText(super._cookie, $value);
325N/A }
325N/A }
325N/A }
325N/A }
325N/A break;
325N/A case 8:
325N/A {
325N/A action2();
325N/A $_ngcc_current_state = 7;
325N/A $runtime.sendText(super._cookie, $value);
325N/A }
325N/A break;
325N/A case 1:
325N/A {
325N/A $_ngcc_current_state = 0;
325N/A $runtime.sendText(super._cookie, $value);
325N/A }
325N/A break;
325N/A case 22:
325N/A {
325N/A NGCCHandler h = new qname(this, super._source, $runtime, 469);
325N/A spawnChildFromText(h, $value);
325N/A }
325N/A break;
325N/A case 35:
325N/A {
325N/A use = $value;
325N/A $_ngcc_current_state = 34;
325N/A }
325N/A break;
325N/A case 0:
325N/A {
325N/A revertToParentFromText(this, super._cookie, $value);
325N/A }
325N/A break;
325N/A }
325N/A }
325N/A
325N/A public void onChildCompleted(Object $__result__, int $__cookie__, boolean $__needAttCheck__)throws SAXException {
325N/A switch($__cookie__) {
325N/A case 448:
325N/A {
325N/A wildcard = ((WildcardImpl)$__result__);
325N/A action0();
325N/A $_ngcc_current_state = 2;
325N/A }
325N/A break;
325N/A case 466:
325N/A {
325N/A annotation = ((AnnotationImpl)$__result__);
325N/A $_ngcc_current_state = 18;
325N/A }
325N/A break;
325N/A case 473:
325N/A {
325N/A anonymousDecl = ((AttributeDeclImpl)$__result__);
325N/A action6();
325N/A $_ngcc_current_state = 16;
325N/A }
325N/A break;
325N/A case 464:
325N/A {
325N/A fa = ((ForeignAttributesImpl)$__result__);
325N/A $_ngcc_current_state = 16;
325N/A }
325N/A break;
325N/A case 458:
325N/A {
325N/A groupName = ((UName)$__result__);
325N/A $_ngcc_current_state = 11;
325N/A }
325N/A break;
325N/A case 455:
325N/A {
325N/A $_ngcc_current_state = 8;
325N/A }
325N/A break;
325N/A case 469:
325N/A {
325N/A attDeclName = ((UName)$__result__);
325N/A action5();
325N/A $_ngcc_current_state = 21;
325N/A }
325N/A break;
325N/A }
325N/A }
325N/A
325N/A public boolean accepted() {
325N/A return((($_ngcc_current_state == 0) || (($_ngcc_current_state == 1) || ($_ngcc_current_state == 5))));
325N/A }
325N/A
325N/A
325N/A private Ref.Attribute decl;
325N/A private Locator wloc; // locator for wildcards
325N/A private Locator locator;
325N/A
325N/A}