//
// 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 ConeTypeImpl
    extends COJAC.DDLSchema.impl.SolidTypeImpl
    implements COJAC.DDLSchema.ConeType, com.sun.xml.bind.JAXBObject, COJAC.DDLSchema.impl.runtime.UnmarshallableObject, COJAC.DDLSchema.impl.runtime.XMLSerializable, COJAC.DDLSchema.impl.runtime.ValidatableObject
{

    protected java.lang.String _StartPhi;
    protected java.lang.String _DeltaPhi;
    protected java.lang.String _Dz;
    protected java.lang.String _RMax1;
    protected java.lang.String _RMin1;
    protected java.lang.String _AngleUnit;
    protected java.lang.String _LengthUnit;
    protected java.lang.String _RMax2;
    protected java.lang.String _RMin2;
    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.ConeType.class);
    }

    public java.lang.String getStartPhi() {
        return _StartPhi;
    }

    public void setStartPhi(java.lang.String value) {
        _StartPhi = value;
    }

    public java.lang.String getDeltaPhi() {
        return _DeltaPhi;
    }

    public void setDeltaPhi(java.lang.String value) {
        _DeltaPhi = value;
    }

    public java.lang.String getDz() {
        return _Dz;
    }

    public void setDz(java.lang.String value) {
        _Dz = value;
    }

    public java.lang.String getRMax1() {
        return _RMax1;
    }

    public void setRMax1(java.lang.String value) {
        _RMax1 = value;
    }

    public java.lang.String getRMin1() {
        return _RMin1;
    }

    public void setRMin1(java.lang.String value) {
        _RMin1 = value;
    }

    public java.lang.String getAngleUnit() {
        return _AngleUnit;
    }

    public void setAngleUnit(java.lang.String value) {
        _AngleUnit = value;
    }

    public java.lang.String getLengthUnit() {
        return _LengthUnit;
    }

    public void setLengthUnit(java.lang.String value) {
        _LengthUnit = value;
    }

    public java.lang.String getRMax2() {
        return _RMax2;
    }

    public void setRMax2(java.lang.String value) {
        _RMax2 = value;
    }

    public java.lang.String getRMin2() {
        return _RMin2;
    }

    public void setRMin2(java.lang.String value) {
        _RMin2 = value;
    }

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

    public void serializeBody(COJAC.DDLSchema.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        super.serializeBody(context);
    }

    public void serializeAttributes(COJAC.DDLSchema.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        if (_DeltaPhi!= null) {
            context.startAttribute("", "deltaPhi");
            try {
                context.text(((java.lang.String) _DeltaPhi), "DeltaPhi");
            } catch (java.lang.Exception e) {
                COJAC.DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
        if (_StartPhi!= null) {
            context.startAttribute("", "startPhi");
            try {
                context.text(((java.lang.String) _StartPhi), "StartPhi");
            } catch (java.lang.Exception e) {
                COJAC.DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
        context.startAttribute("", "dz");
        try {
            context.text(((java.lang.String) _Dz), "Dz");
        } catch (java.lang.Exception e) {
            COJAC.DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        context.startAttribute("", "rMin2");
        try {
            context.text(((java.lang.String) _RMin2), "RMin2");
        } catch (java.lang.Exception e) {
            COJAC.DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        if (_AngleUnit!= null) {
            context.startAttribute("", "angleUnit");
            try {
                context.text(((java.lang.String) _AngleUnit), "AngleUnit");
            } catch (java.lang.Exception e) {
                COJAC.DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
        context.startAttribute("", "rMax2");
        try {
            context.text(((java.lang.String) _RMax2), "RMax2");
        } catch (java.lang.Exception e) {
            COJAC.DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        context.startAttribute("", "rMax1");
        try {
            context.text(((java.lang.String) _RMax1), "RMax1");
        } catch (java.lang.Exception e) {
            COJAC.DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        context.startAttribute("", "rMin1");
        try {
            context.text(((java.lang.String) _RMin1), "RMin1");
        } catch (java.lang.Exception e) {
            COJAC.DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        if (_LengthUnit!= null) {
            context.startAttribute("", "lengthUnit");
            try {
                context.text(((java.lang.String) _LengthUnit), "LengthUnit");
            } catch (java.lang.Exception e) {
                COJAC.DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
        super.serializeAttributes(context);
    }

    public void serializeURIs(COJAC.DDLSchema.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        super.serializeURIs(context);
    }

    public java.lang.Class getPrimaryInterface() {
        return (COJAC.DDLSchema.ConeType.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\u001bqK\u00abppsq\u0000~\u0000\u0000\u0019,\u00de\u00f4ppsq\u0000~\u0000\u0000\u0016"
+"\n>Wppsq\u0000~\u0000\u0000\u0013\u009b\u00b7.ppsq\u0000~\u0000\u0000\u0010+\u0005(ppsq\u0000~\u0000\u0000\u000e\u0001\u00cc\u00f4ppsq\u0000~\u0000\u0000\u000b\u00e0\u00c0\u001fppsq\u0000~\u0000\u0000\b"
+"\u001d+#ppsq\u0000~\u0000\u0000\u0005\u00cc\u00f7\u00a4ppsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
+"\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass"
+";xq\u0000~\u0000\u0003\u0002z&\u00d4ppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dt"
+"t\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLc"
+"om/sun/msv/util/StringPair;xq\u0000~\u0000\u0003\u0000\u00c2r\u00ccppsr\u0000#com.sun.msv.datat"
+"ype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\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\fnamespaceUrit\u0000\u0012Ljava/lang/Str"
+"ing;L\u0000\btypeNameq\u0000~\u0000\u0019L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xs"
+"d/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat"
+"\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Pre"
+"serve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProce"
+"ssor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$NullSet"
+"Expression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\nppsr\u0000\u001bcom.sun.msv.util.String"
+"Pair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0019L\u0000\fnamespaceURIq\u0000~\u0000\u0019xpq\u0000~\u0000\u001dq"
+"\u0000~\u0000\u001csr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tloc"
+"alNameq\u0000~\u0000\u0019L\u0000\fnamespaceURIq\u0000~\u0000\u0019xr\u0000\u001dcom.sun.msv.grammar.NameC"
+"lass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004namet\u0000\u0000sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp"
+"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0003R\u00d0\u00cbppsq\u0000~\u0000\u000e\u0003R\u00d0\u00c0sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c"
+"\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\u0011\u0001\u00c6rXppsr\u0000\'com.sun.msv.datatype.xsd.Fi"
+"nalComponent\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\nfinalValuexr\u0000\u001ecom.sun.msv.datatype"
+".xsd.Proxy\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bbaseTypet\u0000)Lcom/sun/msv/datatype/xsd"
+"/XSDatatypeImpl;xq\u0000~\u0000\u0018t\u0000\u001ahttp://www.cern.ch/cms/DDLt\u0000\u0006angleT"
+"q\u0000~\u0000 q\u0000~\u0000\u001b\u0000\u0000\u0000\u0000q\u0000~\u0000\"sq\u0000~\u0000#q\u0000~\u0000\u001dq\u0000~\u00004sq\u0000~\u0000%t\u0000\bdeltaPhiq\u0000~\u0000)sr\u0000"
+"0com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
+"xq\u0000~\u0000\u0003\u0000\u0000\u0000\tsq\u0000~\u0000-\u0001psq\u0000~\u0000*\u0002P3zppsq\u0000~\u0000\u000e\u0002P3oq\u0000~\u0000.pq\u0000~\u0000/sq\u0000~\u0000%t\u0000\b"
+"startPhiq\u0000~\u0000)q\u0000~\u0000:sq\u0000~\u0000\u000e\u0003\u00c3\u0094\u00f7ppsq\u0000~\u0000\u0011\u0001\u00df\u00d9\u001fppsq\u0000~\u00000q\u0000~\u00004t\u0000\u0007leng"
+"thTq\u0000~\u0000 q\u0000~\u0000\u001b\u0000\u0000\u0000\u0000q\u0000~\u0000\"sq\u0000~\u0000#q\u0000~\u0000\u001dq\u0000~\u00004sq\u0000~\u0000%t\u0000\u0002dzq\u0000~\u0000)sq\u0000~\u0000\u000e"
+"\u0002!\f\u00d0ppq\u0000~\u0000Asq\u0000~\u0000%t\u0000\u0005rMin2q\u0000~\u0000)sq\u0000~\u0000*\u0002)8/ppsq\u0000~\u0000\u000e\u0002)8$q\u0000~\u0000.psq"
+"\u0000~\u0000\u0011\u0001\u0080\u00cb\u0011ppsr\u0000)com.sun.msv.datatype.xsd.EnumerationFacet\u0000\u0000\u0000\u0000\u0000"
+"\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0006valuest\u0000\u000fLjava/util/Set;xr\u00009com.sun.msv.datatype.xs"
+"d.DataTypeWithValueConstraintFacet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun.msv"
+".datatype.xsd.DataTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFacetFixedZ\u0000\u0012"
+"needValueCheckFlagL\u0000\bbaseTypeq\u0000~\u00002L\u0000\fconcreteTypet\u0000\'Lcom/sun"
+"/msv/datatype/xsd/ConcreteType;L\u0000\tfacetNameq\u0000~\u0000\u0019xq\u0000~\u0000\u0018q\u0000~\u00004t"
+"\u0000\nangleUnitTq\u0000~\u0000 \u0000\u0000q\u0000~\u0000\u001bq\u0000~\u0000\u001bt\u0000\u000benumerationsr\u0000\u0011java.util.Has"
+"hSet\u00baD\u0085\u0095\u0096\u00b8\u00b74\u0003\u0000\u0000xpw\f\u0000\u0000\u0000\u0010?@\u0000\u0000\u0000\u0000\u0000\u0002t\u0000\u0006radiant\u0000\u0006degreexq\u0000~\u0000\"sq\u0000~\u0000"
+"#q\u0000~\u0000Sq\u0000~\u00004sq\u0000~\u0000%t\u0000\tangleUnitq\u0000~\u0000)q\u0000~\u0000:sq\u0000~\u0000\u000e\u0003p\u00b2\u0001ppq\u0000~\u0000Asq\u0000~"
+"\u0000%t\u0000\u0005rMax2q\u0000~\u0000)sq\u0000~\u0000\u000e\u0002n\u0087$ppq\u0000~\u0000Asq\u0000~\u0000%t\u0000\u0005rMax1q\u0000~\u0000)sq\u0000~\u0000\u000e\u0003\"\u00a0"
+"\u0098ppq\u0000~\u0000Asq\u0000~\u0000%t\u0000\u0005rMin1q\u0000~\u0000)sq\u0000~\u0000*\u0002Dl\u00b2ppsq\u0000~\u0000\u000e\u0002Dl\u00a7q\u0000~\u0000.psq\u0000~\u0000"
+"\u0011\u0001\u000e\u00be(ppsq\u0000~\u0000Mq\u0000~\u00004t\u0000\u000blengthUnitTq\u0000~\u0000 \u0000\u0000q\u0000~\u0000\u001bq\u0000~\u0000\u001bq\u0000~\u0000Tsq\u0000~\u0000U"
+"w\f\u0000\u0000\u0000\u0010?@\u0000\u0000\u0000\u0000\u0000\u0003t\u0000\u0001mt\u0000\u0002mmt\u0000\u0002cmxq\u0000~\u0000\"sq\u0000~\u0000#q\u0000~\u0000iq\u0000~\u00004sq\u0000~\u0000%t\u0000\nl"
+"engthUnitq\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$Cl"
+"osedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash"
+"\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u0000r[\u0000\u0005tablet\u0000![Lco"
+"m/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\r\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.gr"
+"ammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpppppppppppppppppppppppppp"
+"pppppppppppppq\u0000~\u0000+ppppppppppppppq\u0000~\u0000<pppppppq\u0000~\u0000\tppppppq\u0000~\u0000\u0005"
+"pppppppq\u0000~\u0000\npppppppppppppppppppppppq\u0000~\u0000eppppppppq\u0000~\u0000\u000bppppppp"
+"q\u0000~\u0000\rpppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0006ppppppppppppppp"
+"pq\u0000~\u0000Jq\u0000~\u0000\bppppq\u0000~\u0000\fpppppq\u0000~\u0000\u0007ppppppp"));
        }
        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.ConeTypeImpl.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  18 :
                        attIdx = context.getAttribute("", "rMax1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 21;
                            continue outer;
                        }
                        break;
                    case  24 :
                        attIdx = context.getAttribute("", "lengthUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText2(v);
                            state = 27;
                            continue outer;
                        }
                        state = 27;
                        continue outer;
                    case  3 :
                        attIdx = context.getAttribute("", "startPhi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText3(v);
                            state = 6;
                            continue outer;
                        }
                        state = 6;
                        continue outer;
                    case  9 :
                        attIdx = context.getAttribute("", "rMin2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText4(v);
                            state = 12;
                            continue outer;
                        }
                        break;
                    case  15 :
                        attIdx = context.getAttribute("", "rMax2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText5(v);
                            state = 18;
                            continue outer;
                        }
                        break;
                    case  28 :
                        revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
                        return ;
                    case  6 :
                        attIdx = context.getAttribute("", "dz");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText6(v);
                            state = 9;
                            continue outer;
                        }
                        break;
                    case  21 :
                        attIdx = context.getAttribute("", "rMin1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText7(v);
                            state = 24;
                            continue outer;
                        }
                        break;
                    case  12 :
                        attIdx = context.getAttribute("", "angleUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText8(v);
                            state = 15;
                            continue outer;
                        }
                        state = 15;
                        continue outer;
                    case  0 :
                        attIdx = context.getAttribute("", "deltaPhi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText9(v);
                            state = 3;
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  27 :
                        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 {
                _RMax1 = value;
            } catch (java.lang.Exception e) {
                handleParseConversionException(e);
            }
        }

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

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

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

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

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

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

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

        private void eatText9(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            try {
                _DeltaPhi = 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  18 :
                        attIdx = context.getAttribute("", "rMax1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 21;
                            continue outer;
                        }
                        break;
                    case  24 :
                        attIdx = context.getAttribute("", "lengthUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText2(v);
                            state = 27;
                            continue outer;
                        }
                        state = 27;
                        continue outer;
                    case  3 :
                        attIdx = context.getAttribute("", "startPhi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText3(v);
                            state = 6;
                            continue outer;
                        }
                        state = 6;
                        continue outer;
                    case  9 :
                        attIdx = context.getAttribute("", "rMin2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText4(v);
                            state = 12;
                            continue outer;
                        }
                        break;
                    case  15 :
                        attIdx = context.getAttribute("", "rMax2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText5(v);
                            state = 18;
                            continue outer;
                        }
                        break;
                    case  28 :
                        revertToParentFromLeaveElement(___uri, ___local, ___qname);
                        return ;
                    case  6 :
                        attIdx = context.getAttribute("", "dz");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText6(v);
                            state = 9;
                            continue outer;
                        }
                        break;
                    case  21 :
                        attIdx = context.getAttribute("", "rMin1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText7(v);
                            state = 24;
                            continue outer;
                        }
                        break;
                    case  12 :
                        attIdx = context.getAttribute("", "angleUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText8(v);
                            state = 15;
                            continue outer;
                        }
                        state = 15;
                        continue outer;
                    case  0 :
                        attIdx = context.getAttribute("", "deltaPhi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText9(v);
                            state = 3;
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  27 :
                        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  18 :
                        if (("rMax1" == ___local)&&("" == ___uri)) {
                            state = 19;
                            return ;
                        }
                        break;
                    case  24 :
                        if (("lengthUnit" == ___local)&&("" == ___uri)) {
                            state = 25;
                            return ;
                        }
                        state = 27;
                        continue outer;
                    case  3 :
                        if (("startPhi" == ___local)&&("" == ___uri)) {
                            state = 4;
                            return ;
                        }
                        state = 6;
                        continue outer;
                    case  9 :
                        if (("rMin2" == ___local)&&("" == ___uri)) {
                            state = 10;
                            return ;
                        }
                        break;
                    case  15 :
                        if (("rMax2" == ___local)&&("" == ___uri)) {
                            state = 16;
                            return ;
                        }
                        break;
                    case  28 :
                        revertToParentFromEnterAttribute(___uri, ___local, ___qname);
                        return ;
                    case  6 :
                        if (("dz" == ___local)&&("" == ___uri)) {
                            state = 7;
                            return ;
                        }
                        break;
                    case  21 :
                        if (("rMin1" == ___local)&&("" == ___uri)) {
                            state = 22;
                            return ;
                        }
                        break;
                    case  12 :
                        if (("angleUnit" == ___local)&&("" == ___uri)) {
                            state = 13;
                            return ;
                        }
                        state = 15;
                        continue outer;
                    case  0 :
                        if (("deltaPhi" == ___local)&&("" == ___uri)) {
                            state = 1;
                            return ;
                        }
                        state = 3;
                        continue outer;
                    case  27 :
                        if (("name" == ___local)&&("" == ___uri)) {
                            spawnHandlerFromEnterAttribute((((COJAC.DDLSchema.impl.SolidTypeImpl)COJAC.DDLSchema.impl.ConeTypeImpl.this).new Unmarshaller(context)), 28, ___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  18 :
                        attIdx = context.getAttribute("", "rMax1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 21;
                            continue outer;
                        }
                        break;
                    case  2 :
                        if (("deltaPhi" == ___local)&&("" == ___uri)) {
                            state = 3;
                            return ;
                        }
                        break;
                    case  17 :
                        if (("rMax2" == ___local)&&("" == ___uri)) {
                            state = 18;
                            return ;
                        }
                        break;
                    case  26 :
                        if (("lengthUnit" == ___local)&&("" == ___uri)) {
                            state = 27;
                            return ;
                        }
                        break;
                    case  14 :
                        if (("angleUnit" == ___local)&&("" == ___uri)) {
                            state = 15;
                            return ;
                        }
                        break;
                    case  24 :
                        attIdx = context.getAttribute("", "lengthUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText2(v);
                            state = 27;
                            continue outer;
                        }
                        state = 27;
                        continue outer;
                    case  5 :
                        if (("startPhi" == ___local)&&("" == ___uri)) {
                            state = 6;
                            return ;
                        }
                        break;
                    case  3 :
                        attIdx = context.getAttribute("", "startPhi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText3(v);
                            state = 6;
                            continue outer;
                        }
                        state = 6;
                        continue outer;
                    case  9 :
                        attIdx = context.getAttribute("", "rMin2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText4(v);
                            state = 12;
                            continue outer;
                        }
                        break;
                    case  15 :
                        attIdx = context.getAttribute("", "rMax2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText5(v);
                            state = 18;
                            continue outer;
                        }
                        break;
                    case  28 :
                        revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
                        return ;
                    case  20 :
                        if (("rMax1" == ___local)&&("" == ___uri)) {
                            state = 21;
                            return ;
                        }
                        break;
                    case  6 :
                        attIdx = context.getAttribute("", "dz");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText6(v);
                            state = 9;
                            continue outer;
                        }
                        break;
                    case  21 :
                        attIdx = context.getAttribute("", "rMin1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText7(v);
                            state = 24;
                            continue outer;
                        }
                        break;
                    case  23 :
                        if (("rMin1" == ___local)&&("" == ___uri)) {
                            state = 24;
                            return ;
                        }
                        break;
                    case  11 :
                        if (("rMin2" == ___local)&&("" == ___uri)) {
                            state = 12;
                            return ;
                        }
                        break;
                    case  12 :
                        attIdx = context.getAttribute("", "angleUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText8(v);
                            state = 15;
                            continue outer;
                        }
                        state = 15;
                        continue outer;
                    case  0 :
                        attIdx = context.getAttribute("", "deltaPhi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText9(v);
                            state = 3;
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  8 :
                        if (("dz" == ___local)&&("" == ___uri)) {
                            state = 9;
                            return ;
                        }
                        break;
                    case  27 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            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  19 :
                            eatText1(value);
                            state = 20;
                            return ;
                        case  18 :
                            attIdx = context.getAttribute("", "rMax1");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText1(v);
                                state = 21;
                                continue outer;
                            }
                            break;
                        case  13 :
                            eatText8(value);
                            state = 14;
                            return ;
                        case  10 :
                            eatText4(value);
                            state = 11;
                            return ;
                        case  4 :
                            eatText3(value);
                            state = 5;
                            return ;
                        case  24 :
                            attIdx = context.getAttribute("", "lengthUnit");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText2(v);
                                state = 27;
                                continue outer;
                            }
                            state = 27;
                            continue outer;
                        case  3 :
                            attIdx = context.getAttribute("", "startPhi");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText3(v);
                                state = 6;
                                continue outer;
                            }
                            state = 6;
                            continue outer;
                        case  9 :
                            attIdx = context.getAttribute("", "rMin2");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText4(v);
                                state = 12;
                                continue outer;
                            }
                            break;
                        case  15 :
                            attIdx = context.getAttribute("", "rMax2");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText5(v);
                                state = 18;
                                continue outer;
                            }
                            break;
                        case  1 :
                            eatText9(value);
                            state = 2;
                            return ;
                        case  7 :
                            eatText6(value);
                            state = 8;
                            return ;
                        case  28 :
                            revertToParentFromText(value);
                            return ;
                        case  16 :
                            eatText5(value);
                            state = 17;
                            return ;
                        case  6 :
                            attIdx = context.getAttribute("", "dz");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText6(v);
                                state = 9;
                                continue outer;
                            }
                            break;
                        case  21 :
                            attIdx = context.getAttribute("", "rMin1");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText7(v);
                                state = 24;
                                continue outer;
                            }
                            break;
                        case  25 :
                            eatText2(value);
                            state = 26;
                            return ;
                        case  22 :
                            eatText7(value);
                            state = 23;
                            return ;
                        case  12 :
                            attIdx = context.getAttribute("", "angleUnit");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText8(v);
                                state = 15;
                                continue outer;
                            }
                            state = 15;
                            continue outer;
                        case  0 :
                            attIdx = context.getAttribute("", "deltaPhi");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText9(v);
                                state = 3;
                                continue outer;
                            }
                            state = 3;
                            continue outer;
                        case  27 :
                            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;
            }
        }

    }

}
