//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.2-b15-fcs 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2004.05.18 at 11:05:21 PDT 
//


package COJAC.DDLSchema.impl;

public class DDDefinitionTypeImpl implements COJAC.DDLSchema.DDDefinitionType, com.sun.xml.bind.JAXBObject, COJAC.DDLSchema.impl.runtime.UnmarshallableObject, COJAC.DDLSchema.impl.runtime.XMLSerializable, COJAC.DDLSchema.impl.runtime.ValidatableObject
{

    protected com.sun.xml.bind.util.ListImpl _Section = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
    public final static java.lang.Class version = (COJAC.DDLSchema.impl.JAXBVersion.class);
    private static com.sun.msv.grammar.Grammar schemaFragment;

    private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
        return (COJAC.DDLSchema.DDDefinitionType.class);
    }

    public java.util.List getSection() {
        return _Section;
    }

    public COJAC.DDLSchema.impl.runtime.UnmarshallingEventHandler createUnmarshaller(COJAC.DDLSchema.impl.runtime.UnmarshallingContext context) {
        return new COJAC.DDLSchema.impl.DDDefinitionTypeImpl.Unmarshaller(context);
    }

    public void serializeBody(COJAC.DDLSchema.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx1 = 0;
        final int len1 = _Section.size();
        while (idx1 != len1) {
            if (_Section.get(idx1) instanceof javax.xml.bind.Element) {
                context.childAsBody(((com.sun.xml.bind.JAXBObject) _Section.get(idx1 ++)), "Section");
            } else {
                context.startElement("http://www.cern.ch/cms/DDL", "Section");
                int idx_0 = idx1;
                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Section.get(idx_0 ++)), "Section");
                context.endNamespaceDecls();
                int idx_1 = idx1;
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Section.get(idx_1 ++)), "Section");
                context.endAttributes();
                context.childAsBody(((com.sun.xml.bind.JAXBObject) _Section.get(idx1 ++)), "Section");
                context.endElement();
            }
        }
    }

    public void serializeAttributes(COJAC.DDLSchema.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx1 = 0;
        final int len1 = _Section.size();
        while (idx1 != len1) {
            if (_Section.get(idx1) instanceof javax.xml.bind.Element) {
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Section.get(idx1 ++)), "Section");
            } else {
                idx1 += 1;
            }
        }
    }

    public void serializeURIs(COJAC.DDLSchema.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx1 = 0;
        final int len1 = _Section.size();
        while (idx1 != len1) {
            if (_Section.get(idx1) instanceof javax.xml.bind.Element) {
                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Section.get(idx1 ++)), "Section");
            } else {
                idx1 += 1;
            }
        }
    }

    public java.lang.Class getPrimaryInterface() {
        return (COJAC.DDLSchema.DDDefinitionType.class);
    }

    public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
        if (schemaFragment == null) {
            schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
 "\u00ac\u00ed\u0000\u0005sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun."
+"msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gramm"
+"ar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expression"
+"\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0003I\u0000\u000ecachedHashCodeL\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/l"
+"ang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0002xp\bq\u00a5\u000eppsr\u0000 com.sun.msv.gramm"
+"ar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000"
+"\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\bq\u00a5\u0003sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002"
+"\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\u0000\bq\u00a5\u0000q\u0000~\u0000\npsq\u0000~\u0000\u0000\u0007<\u00d6\u0092q\u0000~\u0000\npsq\u0000~\u0000\u0000\u0006\b\b$q\u0000~\u0000"
+"\npsq\u0000~\u0000\u0000\u0004\u00d39\u00b6q\u0000~\u0000\npsq\u0000~\u0000\u0000\u0003\u009ekHq\u0000~\u0000\npsq\u0000~\u0000\u0000\u0002i\u009c\u00daq\u0000~\u0000\npsr\u0000\'com.su"
+"n.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fL"
+"com/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.Elemen"
+"tExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq"
+"\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u00014\u00celq\u0000~\u0000\np\u0000sq\u0000~\u0000\u0000\u00014\u00ceappsq\u0000~\u0000\u0006\u00014\u00ceVq\u0000~\u0000\npsr\u0000 com.sun"
+".msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq"
+"\u0000~\u0000\u0012xq\u0000~\u0000\u0003\u00014\u00ceSq\u0000~\u0000\npsr\u00002com.sun.msv.grammar.Expression$AnySt"
+"ringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\bsq\u0000~\u0000\t\u0001q\u0000~\u0000\u001asr\u0000 com.sun.m"
+"sv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.Na"
+"meClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$Epsil"
+"onExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tq\u0000~\u0000\u001bpsr\u0000#com.sun.msv.gramm"
+"ar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/Strin"
+"g;L\u0000\fnamespaceURIq\u0000~\u0000\"xq\u0000~\u0000\u001dt\u0000\"COJAC.DDLSchema.LogicalPartSe"
+"ctiont\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u0011\u00014\u00ce"
+"lq\u0000~\u0000\np\u0000sq\u0000~\u0000\u0000\u00014\u00ceappsq\u0000~\u0000\u0006\u00014\u00ceVq\u0000~\u0000\npsq\u0000~\u0000\u0017\u00014\u00ceSq\u0000~\u0000\npq\u0000~\u0000\u001aq\u0000~"
+"\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000\u001eCOJAC.DDLSchema.SpecParSectionq\u0000~\u0000%sq\u0000~\u0000\u0011\u00014\u00ce"
+"lq\u0000~\u0000\np\u0000sq\u0000~\u0000\u0000\u00014\u00ceappsq\u0000~\u0000\u0006\u00014\u00ceVq\u0000~\u0000\npsq\u0000~\u0000\u0017\u00014\u00ceSq\u0000~\u0000\npq\u0000~\u0000\u001aq\u0000~"
+"\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000\u001cCOJAC.DDLSchema.SolidSectionq\u0000~\u0000%sq\u0000~\u0000\u0011\u00014\u00celq"
+"\u0000~\u0000\np\u0000sq\u0000~\u0000\u0000\u00014\u00ceappsq\u0000~\u0000\u0006\u00014\u00ceVq\u0000~\u0000\npsq\u0000~\u0000\u0017\u00014\u00ceSq\u0000~\u0000\npq\u0000~\u0000\u001aq\u0000~\u0000\u001e"
+"q\u0000~\u0000 sq\u0000~\u0000!t\u0000\u001fCOJAC.DDLSchema.MaterialSectionq\u0000~\u0000%sq\u0000~\u0000\u0011\u00014\u00cel"
+"q\u0000~\u0000\np\u0000sq\u0000~\u0000\u0000\u00014\u00ceappsq\u0000~\u0000\u0006\u00014\u00ceVq\u0000~\u0000\npsq\u0000~\u0000\u0017\u00014\u00ceSq\u0000~\u0000\npq\u0000~\u0000\u001aq\u0000~\u0000"
+"\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000\u001eCOJAC.DDLSchema.PosPartSectionq\u0000~\u0000%sq\u0000~\u0000\u0011\u00014\u00cel"
+"q\u0000~\u0000\np\u0000sq\u0000~\u0000\u0000\u00014\u00ceappsq\u0000~\u0000\u0006\u00014\u00ceVq\u0000~\u0000\npsq\u0000~\u0000\u0017\u00014\u00ceSq\u0000~\u0000\npq\u0000~\u0000\u001aq\u0000~\u0000"
+"\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000\u001fCOJAC.DDLSchema.RotationSectionq\u0000~\u0000%sq\u0000~\u0000\u0011\u00014\u00ce"
+"lq\u0000~\u0000\np\u0000sq\u0000~\u0000\u0000\u00014\u00ceappsq\u0000~\u0000\u0006\u00014\u00ceVq\u0000~\u0000\npsq\u0000~\u0000\u0017\u00014\u00ceSq\u0000~\u0000\npq\u0000~\u0000\u001aq\u0000~"
+"\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000 COJAC.DDLSchema.ConstantsSectionq\u0000~\u0000%q\u0000~\u0000 sr"
+"\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000"
+"/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.su"
+"n.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000"
+"\tthresholdL\u0000\u0006parentq\u0000~\u0000K[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Exp"
+"ression;xp\u0000\u0000\u0000\u0016\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3"
+"]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpppppppppppppq\u0000~\u0000\u000eppppppppppppppppppppppppppppp"
+"ppppppppppppppq\u0000~\u0000\u000fppppppppppppppq\u0000~\u0000\u000bppq\u0000~\u0000\bppppppppppq\u0000~\u0000\u0005"
+"ppppppppppppppq\u0000~\u0000\u0010ppppppppppppppq\u0000~\u0000\fppppppq\u0000~\u0000\u0016q\u0000~\u0000(q\u0000~\u0000.q"
+"\u0000~\u00004q\u0000~\u0000:q\u0000~\u0000@q\u0000~\u0000Fppppq\u0000~\u0000\u0015q\u0000~\u0000\'q\u0000~\u0000-q\u0000~\u00003q\u0000~\u00009q\u0000~\u0000?q\u0000~\u0000Epp"
+"pppppppppppppppppq\u0000~\u0000\rpppppppppppppppppppppppppppppp"));
        }
        return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
    }

    public class Unmarshaller
        extends COJAC.DDLSchema.impl.runtime.AbstractUnmarshallingEventHandlerImpl
    {


        public Unmarshaller(COJAC.DDLSchema.impl.runtime.UnmarshallingContext context) {
            super(context, "----");
        }

        protected Unmarshaller(COJAC.DDLSchema.impl.runtime.UnmarshallingContext context, int startState) {
            this(context);
            state = startState;
        }

        public java.lang.Object owner() {
            return COJAC.DDLSchema.impl.DDDefinitionTypeImpl.this;
        }

        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 (("LogicalPartSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.LogicalPartSectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.LogicalPartSectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("SpecParSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.SpecParSectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.SpecParSectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("SolidSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.SolidSectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.SolidSectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("MaterialSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.MaterialSectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.MaterialSectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("PosPartSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.PosPartSectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.PosPartSectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("RotationSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.RotationSectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.RotationSectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("ConstantsSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.ConstantsSectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.ConstantsSectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("Section" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.SectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.SectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("Section" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 2;
                            return ;
                        }
                        state = 1;
                        continue outer;
                    case  2 :
                        attIdx = context.getAttribute("", "label");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        _Section.add(((COJAC.DDLSchema.impl.SectionTypeImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.SectionTypeImpl.class), 3, ___uri, ___local, ___qname, __atts)));
                        return ;
                    case  1 :
                        if (("LogicalPartSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.LogicalPartSectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.LogicalPartSectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("SpecParSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.SpecParSectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.SpecParSectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("SolidSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.SolidSectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.SolidSectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("MaterialSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.MaterialSectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.MaterialSectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("PosPartSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.PosPartSectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.PosPartSectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("RotationSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.RotationSectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.RotationSectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("ConstantsSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.ConstantsSectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.ConstantsSectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("Section" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.SectionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.SectionImpl.class), 1, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("Section" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 2;
                            return ;
                        }
                        revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
                        return ;
                }
                super.enterElement(___uri, ___local, ___qname, __atts);
                break;
            }
        }

        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  0 :
                        state = 1;
                        continue outer;
                    case  2 :
                        attIdx = context.getAttribute("", "label");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        _Section.add(((COJAC.DDLSchema.impl.SectionTypeImpl) spawnChildFromLeaveElement((COJAC.DDLSchema.impl.SectionTypeImpl.class), 3, ___uri, ___local, ___qname)));
                        return ;
                    case  1 :
                        revertToParentFromLeaveElement(___uri, ___local, ___qname);
                        return ;
                    case  3 :
                        if (("Section" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.popAttributes();
                            state = 1;
                            return ;
                        }
                        break;
                }
                super.leaveElement(___uri, ___local, ___qname);
                break;
            }
        }

        public void enterAttribute(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  0 :
                        state = 1;
                        continue outer;
                    case  2 :
                        if (("label" == ___local)&&("" == ___uri)) {
                            _Section.add(((COJAC.DDLSchema.impl.SectionTypeImpl) spawnChildFromEnterAttribute((COJAC.DDLSchema.impl.SectionTypeImpl.class), 3, ___uri, ___local, ___qname)));
                            return ;
                        }
                        _Section.add(((COJAC.DDLSchema.impl.SectionTypeImpl) spawnChildFromEnterAttribute((COJAC.DDLSchema.impl.SectionTypeImpl.class), 3, ___uri, ___local, ___qname)));
                        return ;
                    case  1 :
                        revertToParentFromEnterAttribute(___uri, ___local, ___qname);
                        return ;
                }
                super.enterAttribute(___uri, ___local, ___qname);
                break;
            }
        }

        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  0 :
                        state = 1;
                        continue outer;
                    case  2 :
                        attIdx = context.getAttribute("", "label");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        _Section.add(((COJAC.DDLSchema.impl.SectionTypeImpl) spawnChildFromLeaveAttribute((COJAC.DDLSchema.impl.SectionTypeImpl.class), 3, ___uri, ___local, ___qname)));
                        return ;
                    case  1 :
                        revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
                        return ;
                }
                super.leaveAttribute(___uri, ___local, ___qname);
                break;
            }
        }

        public void handleText(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            int attIdx;
            outer:
            while (true) {
                try {
                    switch (state) {
                        case  0 :
                            state = 1;
                            continue outer;
                        case  2 :
                            attIdx = context.getAttribute("", "label");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            _Section.add(((COJAC.DDLSchema.impl.SectionTypeImpl) spawnChildFromText((COJAC.DDLSchema.impl.SectionTypeImpl.class), 3, value)));
                            return ;
                        case  1 :
                            revertToParentFromText(value);
                            return ;
                    }
                } catch (java.lang.RuntimeException e) {
                    handleUnexpectedTextException(value, e);
                }
                break;
            }
        }

    }

}
