< prev index next >

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

Print this page


   1 /*
   2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 /* this file is generated by RelaxNGCC */
  27 package com.sun.xml.internal.xsom.impl.parser.state;
  28 import org.xml.sax.SAXException;
  29 import org.xml.sax.XMLReader;
  30 import org.xml.sax.Attributes;
  31 import com.sun.xml.internal.xsom.impl.parser.NGCCRuntimeEx;
  32 
  33     import com.sun.xml.internal.xsom.*;
  34     import com.sun.xml.internal.xsom.parser.*;
  35     import com.sun.xml.internal.xsom.impl.*;
  36     import com.sun.xml.internal.xsom.impl.parser.*;
  37     import org.xml.sax.Locator;
  38     import org.xml.sax.ContentHandler;
  39     import org.xml.sax.helpers.*;
  40     import java.util.*;
  41     import java.math.BigInteger;
  42 



  43 
  44 
  45 class complexType extends NGCCHandler {
  46     private Integer finalValue;
  47     private String name;
  48     private String abstractValue;
  49     private Integer blockValue;
  50     private XSFacet facet;
  51     private ForeignAttributesImpl fa;
  52     private AnnotationImpl annotation;
  53     private ContentTypeImpl explicitContent;
  54     private UName baseTypeName;
  55     private String mixedValue;
  56     protected final NGCCRuntimeEx $runtime;
  57     private int $_ngcc_current_state;
  58     protected String $uri;
  59     protected String $localName;
  60     protected String $qname;
  61 
  62     public final NGCCRuntime getRuntime() {


1666         case 23:
1667             {
1668                 NGCCHandler h = new qname(this, super._source, $runtime, 577);
1669                 spawnChildFromText(h, $value);
1670             }
1671             break;
1672         case 52:
1673             {
1674                 $_ngcc_current_state = 51;
1675                 $runtime.sendText(super._cookie, $value);
1676             }
1677             break;
1678         case 78:
1679             {
1680                 NGCCHandler h = new erSet(this, super._source, $runtime, 648);
1681                 spawnChildFromText(h, $value);
1682             }
1683             break;
1684         case 70:
1685             {
1686                 name = $value;
1687                 $_ngcc_current_state = 69;
1688             }
1689             break;
1690         case 82:
1691             {
1692                 NGCCHandler h = new erSet(this, super._source, $runtime, 653);
1693                 spawnChildFromText(h, $value);
1694             }
1695             break;
1696         case 0:
1697             {
1698                 revertToParentFromText(result, super._cookie, $value);
1699             }
1700             break;
1701         case 51:
1702             {
1703                 action13();
1704                 $_ngcc_current_state = 49;
1705                 $runtime.sendText(super._cookie, $value);
1706             }


   1 /*
   2  * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 /* this file is generated by RelaxNGCC */
  27 package com.sun.xml.internal.xsom.impl.parser.state;




  28 
  29 import com.sun.xml.internal.xsom.*;
  30 import com.sun.xml.internal.xsom.impl.*;
  31 import com.sun.xml.internal.xsom.impl.parser.*;
  32 import com.sun.xml.internal.xsom.parser.*;
  33 import java.util.*;




  34 
  35 import org.xml.sax.Attributes;
  36 import org.xml.sax.Locator;
  37 import org.xml.sax.SAXException;
  38 
  39 
  40 class complexType extends NGCCHandler {
  41     private Integer finalValue;
  42     private String name;
  43     private String abstractValue;
  44     private Integer blockValue;
  45     private XSFacet facet;
  46     private ForeignAttributesImpl fa;
  47     private AnnotationImpl annotation;
  48     private ContentTypeImpl explicitContent;
  49     private UName baseTypeName;
  50     private String mixedValue;
  51     protected final NGCCRuntimeEx $runtime;
  52     private int $_ngcc_current_state;
  53     protected String $uri;
  54     protected String $localName;
  55     protected String $qname;
  56 
  57     public final NGCCRuntime getRuntime() {


1661         case 23:
1662             {
1663                 NGCCHandler h = new qname(this, super._source, $runtime, 577);
1664                 spawnChildFromText(h, $value);
1665             }
1666             break;
1667         case 52:
1668             {
1669                 $_ngcc_current_state = 51;
1670                 $runtime.sendText(super._cookie, $value);
1671             }
1672             break;
1673         case 78:
1674             {
1675                 NGCCHandler h = new erSet(this, super._source, $runtime, 648);
1676                 spawnChildFromText(h, $value);
1677             }
1678             break;
1679         case 70:
1680             {
1681                 name = $runtime.collapse($value);
1682                 $_ngcc_current_state = 69;
1683             }
1684             break;
1685         case 82:
1686             {
1687                 NGCCHandler h = new erSet(this, super._source, $runtime, 653);
1688                 spawnChildFromText(h, $value);
1689             }
1690             break;
1691         case 0:
1692             {
1693                 revertToParentFromText(result, super._cookie, $value);
1694             }
1695             break;
1696         case 51:
1697             {
1698                 action13();
1699                 $_ngcc_current_state = 49;
1700                 $runtime.sendText(super._cookie, $value);
1701             }


< prev index next >