//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.1-05/30/2003 05:06 AM(java_re)-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.05 at 11:43:44 PDT 
//


package DDLSchema.impl;

public class TrapezoidTypeImpl
    extends DDLSchema.impl.SolidTypeImpl
    implements DDLSchema.TrapezoidType, com.sun.xml.bind.JAXBObject, DDLSchema.impl.runtime.UnmarshallableObject, DDLSchema.impl.runtime.XMLSerializable, DDLSchema.impl.runtime.ValidatableObject
{

    protected java.lang.String _Tl1;
    protected java.lang.String _Alp1;
    protected java.lang.String _Dz;
    protected java.lang.String _Phi;
    protected java.lang.String _Tl2;
    protected java.lang.String _Theta;
    protected java.lang.String _Bl2;
    protected java.lang.String _Bl1;
    protected java.lang.String _H1;
    protected java.lang.String _AngleUnit;
    protected java.lang.String _Alp2;
    protected java.lang.String _LengthUnit;
    protected java.lang.String _H2;
    public final static java.lang.Class version = (DDLSchema.impl.JAXBVersion.class);
    private static com.sun.msv.grammar.Grammar schemaFragment;

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

    public java.lang.String getTl1() {
        return _Tl1;
    }

    public void setTl1(java.lang.String value) {
        _Tl1 = value;
    }

    public java.lang.String getAlp1() {
        return _Alp1;
    }

    public void setAlp1(java.lang.String value) {
        _Alp1 = value;
    }

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

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

    public java.lang.String getPhi() {
        return _Phi;
    }

    public void setPhi(java.lang.String value) {
        _Phi = value;
    }

    public java.lang.String getTl2() {
        return _Tl2;
    }

    public void setTl2(java.lang.String value) {
        _Tl2 = value;
    }

    public java.lang.String getTheta() {
        return _Theta;
    }

    public void setTheta(java.lang.String value) {
        _Theta = value;
    }

    public java.lang.String getBl2() {
        return _Bl2;
    }

    public void setBl2(java.lang.String value) {
        _Bl2 = value;
    }

    public java.lang.String getBl1() {
        return _Bl1;
    }

    public void setBl1(java.lang.String value) {
        _Bl1 = value;
    }

    public java.lang.String getH1() {
        return _H1;
    }

    public void setH1(java.lang.String value) {
        _H1 = value;
    }

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

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

    public java.lang.String getAlp2() {
        return _Alp2;
    }

    public void setAlp2(java.lang.String value) {
        _Alp2 = value;
    }

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

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

    public java.lang.String getH2() {
        return _H2;
    }

    public void setH2(java.lang.String value) {
        _H2 = value;
    }

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

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

    public void serializeAttributes(DDLSchema.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        context.startAttribute("", "h1");
        try {
            context.text(((java.lang.String) _H1));
        } catch (java.lang.Exception e) {
            DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        context.startAttribute("", "alp1");
        try {
            context.text(((java.lang.String) _Alp1));
        } catch (java.lang.Exception e) {
            DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        context.startAttribute("", "alp2");
        try {
            context.text(((java.lang.String) _Alp2));
        } catch (java.lang.Exception e) {
            DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        if (_Phi!= null) {
            context.startAttribute("", "phi");
            try {
                context.text(((java.lang.String) _Phi));
            } catch (java.lang.Exception e) {
                DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
        context.startAttribute("", "tl1");
        try {
            context.text(((java.lang.String) _Tl1));
        } catch (java.lang.Exception e) {
            DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        context.startAttribute("", "bl2");
        try {
            context.text(((java.lang.String) _Bl2));
        } catch (java.lang.Exception e) {
            DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        context.startAttribute("", "h2");
        try {
            context.text(((java.lang.String) _H2));
        } catch (java.lang.Exception e) {
            DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        context.startAttribute("", "dz");
        try {
            context.text(((java.lang.String) _Dz));
        } catch (java.lang.Exception e) {
            DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        if (_AngleUnit!= null) {
            context.startAttribute("", "angleUnit");
            try {
                context.text(((java.lang.String) _AngleUnit));
            } catch (java.lang.Exception e) {
                DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
        if (_LengthUnit!= null) {
            context.startAttribute("", "lengthUnit");
            try {
                context.text(((java.lang.String) _LengthUnit));
            } catch (java.lang.Exception e) {
                DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
        context.startAttribute("", "tl2");
        try {
            context.text(((java.lang.String) _Tl2));
        } catch (java.lang.Exception e) {
            DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        if (_Theta!= null) {
            context.startAttribute("", "theta");
            try {
                context.text(((java.lang.String) _Theta));
            } catch (java.lang.Exception e) {
                DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
        context.startAttribute("", "bl1");
        try {
            context.text(((java.lang.String) _Bl1));
        } catch (java.lang.Exception e) {
            DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        super.serializeAttributes(context);
    }

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

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

    public java.lang.Class getPrimaryInterface() {
        return (DDLSchema.TrapezoidType.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\u0017\u00d4zhppsq\u0000~\u0000\u0000\u0016}\u00fd\u00b9ppsq\u0000~\u0000\u0000\u0015"
+"-\u00f8\u009bppsq\u0000~\u0000\u0000\u0013\u008aCkppsq\u0000~\u0000\u0000\u0010\u00fa\u00d4\u0005ppsq\u0000~\u0000\u0000\u000e;\u00f6\u000bppsq\u0000~\u0000\u0000\f\u00fb\u00d5Sppsq\u0000~\u0000\u0000\n"
+"2\u00d6|ppsq\u0000~\u0000\u0000\b\u00fc\u0007Oppsq\u0000~\u0000\u0000\u0007\u0096<\u00efppsq\u0000~\u0000\u0000\u00072\u00bcXppsq\u0000~\u0000\u0000\u0005\u00a1\u00bc\u00e0ppsq\u0000~\u0000\u0000\u0004"
+"\u0005\r\u00eeppsr\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\u00017\u00ce\u001bp"
+"psr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/rela"
+"xng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/u"
+"til/StringPair;xq\u0000~\u0000\u0003\u0001.|zppsr\u0000#com.sun.msv.datatype.xsd.Stri"
+"ngType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.datatype.xs"
+"d.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.C"
+"oncreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatyp"
+"eImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeN"
+"ameq\u0000~\u0000\u001dL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpace"
+"Processor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006stringsr\u00005"
+"com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
+"\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
+"\u0002\u0000\u0000xp\u0001sr\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\tlocalNameq\u0000~\u0000\u001dL\u0000\fnamespaceURIq\u0000~\u0000\u001dxpq\u0000~\u0000!q\u0000~\u0000 sr\u0000#com."
+"sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001dL"
+"\u0000\fnamespaceURIq\u0000~\u0000\u001dxr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
+"\u0002\u0000\u0000xpt\u0000\u0004namet\u0000\u0000sq\u0000~\u0000\u0012\u0002\u00cd?\u00ceppsq\u0000~\u0000\u0015\u0001)#\u0006ppsr\u0000\'com.sun.msv.datat"
+"ype.xsd.FinalComponent\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\nfinalValuexr\u0000\u001ecom.sun.ms"
+"v.datatype.xsd.Proxy\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bbaseTypet\u0000)Lcom/sun/msv/da"
+"tatype/xsd/XSDatatypeImpl;xq\u0000~\u0000\u001ct\u0000\u001ahttp://www.cern.ch/cms/DD"
+"Lt\u0000\u0007lengthTq\u0000~\u0000$q\u0000~\u0000\u001f\u0000\u0000\u0000\u0000q\u0000~\u0000&sq\u0000~\u0000\'q\u0000~\u0000!q\u0000~\u00004sq\u0000~\u0000)t\u0000\u0002h1q\u0000~"
+"\u0000-sq\u0000~\u0000\u0012\u0001\u009c\u00ae\u00edppsq\u0000~\u0000\u0015\u0000?N\u00cdppsq\u0000~\u00000q\u0000~\u00004t\u0000\u0006angleTq\u0000~\u0000$q\u0000~\u0000\u001f\u0000\u0000\u0000\u0000"
+"q\u0000~\u0000&sq\u0000~\u0000\'q\u0000~\u0000!q\u0000~\u00004sq\u0000~\u0000)t\u0000\u0004alp1q\u0000~\u0000-sq\u0000~\u0000\u0012\u0001\u0090\u00ffsppq\u0000~\u0000:sq\u0000~"
+"\u0000)t\u0000\u0004alp2q\u0000~\u0000-sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq"
+"\u0000~\u0000\u0001\u0000c\u0080\u0092ppsq\u0000~\u0000\u0012\u0000c\u0080\u0087sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005value"
+"xp\u0000pq\u0000~\u0000:sq\u0000~\u0000)t\u0000\u0003phiq\u0000~\u0000-sr\u00000com.sun.msv.grammar.Expression"
+"$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tsq\u0000~\u0000F\u0001psq\u0000~\u0000\u0012\u0001e\u00ca[ppq"
+"\u0000~\u0000/sq\u0000~\u0000)t\u0000\u0003tl1q\u0000~\u0000-sq\u0000~\u0000\u0012\u00016\u00cf(ppq\u0000~\u0000/sq\u0000~\u0000)t\u0000\u0003bl2q\u0000~\u0000-sq\u0000~\u0000"
+"\u0012\u0002\u00c8\u00fe\u00d2ppq\u0000~\u0000/sq\u0000~\u0000)t\u0000\u0002h2q\u0000~\u0000-sq\u0000~\u0000\u0012\u0001@ \u00b3ppq\u0000~\u0000/sq\u0000~\u0000)t\u0000\u0002dzq\u0000~\u0000"
+"-sq\u0000~\u0000C\u0002\u00be\u00dd\u00f5ppsq\u0000~\u0000\u0012\u0002\u00be\u00dd\u00eaq\u0000~\u0000Gpsq\u0000~\u0000\u0015\u0001V\u00b3\u0096ppsr\u0000)com.sun.msv.dat"
+"atype.xsd.EnumerationFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0006valuest\u0000\u000fLjava/util/"
+"Set;xr\u00009com.sun.msv.datatype.xsd.DataTypeWithValueConstraint"
+"Facet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.DataTypeWithFac"
+"et\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFacetFixedZ\u0000\u0012needValueCheckFlagL\u0000\bbaseType"
+"q\u0000~\u00002L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/datatype/xsd/ConcreteTyp"
+"e;L\u0000\tfacetNameq\u0000~\u0000\u001dxq\u0000~\u0000\u001cq\u0000~\u00004t\u0000\nangleUnitTq\u0000~\u0000$\u0000\u0000q\u0000~\u0000\u001fq\u0000~\u0000\u001f"
+"t\u0000\u000benumerationsr\u0000\u0011java.util.HashSet\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~\u0000bq\u0000~\u00004sq\u0000~\u0000)t\u0000\tangleUnit"
+"q\u0000~\u0000-q\u0000~\u0000Ksq\u0000~\u0000C\u0002\u008foappsq\u0000~\u0000\u0012\u0002\u008foVq\u0000~\u0000Gpsq\u0000~\u0000\u0015\u0000\u00dc\u0097vppsq\u0000~\u0000\\q\u0000~\u0000"
+"4t\u0000\u000blengthUnitTq\u0000~\u0000$\u0000\u0000q\u0000~\u0000\u001fq\u0000~\u0000\u001fq\u0000~\u0000csq\u0000~\u0000dw\f\u0000\u0000\u0000\u0010?@\u0000\u0000\u0000\u0000\u0000\u0003t\u0000\u0001"
+"mt\u0000\u0002mmt\u0000\u0002cmxq\u0000~\u0000&sq\u0000~\u0000\'q\u0000~\u0000oq\u0000~\u00004sq\u0000~\u0000)t\u0000\nlengthUnitq\u0000~\u0000-q\u0000~"
+"\u0000Ksq\u0000~\u0000\u0012\u0001\u00a3\u00b5+ppq\u0000~\u0000/sq\u0000~\u0000)t\u0000\u0003tl2q\u0000~\u0000-sq\u0000~\u0000C\u0001P\u0005\u0019ppsq\u0000~\u0000\u0012\u0001P\u0005\u000eq\u0000"
+"~\u0000Gpq\u0000~\u0000:sq\u0000~\u0000)t\u0000\u0005thetaq\u0000~\u0000-q\u0000~\u0000Ksq\u0000~\u0000\u0012\u0001V|\u00aappq\u0000~\u0000/sq\u0000~\u0000)t\u0000\u0003b"
+"l1q\u0000~\u0000-sr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\be"
+"xpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xps"
+"r\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I"
+"\u0000\u0005countI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u0000\u0082[\u0000\u0005tablet\u0000![Lcom/sun/msv/gr"
+"ammar/Expression;xp\u0000\u0000\u0000\u0011\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expres"
+"sion;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfq\u0000~\u0000\u0007ppppq\u0000~\u0000Yppppppppq\u0000~\u0000\u000bppppppppppp"
+"ppppq\u0000~\u0000kppppppppppppppppq\u0000~\u0000Dq\u0000~\u0000\u000fpppppppq\u0000~\u0000zppppq\u0000~\u0000\u0006pppp"
+"ppppppppppppppppppppppq\u0000~\u0000\npppppppppq\u0000~\u0000\tpq\u0000~\u0000\u000eppppppppppq\u0000~"
+"\u0000\u0011ppppppq\u0000~\u0000\u0005ppppppppppq\u0000~\u0000\u0010pppq\u0000~\u0000\bpppppppppppq\u0000~\u0000\rpq\u0000~\u0000\fpp"
+"ppppppppppppppppppppppppppppppppppppppppp"));
        }
        return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
    }

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


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

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

        public java.lang.Object owner() {
            return DDLSchema.impl.TrapezoidTypeImpl.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  15 :
                        attIdx = context.getAttribute("", "bl2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText0(v);
                            state = 18;
                            continue outer;
                        }
                        break;
                    case  33 :
                        attIdx = context.getAttribute("", "theta");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 36;
                            continue outer;
                        }
                        state = 36;
                        continue outer;
                    case  18 :
                        attIdx = context.getAttribute("", "h2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText2(v);
                            state = 21;
                            continue outer;
                        }
                        break;
                    case  9 :
                        attIdx = context.getAttribute("", "phi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText3(v);
                            state = 12;
                            continue outer;
                        }
                        state = 12;
                        continue outer;
                    case  0 :
                        attIdx = context.getAttribute("", "h1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText4(v);
                            state = 3;
                            continue outer;
                        }
                        break;
                    case  39 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  36 :
                        attIdx = context.getAttribute("", "bl1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText5(v);
                            state = 39;
                            continue outer;
                        }
                        break;
                    case  30 :
                        attIdx = context.getAttribute("", "tl2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText6(v);
                            state = 33;
                            continue outer;
                        }
                        break;
                    case  27 :
                        attIdx = context.getAttribute("", "lengthUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText7(v);
                            state = 30;
                            continue outer;
                        }
                        state = 30;
                        continue outer;
                    case  12 :
                        attIdx = context.getAttribute("", "tl1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText8(v);
                            state = 15;
                            continue outer;
                        }
                        break;
                    case  3 :
                        attIdx = context.getAttribute("", "alp1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText9(v);
                            state = 6;
                            continue outer;
                        }
                        break;
                    case  6 :
                        attIdx = context.getAttribute("", "alp2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText10(v);
                            state = 9;
                            continue outer;
                        }
                        break;
                    case  24 :
                        attIdx = context.getAttribute("", "angleUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText11(v);
                            state = 27;
                            continue outer;
                        }
                        state = 27;
                        continue outer;
                    case  21 :
                        attIdx = context.getAttribute("", "dz");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText12(v);
                            state = 24;
                            continue outer;
                        }
                        break;
                    case  40 :
                        revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
                        return ;
                }
                super.enterElement(___uri, ___local, ___qname, __atts);
                break;
            }
        }

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

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

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

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

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

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

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

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

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

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

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

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

        private void eatText12(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            try {
                _Dz = 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  15 :
                        attIdx = context.getAttribute("", "bl2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText0(v);
                            state = 18;
                            continue outer;
                        }
                        break;
                    case  33 :
                        attIdx = context.getAttribute("", "theta");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 36;
                            continue outer;
                        }
                        state = 36;
                        continue outer;
                    case  18 :
                        attIdx = context.getAttribute("", "h2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText2(v);
                            state = 21;
                            continue outer;
                        }
                        break;
                    case  9 :
                        attIdx = context.getAttribute("", "phi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText3(v);
                            state = 12;
                            continue outer;
                        }
                        state = 12;
                        continue outer;
                    case  0 :
                        attIdx = context.getAttribute("", "h1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText4(v);
                            state = 3;
                            continue outer;
                        }
                        break;
                    case  39 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  36 :
                        attIdx = context.getAttribute("", "bl1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText5(v);
                            state = 39;
                            continue outer;
                        }
                        break;
                    case  30 :
                        attIdx = context.getAttribute("", "tl2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText6(v);
                            state = 33;
                            continue outer;
                        }
                        break;
                    case  27 :
                        attIdx = context.getAttribute("", "lengthUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText7(v);
                            state = 30;
                            continue outer;
                        }
                        state = 30;
                        continue outer;
                    case  12 :
                        attIdx = context.getAttribute("", "tl1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText8(v);
                            state = 15;
                            continue outer;
                        }
                        break;
                    case  3 :
                        attIdx = context.getAttribute("", "alp1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText9(v);
                            state = 6;
                            continue outer;
                        }
                        break;
                    case  6 :
                        attIdx = context.getAttribute("", "alp2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText10(v);
                            state = 9;
                            continue outer;
                        }
                        break;
                    case  24 :
                        attIdx = context.getAttribute("", "angleUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText11(v);
                            state = 27;
                            continue outer;
                        }
                        state = 27;
                        continue outer;
                    case  21 :
                        attIdx = context.getAttribute("", "dz");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText12(v);
                            state = 24;
                            continue outer;
                        }
                        break;
                    case  40 :
                        revertToParentFromLeaveElement(___uri, ___local, ___qname);
                        return ;
                }
                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  15 :
                        if (("bl2" == ___local)&&("" == ___uri)) {
                            state = 16;
                            return ;
                        }
                        break;
                    case  33 :
                        if (("theta" == ___local)&&("" == ___uri)) {
                            state = 34;
                            return ;
                        }
                        state = 36;
                        continue outer;
                    case  18 :
                        if (("h2" == ___local)&&("" == ___uri)) {
                            state = 19;
                            return ;
                        }
                        break;
                    case  9 :
                        if (("phi" == ___local)&&("" == ___uri)) {
                            state = 10;
                            return ;
                        }
                        state = 12;
                        continue outer;
                    case  0 :
                        if (("h1" == ___local)&&("" == ___uri)) {
                            state = 1;
                            return ;
                        }
                        break;
                    case  39 :
                        if (("name" == ___local)&&("" == ___uri)) {
                            spawnHandlerFromEnterAttribute((((DDLSchema.impl.SolidTypeImpl)DDLSchema.impl.TrapezoidTypeImpl.this).new Unmarshaller(context)), 40, ___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  36 :
                        if (("bl1" == ___local)&&("" == ___uri)) {
                            state = 37;
                            return ;
                        }
                        break;
                    case  30 :
                        if (("tl2" == ___local)&&("" == ___uri)) {
                            state = 31;
                            return ;
                        }
                        break;
                    case  27 :
                        if (("lengthUnit" == ___local)&&("" == ___uri)) {
                            state = 28;
                            return ;
                        }
                        state = 30;
                        continue outer;
                    case  12 :
                        if (("tl1" == ___local)&&("" == ___uri)) {
                            state = 13;
                            return ;
                        }
                        break;
                    case  3 :
                        if (("alp1" == ___local)&&("" == ___uri)) {
                            state = 4;
                            return ;
                        }
                        break;
                    case  6 :
                        if (("alp2" == ___local)&&("" == ___uri)) {
                            state = 7;
                            return ;
                        }
                        break;
                    case  24 :
                        if (("angleUnit" == ___local)&&("" == ___uri)) {
                            state = 25;
                            return ;
                        }
                        state = 27;
                        continue outer;
                    case  21 :
                        if (("dz" == ___local)&&("" == ___uri)) {
                            state = 22;
                            return ;
                        }
                        break;
                    case  40 :
                        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  15 :
                        attIdx = context.getAttribute("", "bl2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText0(v);
                            state = 18;
                            continue outer;
                        }
                        break;
                    case  33 :
                        attIdx = context.getAttribute("", "theta");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 36;
                            continue outer;
                        }
                        state = 36;
                        continue outer;
                    case  11 :
                        if (("phi" == ___local)&&("" == ___uri)) {
                            state = 12;
                            return ;
                        }
                        break;
                    case  5 :
                        if (("alp1" == ___local)&&("" == ___uri)) {
                            state = 6;
                            return ;
                        }
                        break;
                    case  8 :
                        if (("alp2" == ___local)&&("" == ___uri)) {
                            state = 9;
                            return ;
                        }
                        break;
                    case  17 :
                        if (("bl2" == ___local)&&("" == ___uri)) {
                            state = 18;
                            return ;
                        }
                        break;
                    case  18 :
                        attIdx = context.getAttribute("", "h2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText2(v);
                            state = 21;
                            continue outer;
                        }
                        break;
                    case  29 :
                        if (("lengthUnit" == ___local)&&("" == ___uri)) {
                            state = 30;
                            return ;
                        }
                        break;
                    case  9 :
                        attIdx = context.getAttribute("", "phi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText3(v);
                            state = 12;
                            continue outer;
                        }
                        state = 12;
                        continue outer;
                    case  0 :
                        attIdx = context.getAttribute("", "h1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText4(v);
                            state = 3;
                            continue outer;
                        }
                        break;
                    case  39 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  36 :
                        attIdx = context.getAttribute("", "bl1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText5(v);
                            state = 39;
                            continue outer;
                        }
                        break;
                    case  38 :
                        if (("bl1" == ___local)&&("" == ___uri)) {
                            state = 39;
                            return ;
                        }
                        break;
                    case  30 :
                        attIdx = context.getAttribute("", "tl2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText6(v);
                            state = 33;
                            continue outer;
                        }
                        break;
                    case  27 :
                        attIdx = context.getAttribute("", "lengthUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText7(v);
                            state = 30;
                            continue outer;
                        }
                        state = 30;
                        continue outer;
                    case  32 :
                        if (("tl2" == ___local)&&("" == ___uri)) {
                            state = 33;
                            return ;
                        }
                        break;
                    case  12 :
                        attIdx = context.getAttribute("", "tl1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText8(v);
                            state = 15;
                            continue outer;
                        }
                        break;
                    case  3 :
                        attIdx = context.getAttribute("", "alp1");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText9(v);
                            state = 6;
                            continue outer;
                        }
                        break;
                    case  2 :
                        if (("h1" == ___local)&&("" == ___uri)) {
                            state = 3;
                            return ;
                        }
                        break;
                    case  20 :
                        if (("h2" == ___local)&&("" == ___uri)) {
                            state = 21;
                            return ;
                        }
                        break;
                    case  35 :
                        if (("theta" == ___local)&&("" == ___uri)) {
                            state = 36;
                            return ;
                        }
                        break;
                    case  23 :
                        if (("dz" == ___local)&&("" == ___uri)) {
                            state = 24;
                            return ;
                        }
                        break;
                    case  6 :
                        attIdx = context.getAttribute("", "alp2");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText10(v);
                            state = 9;
                            continue outer;
                        }
                        break;
                    case  24 :
                        attIdx = context.getAttribute("", "angleUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText11(v);
                            state = 27;
                            continue outer;
                        }
                        state = 27;
                        continue outer;
                    case  26 :
                        if (("angleUnit" == ___local)&&("" == ___uri)) {
                            state = 27;
                            return ;
                        }
                        break;
                    case  14 :
                        if (("tl1" == ___local)&&("" == ___uri)) {
                            state = 15;
                            return ;
                        }
                        break;
                    case  21 :
                        attIdx = context.getAttribute("", "dz");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText12(v);
                            state = 24;
                            continue outer;
                        }
                        break;
                    case  40 :
                        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  34 :
                            eatText1(value);
                            state = 35;
                            return ;
                        case  15 :
                            attIdx = context.getAttribute("", "bl2");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText0(v);
                                state = 18;
                                continue outer;
                            }
                            break;
                        case  1 :
                            eatText4(value);
                            state = 2;
                            return ;
                        case  33 :
                            attIdx = context.getAttribute("", "theta");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText1(v);
                                state = 36;
                                continue outer;
                            }
                            state = 36;
                            continue outer;
                        case  16 :
                            eatText0(value);
                            state = 17;
                            return ;
                        case  25 :
                            eatText11(value);
                            state = 26;
                            return ;
                        case  18 :
                            attIdx = context.getAttribute("", "h2");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText2(v);
                                state = 21;
                                continue outer;
                            }
                            break;
                        case  9 :
                            attIdx = context.getAttribute("", "phi");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText3(v);
                                state = 12;
                                continue outer;
                            }
                            state = 12;
                            continue outer;
                        case  28 :
                            eatText7(value);
                            state = 29;
                            return ;
                        case  0 :
                            attIdx = context.getAttribute("", "h1");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText4(v);
                                state = 3;
                                continue outer;
                            }
                            break;
                        case  39 :
                            attIdx = context.getAttribute("", "name");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  36 :
                            attIdx = context.getAttribute("", "bl1");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText5(v);
                                state = 39;
                                continue outer;
                            }
                            break;
                        case  30 :
                            attIdx = context.getAttribute("", "tl2");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText6(v);
                                state = 33;
                                continue outer;
                            }
                            break;
                        case  27 :
                            attIdx = context.getAttribute("", "lengthUnit");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText7(v);
                                state = 30;
                                continue outer;
                            }
                            state = 30;
                            continue outer;
                        case  19 :
                            eatText2(value);
                            state = 20;
                            return ;
                        case  31 :
                            eatText6(value);
                            state = 32;
                            return ;
                        case  12 :
                            attIdx = context.getAttribute("", "tl1");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText8(v);
                                state = 15;
                                continue outer;
                            }
                            break;
                        case  22 :
                            eatText12(value);
                            state = 23;
                            return ;
                        case  7 :
                            eatText10(value);
                            state = 8;
                            return ;
                        case  4 :
                            eatText9(value);
                            state = 5;
                            return ;
                        case  3 :
                            attIdx = context.getAttribute("", "alp1");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText9(v);
                                state = 6;
                                continue outer;
                            }
                            break;
                        case  10 :
                            eatText3(value);
                            state = 11;
                            return ;
                        case  13 :
                            eatText8(value);
                            state = 14;
                            return ;
                        case  37 :
                            eatText5(value);
                            state = 38;
                            return ;
                        case  6 :
                            attIdx = context.getAttribute("", "alp2");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText10(v);
                                state = 9;
                                continue outer;
                            }
                            break;
                        case  24 :
                            attIdx = context.getAttribute("", "angleUnit");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText11(v);
                                state = 27;
                                continue outer;
                            }
                            state = 27;
                            continue outer;
                        case  21 :
                            attIdx = context.getAttribute("", "dz");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText12(v);
                                state = 24;
                                continue outer;
                            }
                            break;
                        case  40 :
                            revertToParentFromText(value);
                            return ;
                    }
                } catch (java.lang.RuntimeException e) {
                    handleUnexpectedTextException(value, e);
                }
                break;
            }
        }

    }

}
