//
// 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 SpecParTypeImpl implements COJAC.DDLSchema.SpecParType, 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 _PartSelector = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
    protected com.sun.xml.bind.util.ListImpl _Parameter = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
    protected java.lang.String _Name;
    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.SpecParType.class);
    }

    public java.util.List getPartSelector() {
        return _PartSelector;
    }

    public java.util.List getParameter() {
        return _Parameter;
    }

    public java.lang.String getName() {
        return _Name;
    }

    public void setName(java.lang.String value) {
        _Name = value;
    }

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

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

    public void serializeAttributes(COJAC.DDLSchema.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx1 = 0;
        final int len1 = _PartSelector.size();
        int idx2 = 0;
        final int len2 = _Parameter.size();
        context.startAttribute("", "name");
        try {
            context.text(((java.lang.String) _Name), "Name");
        } catch (java.lang.Exception e) {
            COJAC.DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        while (idx1 != len1) {
            if (_PartSelector.get(idx1) instanceof javax.xml.bind.Element) {
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _PartSelector.get(idx1 ++)), "PartSelector");
            } else {
                idx1 += 1;
            }
        }
        while (idx2 != len2) {
            if (_Parameter.get(idx2) instanceof javax.xml.bind.Element) {
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Parameter.get(idx2 ++)), "Parameter");
            } else {
                idx2 += 1;
            }
        }
    }

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

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

    public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
        if (schemaFragment == null) {
            schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
 "\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
+"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
+"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
+"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0003I\u0000\u000ecachedHashCodeL\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava"
+"/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0002xp\nV\u007f\u009dppsq\u0000~\u0000\u0000\b\u0088C6ppsr\u0000\u001dcom"
+".sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0004i@\u008appsr\u0000 com.sun"
+".msv.grammar.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\u0004i@\u007fsr\u0000\u0011java.lang.Boolea"
+"n\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\u0007\u0004i@|q\u0000~\u0000\rpsr\u0000\'com.sun.msv.gram"
+"mar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/ms"
+"v/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\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\rp\u0000sq\u0000~\u0000\u0007\u00014\u00ceappsq\u0000~\u0000\t\u00014\u00ceVq\u0000~\u0000\rpsr\u0000 com.sun.msv.gramm"
+"ar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\u0010xq\u0000~\u0000\u0003"
+"\u00014\u00ceSq\u0000~\u0000\rpsr\u00002com.sun.msv.grammar.Expression$AnyStringExpres"
+"sion\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\bsq\u0000~\u0000\f\u0001q\u0000~\u0000\u0018sr\u0000 com.sun.msv.grammar"
+".AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000"
+"\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$EpsilonExpressi"
+"on\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tq\u0000~\u0000\u0019psr\u0000#com.sun.msv.grammar.SimpleN"
+"ameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnames"
+"paceURIq\u0000~\u0000 xq\u0000~\u0000\u001bt\u0000\u001cCOJAC.DDLSchema.PartSelectort\u0000+http://j"
+"ava.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u000f\u00034r\u000eq\u0000~\u0000\rp\u0000sq\u0000~\u0000\u0000\u00034"
+"r\u0003ppsq\u0000~\u0000\u000f\u00014\u00celpp\u0000sq\u0000~\u0000\u0007\u00014\u00ceappsq\u0000~\u0000\t\u00014\u00ceVq\u0000~\u0000\rpsq\u0000~\u0000\u0015\u00014\u00ceSq\u0000~\u0000\r"
+"pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000 COJAC.DDLSchema.PartSelectorTypeq\u0000~"
+"\u0000#sq\u0000~\u0000\u0007\u0001\u00ff\u00a3\u0092ppsq\u0000~\u0000\u0015\u0001\u00ff\u00a3\u0087q\u0000~\u0000\rpsr\u0000\u001bcom.sun.msv.grammar.DataEx"
+"p\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006except"
+"q\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003\u0000\u00da,\u00ffppsr\u0000\""
+"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv"
+".datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.da"
+"tatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.x"
+"sd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000 L\u0000\btypeNameq"
+"\u0000~\u0000 L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProc"
+"essor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.s"
+"un.msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
+"r\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp"
+"sr\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
+"\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\nppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\t"
+"localNameq\u0000~\u0000 L\u0000\fnamespaceURIq\u0000~\u0000 xpq\u0000~\u00009q\u0000~\u00008sq\u0000~\u0000\u001ft\u0000\u0004typet"
+"\u0000)http://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\fPar"
+"tSelectort\u0000\u001ahttp://www.cern.ch/cms/DDLq\u0000~\u0000\u001esq\u0000~\u0000\u0007\u0004\u001f\u0002\u00a7ppsq\u0000~\u0000"
+"\t\u0004\u001f\u0002\u009cq\u0000~\u0000\rpsq\u0000~\u0000\u0007\u0004\u001f\u0002\u0099q\u0000~\u0000\rpsq\u0000~\u0000\u000f\u00014\u00celq\u0000~\u0000\rp\u0000sq\u0000~\u0000\u0007\u00014\u00ceappsq\u0000~"
+"\u0000\t\u00014\u00ceVq\u0000~\u0000\rpsq\u0000~\u0000\u0015\u00014\u00ceSq\u0000~\u0000\rpq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u0019COJAC.DD"
+"LSchema.Parameterq\u0000~\u0000#sq\u0000~\u0000\u000f\u0002\u00ea4+q\u0000~\u0000\rp\u0000sq\u0000~\u0000\u0000\u0002\u00ea4 ppsq\u0000~\u0000\u000f\u00014\u00ce"
+"lpp\u0000sq\u0000~\u0000\u0007\u00014\u00ceappsq\u0000~\u0000\t\u00014\u00ceVq\u0000~\u0000\rpsq\u0000~\u0000\u0015\u00014\u00ceSq\u0000~\u0000\rpq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000"
+"~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u001dCOJAC.DDLSchema.ParameterTypeq\u0000~\u0000#sq\u0000~\u0000\u0007\u0001\u00b5e\u00afppsq"
+"\u0000~\u0000\u0015\u0001\u00b5e\u00a4q\u0000~\u0000\rpq\u0000~\u00001sq\u0000~\u0000\u001fq\u0000~\u0000Bq\u0000~\u0000Cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\tParameterq\u0000"
+"~\u0000Fq\u0000~\u0000\u001esq\u0000~\u0000\u0015\u0001\u00ce<bppsq\u0000~\u0000.\u0000\u00c2r\u00ccppsr\u0000#com.sun.msv.datatype.xsd"
+".StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxq\u0000~\u00003q\u0000~\u00008t\u0000\u0006stringsr"
+"\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000"
+"\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000;\u0001q\u0000~\u0000>sq\u0000~\u0000?q\u0000~\u0000aq\u0000~\u00008sq\u0000~\u0000\u001ft\u0000\u0004namet\u0000\u0000sr\u0000\"com.su"
+"n.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/su"
+"n/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.gr"
+"ammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresho"
+"ldL\u0000\u0006parentq\u0000~\u0000i[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;"
+"xp\u0000\u0000\u0000\u0014\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000x"
+"p\u0000\u0000\u0000\u00bfpppppppppppppppq\u0000~\u0000\u0006ppppppppppppppppppppppppppppppppppp"
+"ppppppppppppppppppppppq\u0000~\u0000\u000eppq\u0000~\u0000\u000bppppppppppq\u0000~\u0000\bppppppppppp"
+"pq\u0000~\u0000Ippq\u0000~\u0000Hppq\u0000~\u0000%pppppppq\u0000~\u0000Gppppppppq\u0000~\u0000\u0014q\u0000~\u0000(q\u0000~\u0000Lq\u0000~\u0000T"
+"pq\u0000~\u0000\u0005ppppq\u0000~\u0000Qq\u0000~\u0000\u0013q\u0000~\u0000\'q\u0000~\u0000Kq\u0000~\u0000Spppppppppq\u0000~\u0000,ppppppppppp"
+"pppppppppppppppq\u0000~\u0000Xpppppppppppppppp"));
        }
        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.SpecParTypeImpl.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  4 :
                        attIdx = context.getAttribute("", "path");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  6 :
                        if (("PartSelector" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _PartSelector.add(((COJAC.DDLSchema.impl.PartSelectorImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.PartSelectorImpl.class), 6, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("PartSelector" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 4;
                            return ;
                        }
                        if (("Parameter" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Parameter.add(((COJAC.DDLSchema.impl.ParameterImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.ParameterImpl.class), 7, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("Parameter" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 8;
                            return ;
                        }
                        state = 7;
                        continue outer;
                    case  0 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 3;
                            continue outer;
                        }
                        break;
                    case  3 :
                        if (("PartSelector" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _PartSelector.add(((COJAC.DDLSchema.impl.PartSelectorImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.PartSelectorImpl.class), 6, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("PartSelector" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 4;
                            return ;
                        }
                        state = 6;
                        continue outer;
                    case  7 :
                        if (("Parameter" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _Parameter.add(((COJAC.DDLSchema.impl.ParameterImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.ParameterImpl.class), 7, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("Parameter" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 8;
                            return ;
                        }
                        revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
                        return ;
                    case  8 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                }
                super.enterElement(___uri, ___local, ___qname, __atts);
                break;
            }
        }

        private void eatText1(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            try {
                _Name = value;
            } catch (java.lang.Exception e) {
                handleParseConversionException(e);
            }
        }

        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  5 :
                        if (("PartSelector" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.popAttributes();
                            state = 6;
                            return ;
                        }
                        break;
                    case  4 :
                        attIdx = context.getAttribute("", "path");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  6 :
                        state = 7;
                        continue outer;
                    case  0 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 3;
                            continue outer;
                        }
                        break;
                    case  3 :
                        state = 6;
                        continue outer;
                    case  9 :
                        if (("Parameter" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.popAttributes();
                            state = 7;
                            return ;
                        }
                        break;
                    case  7 :
                        revertToParentFromLeaveElement(___uri, ___local, ___qname);
                        return ;
                    case  8 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            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  4 :
                        if (("path" == ___local)&&("" == ___uri)) {
                            _PartSelector.add(((COJAC.DDLSchema.impl.PartSelectorTypeImpl) spawnChildFromEnterAttribute((COJAC.DDLSchema.impl.PartSelectorTypeImpl.class), 5, ___uri, ___local, ___qname)));
                            return ;
                        }
                        break;
                    case  6 :
                        state = 7;
                        continue outer;
                    case  0 :
                        if (("name" == ___local)&&("" == ___uri)) {
                            state = 1;
                            return ;
                        }
                        break;
                    case  3 :
                        state = 6;
                        continue outer;
                    case  7 :
                        revertToParentFromEnterAttribute(___uri, ___local, ___qname);
                        return ;
                    case  8 :
                        if (("name" == ___local)&&("" == ___uri)) {
                            _Parameter.add(((COJAC.DDLSchema.impl.ParameterTypeImpl) spawnChildFromEnterAttribute((COJAC.DDLSchema.impl.ParameterTypeImpl.class), 9, ___uri, ___local, ___qname)));
                            return ;
                        }
                        break;
                }
                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  4 :
                        attIdx = context.getAttribute("", "path");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  6 :
                        state = 7;
                        continue outer;
                    case  0 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 3;
                            continue outer;
                        }
                        break;
                    case  3 :
                        state = 6;
                        continue outer;
                    case  7 :
                        revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
                        return ;
                    case  8 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  2 :
                        if (("name" == ___local)&&("" == ___uri)) {
                            state = 3;
                            return ;
                        }
                        break;
                }
                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  4 :
                            attIdx = context.getAttribute("", "path");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  6 :
                            state = 7;
                            continue outer;
                        case  0 :
                            attIdx = context.getAttribute("", "name");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText1(v);
                                state = 3;
                                continue outer;
                            }
                            break;
                        case  3 :
                            state = 6;
                            continue outer;
                        case  1 :
                            eatText1(value);
                            state = 2;
                            return ;
                        case  7 :
                            revertToParentFromText(value);
                            return ;
                        case  8 :
                            attIdx = context.getAttribute("", "name");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                    }
                } catch (java.lang.RuntimeException e) {
                    handleUnexpectedTextException(value, e);
                }
                break;
            }
        }

    }

}
