//
// 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:23:00 PDT 
//


package CMSDDL.impl;

public class PolyhedraTypeImpl
    extends CMSDDL.impl.SolidTypeImpl
    implements CMSDDL.PolyhedraType, com.sun.xml.bind.JAXBObject, CMSDDL.impl.runtime.UnmarshallableObject, CMSDDL.impl.runtime.XMLSerializable, CMSDDL.impl.runtime.ValidatableObject
{

    protected java.lang.String _StartPhi;
    protected java.lang.String _DeltaPhi;
    protected com.sun.xml.bind.util.ListImpl _ZSection = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
    protected java.math.BigInteger _NumSide;
    protected com.sun.xml.bind.util.ListImpl _RZPoint = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
    protected java.lang.String _AngleUnit;
    public final static java.lang.Class version = (CMSDDL.impl.JAXBVersion.class);
    private static com.sun.msv.grammar.Grammar schemaFragment;

    private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
        return (CMSDDL.PolyhedraType.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.util.List getZSection() {
        return _ZSection;
    }

    public java.math.BigInteger getNumSide() {
        return _NumSide;
    }

    public void setNumSide(java.math.BigInteger value) {
        _NumSide = value;
    }

    public java.util.List getRZPoint() {
        return _RZPoint;
    }

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

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

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

    public void serializeElementBody(CMSDDL.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx3 = 0;
        final int len3 = _ZSection.size();
        int idx5 = 0;
        final int len5 = _RZPoint.size();
        super.serializeElementBody(context);
        if ((_ZSection.size() == 0)&&(_RZPoint.size()>= 1)) {
            while (idx5 != len5) {
                if (_RZPoint.get(idx5) instanceof javax.xml.bind.Element) {
                    context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RZPoint.get(idx5 ++)));
                } else {
                    context.startElement("http://www.cern.ch/cms/DDL", "RZPoint");
                    int idx_0 = idx5;
                    context.childAsURIs(((com.sun.xml.bind.JAXBObject) _RZPoint.get(idx_0 ++)));
                    context.endNamespaceDecls();
                    int idx_1 = idx5;
                    context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _RZPoint.get(idx_1 ++)));
                    context.endAttributes();
                    context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RZPoint.get(idx5 ++)));
                    context.endElement();
                }
            }
        } else {
            if ((_ZSection.size()>= 1)&&(_RZPoint.size() == 0)) {
                while (idx3 != len3) {
                    if (_ZSection.get(idx3) instanceof javax.xml.bind.Element) {
                        context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _ZSection.get(idx3 ++)));
                    } else {
                        context.startElement("http://www.cern.ch/cms/DDL", "ZSection");
                        int idx_2 = idx3;
                        context.childAsURIs(((com.sun.xml.bind.JAXBObject) _ZSection.get(idx_2 ++)));
                        context.endNamespaceDecls();
                        int idx_3 = idx3;
                        context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _ZSection.get(idx_3 ++)));
                        context.endAttributes();
                        context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _ZSection.get(idx3 ++)));
                        context.endElement();
                    }
                }
            }
        }
    }

    public void serializeAttributes(CMSDDL.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx3 = 0;
        final int len3 = _ZSection.size();
        int idx5 = 0;
        final int len5 = _RZPoint.size();
        if (_AngleUnit!= null) {
            context.startAttribute("", "angleUnit");
            try {
                context.text(((java.lang.String) _AngleUnit));
            } catch (java.lang.Exception e) {
                CMSDDL.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
        context.startAttribute("", "deltaPhi");
        try {
            context.text(((java.lang.String) _DeltaPhi));
        } catch (java.lang.Exception e) {
            CMSDDL.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        context.startAttribute("", "numSide");
        try {
            context.text(javax.xml.bind.DatatypeConverter.printInteger(((java.math.BigInteger) _NumSide)));
        } catch (java.lang.Exception e) {
            CMSDDL.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        context.startAttribute("", "startPhi");
        try {
            context.text(((java.lang.String) _StartPhi));
        } catch (java.lang.Exception e) {
            CMSDDL.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        super.serializeAttributes(context);
    }

    public void serializeAttributeBody(CMSDDL.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx3 = 0;
        final int len3 = _ZSection.size();
        int idx5 = 0;
        final int len5 = _RZPoint.size();
        super.serializeAttributeBody(context);
        if ((_ZSection.size() == 0)&&(_RZPoint.size()>= 1)) {
            while (idx5 != len5) {
                if (_RZPoint.get(idx5) instanceof javax.xml.bind.Element) {
                    context.childAsAttributeBody(((com.sun.xml.bind.JAXBObject) _RZPoint.get(idx5 ++)));
                } else {
                    context.startElement("http://www.cern.ch/cms/DDL", "RZPoint");
                    int idx_0 = idx5;
                    context.childAsURIs(((com.sun.xml.bind.JAXBObject) _RZPoint.get(idx_0 ++)));
                    context.endNamespaceDecls();
                    int idx_1 = idx5;
                    context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _RZPoint.get(idx_1 ++)));
                    context.endAttributes();
                    context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RZPoint.get(idx5 ++)));
                    context.endElement();
                }
            }
        } else {
            if ((_ZSection.size()>= 1)&&(_RZPoint.size() == 0)) {
                while (idx3 != len3) {
                    if (_ZSection.get(idx3) instanceof javax.xml.bind.Element) {
                        context.childAsAttributeBody(((com.sun.xml.bind.JAXBObject) _ZSection.get(idx3 ++)));
                    } else {
                        context.startElement("http://www.cern.ch/cms/DDL", "ZSection");
                        int idx_2 = idx3;
                        context.childAsURIs(((com.sun.xml.bind.JAXBObject) _ZSection.get(idx_2 ++)));
                        context.endNamespaceDecls();
                        int idx_3 = idx3;
                        context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _ZSection.get(idx_3 ++)));
                        context.endAttributes();
                        context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _ZSection.get(idx3 ++)));
                        context.endElement();
                    }
                }
            }
        }
    }

    public void serializeURIs(CMSDDL.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx3 = 0;
        final int len3 = _ZSection.size();
        int idx5 = 0;
        final int len5 = _RZPoint.size();
        super.serializeURIs(context);
    }

    public java.lang.Class getPrimaryInterface() {
        return (CMSDDL.PolyhedraType.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\f\f\u00e5\u0001ppsq\u0000~\u0000\u0000\np\u00feJppsq\u0000~\u0000\u0000\u0007"
+"\u0083n\u00f4ppsq\u0000~\u0000\u0000\u0005\u009bK\u00c1ppsq\u0000~\u0000\u0000\u0002i\u009c\u00ccppsr\u0000 com.sun.msv.grammar.Attribu"
+"teExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/gramm"
+"ar/NameClass;xq\u0000~\u0000\u0003\u00017\u00ce\u001bppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000"
+"\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002"
+"L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003\u0001.|zppsr\u0000#com.s"
+"un.msv.datatype.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%co"
+"m.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.ms"
+"v.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Lj"
+"ava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0015L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv"
+"/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/200"
+"1/XMLSchemat\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceP"
+"rocessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.Whi"
+"teSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expres"
+"sion$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\u0015L\u0000\fnamespaceURIq"
+"\u0000~\u0000\u0015xpq\u0000~\u0000\u0019q\u0000~\u0000\u0018sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000"
+"\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0015L\u0000\fnamespaceURIq\u0000~\u0000\u0015xr\u0000\u001dcom.sun.msv.g"
+"rammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004namet\u0000\u0000sr\u0000\u001dcom.sun.msv.gramm"
+"ar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u00011\u00ce\u00acppsq\u0000~\u0000\u0000\u0000\u0098\u00e7Uppsq\u0000~\u0000\u0000\u0000e\u00ef\u0083pps"
+"q\u0000~\u0000&\u00002\u00f7\u00bfppsr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000"
+"\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClassq\u0000~\u0000\u000bxr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000\u0000"
+"\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~"
+"\u0000\u0003\u0000\u0019{\u00e4pp\u0000sq\u0000~\u0000+\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000&\u0000\u0019{\u00ceppsr\u0000 com.sun.msv.grammar.On"
+"eOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
+"\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0000\u0019{\u00c3sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005"
+"valuexp\u0000psq\u0000~\u0000\n\u0000\u0019{\u00c0q\u0000~\u00004psr\u00002com.sun.msv.grammar.Expression$"
+"AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\bsq\u0000~\u00003\u0001q\u0000~\u00007sr\u0000 com."
+"sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\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\tq\u0000"
+"~\u00008psq\u0000~\u0000!t\u0000\u0012CMSDDL.RZPointTypet\u0000+http://java.sun.com/jaxb/x"
+"jc/dummy-elementssq\u0000~\u0000!t\u0000\u0007RZPointt\u0000\u001ahttp://www.cern.ch/cms/D"
+"DLsq\u0000~\u0000+\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000&\u0000\u0019{\u00ceppsq\u0000~\u00000\u0000\u0019{\u00c3q\u0000~\u00004psq\u0000~\u0000\n\u0000\u0019{\u00c0q\u0000~\u00004pq"
+"\u0000~\u00007q\u0000~\u0000:q\u0000~\u0000<sq\u0000~\u0000!t\u0000\u000eCMSDDL.RZPointq\u0000~\u0000?sq\u0000~\u0000&\u00002\u00f7\u00bfppsq\u0000~\u0000+"
+"\u0000\u0019{\u00e4pp\u0000sq\u0000~\u0000+\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000&\u0000\u0019{\u00ceppsq\u0000~\u00000\u0000\u0019{\u00c3q\u0000~\u00004psq\u0000~\u0000\n\u0000\u0019{\u00c0q\u0000"
+"~\u00004pq\u0000~\u00007q\u0000~\u0000:q\u0000~\u0000<sq\u0000~\u0000!q\u0000~\u0000>q\u0000~\u0000?q\u0000~\u0000@sq\u0000~\u0000+\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000&\u0000"
+"\u0019{\u00ceppsq\u0000~\u00000\u0000\u0019{\u00c3q\u0000~\u00004psq\u0000~\u0000\n\u0000\u0019{\u00c0q\u0000~\u00004pq\u0000~\u00007q\u0000~\u0000:q\u0000~\u0000<sq\u0000~\u0000!q\u0000"
+"~\u0000Hq\u0000~\u0000?sq\u0000~\u0000&\u00002\u00f7\u00cdppsq\u0000~\u00000\u00002\u00f7\u00c2q\u0000~\u00004psq\u0000~\u0000&\u00002\u00f7\u00bfq\u0000~\u00004psq\u0000~\u0000+\u0000\u0019"
+"{\u00e4q\u0000~\u00004p\u0000sq\u0000~\u0000+\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000&\u0000\u0019{\u00ceppsq\u0000~\u00000\u0000\u0019{\u00c3q\u0000~\u00004psq\u0000~\u0000\n\u0000\u0019{\u00c0"
+"q\u0000~\u00004pq\u0000~\u00007q\u0000~\u0000:q\u0000~\u0000<sq\u0000~\u0000!q\u0000~\u0000>q\u0000~\u0000?q\u0000~\u0000@sq\u0000~\u0000+\u0000\u0019{\u00d9q\u0000~\u00004p\u0000s"
+"q\u0000~\u0000&\u0000\u0019{\u00ceppsq\u0000~\u00000\u0000\u0019{\u00c3q\u0000~\u00004psq\u0000~\u0000\n\u0000\u0019{\u00c0q\u0000~\u00004pq\u0000~\u00007q\u0000~\u0000:q\u0000~\u0000<sq"
+"\u0000~\u0000!q\u0000~\u0000Hq\u0000~\u0000?q\u0000~\u0000<sq\u0000~\u0000\u0000\u0000\u0098\u00e7Uppsq\u0000~\u0000\u0000\u0000e\u00ef\u0083ppsq\u0000~\u0000&\u00002\u00f7\u00bfppsq\u0000~\u0000"
+"+\u0000\u0019{\u00e4pp\u0000sq\u0000~\u0000+\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000&\u0000\u0019{\u00ceppsq\u0000~\u00000\u0000\u0019{\u00c3q\u0000~\u00004psq\u0000~\u0000\n\u0000\u0019{\u00c0q"
+"\u0000~\u00004pq\u0000~\u00007q\u0000~\u0000:q\u0000~\u0000<sq\u0000~\u0000!t\u0000\u0013CMSDDL.ZSectionTypeq\u0000~\u0000?sq\u0000~\u0000!t"
+"\u0000\bZSectionq\u0000~\u0000Bsq\u0000~\u0000+\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000&\u0000\u0019{\u00ceppsq\u0000~\u00000\u0000\u0019{\u00c3q\u0000~\u00004psq\u0000~"
+"\u0000\n\u0000\u0019{\u00c0q\u0000~\u00004pq\u0000~\u00007q\u0000~\u0000:q\u0000~\u0000<sq\u0000~\u0000!t\u0000\u000fCMSDDL.ZSectionq\u0000~\u0000?sq\u0000~"
+"\u0000&\u00002\u00f7\u00bfppsq\u0000~\u0000+\u0000\u0019{\u00e4pp\u0000sq\u0000~\u0000+\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000&\u0000\u0019{\u00ceppsq\u0000~\u00000\u0000\u0019{\u00c3q\u0000~\u0000"
+"4psq\u0000~\u0000\n\u0000\u0019{\u00c0q\u0000~\u00004pq\u0000~\u00007q\u0000~\u0000:q\u0000~\u0000<sq\u0000~\u0000!q\u0000~\u0000lq\u0000~\u0000?q\u0000~\u0000msq\u0000~\u0000+"
+"\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000&\u0000\u0019{\u00ceppsq\u0000~\u00000\u0000\u0019{\u00c3q\u0000~\u00004psq\u0000~\u0000\n\u0000\u0019{\u00c0q\u0000~\u00004pq\u0000~\u00007q\u0000~\u0000"
+":q\u0000~\u0000<sq\u0000~\u0000!q\u0000~\u0000tq\u0000~\u0000?sq\u0000~\u0000&\u00002\u00f7\u00cdppsq\u0000~\u00000\u00002\u00f7\u00c2q\u0000~\u00004psq\u0000~\u0000&\u00002\u00f7\u00bf"
+"q\u0000~\u00004psq\u0000~\u0000+\u0000\u0019{\u00e4q\u0000~\u00004p\u0000sq\u0000~\u0000+\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000&\u0000\u0019{\u00ceppsq\u0000~\u00000\u0000\u0019{\u00c3q\u0000"
+"~\u00004psq\u0000~\u0000\n\u0000\u0019{\u00c0q\u0000~\u00004pq\u0000~\u00007q\u0000~\u0000:q\u0000~\u0000<sq\u0000~\u0000!q\u0000~\u0000lq\u0000~\u0000?q\u0000~\u0000msq\u0000~"
+"\u0000+\u0000\u0019{\u00d9q\u0000~\u00004p\u0000sq\u0000~\u0000&\u0000\u0019{\u00ceppsq\u0000~\u00000\u0000\u0019{\u00c3q\u0000~\u00004psq\u0000~\u0000\n\u0000\u0019{\u00c0q\u0000~\u00004pq\u0000~"
+"\u00007q\u0000~\u0000:q\u0000~\u0000<sq\u0000~\u0000!q\u0000~\u0000tq\u0000~\u0000?q\u0000~\u0000<sq\u0000~\u0000&\u00031\u00ae\u00f0ppsq\u0000~\u0000\n\u00031\u00ae\u00e5q\u0000~\u00004"
+"psq\u0000~\u0000\r\u0001V\u00b3\u0096ppsr\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"
+".xsd.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\fisFacetFixed"
+"Z\u0000\u0012needValueCheckFlagL\u0000\bbaseTypet\u0000)Lcom/sun/msv/datatype/xsd"
+"/XSDatatypeImpl;L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/datatype/xsd/"
+"ConcreteType;L\u0000\tfacetNameq\u0000~\u0000\u0015xq\u0000~\u0000\u0014q\u0000~\u0000Bt\u0000\nangleUnitTq\u0000~\u0000\u001c\u0000"
+"\u0000q\u0000~\u0000\u0017q\u0000~\u0000\u0017t\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\u001esq\u0000~\u0000\u001fq\u0000~\u0000\u0099q\u0000~\u0000Bsq\u0000~\u0000!t"
+"\u0000\tangleUnitq\u0000~\u0000%q\u0000~\u0000<sq\u0000~\u0000\n\u0001\u00e8#.ppsq\u0000~\u0000\r\u0000?N\u00cdppsr\u0000\'com.sun.msv"
+".datatype.xsd.FinalComponent\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\bbaseTypeq\u0000~\u0000\u0096xq\u0000~\u0000\u0014q"
+"\u0000~\u0000Bt\u0000\u0006angleTq\u0000~\u0000\u001cq\u0000~\u0000\u0017\u0000\u0000\u0000\u0000q\u0000~\u0000\u001esq\u0000~\u0000\u001fq\u0000~\u0000\u0019q\u0000~\u0000Bsq\u0000~\u0000!t\u0000\bdel"
+"taPhiq\u0000~\u0000%sq\u0000~\u0000\n\u0002\u00ed\u008fQppsq\u0000~\u0000\r\u0001\u00de\u0089+ppsr\u0000,com.sun.msv.datatype.x"
+"sd.PositiveIntegerType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000$com.sun.msv.datatype.xs"
+"d.IntegerType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000+com.sun.msv.datatype.xsd.Integer"
+"DerivedType\u0099\u00f1]\u0090&6k\u00be\u0002\u0000\u0001L\u0000\nbaseFacetsq\u0000~\u0000\u0096xq\u0000~\u0000\u0012q\u0000~\u0000\u0018t\u0000\u000fpositi"
+"veIntegersr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Co"
+"llapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001bsr\u0000*com.sun.msv.datatype.xsd.MinInclu"
+"siveFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.msv.datatype.xsd.RangeFacet\u0000"
+"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\nlimitValuet\u0000\u0012Ljava/lang/Object;xq\u0000~\u0000\u0094ppq\u0000~\u0000\u00b3\u0000\u0000s"
+"r\u0000/com.sun.msv.datatype.xsd.NonNegativeIntegerType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000"
+"\u0000xq\u0000~\u0000\u00aeq\u0000~\u0000\u0018t\u0000\u0012nonNegativeIntegerq\u0000~\u0000\u00b3sq\u0000~\u0000\u00b4ppq\u0000~\u0000\u00b3\u0000\u0000sq\u0000~\u0000\u00aeq"
+"\u0000~\u0000\u0018t\u0000\u0007integerq\u0000~\u0000\u00b3sr\u0000,com.sun.msv.datatype.xsd.FractionDigi"
+"tsFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\u0005scalexr\u0000;com.sun.msv.datatype.xsd.DataT"
+"ypeWithLexicalConstraintFacetT\u0090\u001c>\u001azb\u00ea\u0002\u0000\u0000xq\u0000~\u0000\u0095ppq\u0000~\u0000\u00b3\u0001\u0000sr\u0000#c"
+"om.sun.msv.datatype.xsd.NumberType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0012q\u0000~\u0000\u0018t\u0000\u0007d"
+"ecimalq\u0000~\u0000\u00b3q\u0000~\u0000\u00c2t\u0000\u000efractionDigits\u0000\u0000\u0000\u0000q\u0000~\u0000\u00bct\u0000\fminInclusivesr\u0000"
+")com.sun.msv.datatype.xsd.IntegerValueType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0005valu"
+"eq\u0000~\u0000\u0015xr\u0000\u0010java.lang.Number\u0086\u00ac\u0095\u001d\u000b\u0094\u00e0\u008b\u0002\u0000\u0000xpt\u0000\u00010q\u0000~\u0000\u00b9q\u0000~\u0000\u00c5sq\u0000~\u0000\u00c6t"
+"\u0000\u00011q\u0000~\u0000\u001esq\u0000~\u0000\u001fq\u0000~\u0000\u00b1q\u0000~\u0000\u0018sq\u0000~\u0000!t\u0000\u0007numSideq\u0000~\u0000%sq\u0000~\u0000\n\u0001\u009b\u00e6\u00b2ppq\u0000~"
+"\u0000\u00a3sq\u0000~\u0000!t\u0000\bstartPhiq\u0000~\u0000%sr\u0000\"com.sun.msv.grammar.ExpressionPo"
+"ol\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPo"
+"ol$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$Close"
+"dHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u0000\u00d3[\u0000\u0005tablet\u0000"
+"![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000-\u0000\u0000\u00009pur\u0000![Lcom.sun.m"
+"sv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfq\u0000~\u0000\u0086q\u0000~\u0000\u008cq\u0000~\u0000\u008bpppppp"
+"ppppppq\u0000~\u0000*q\u0000~\u0000Iq\u0000~\u0000Wq\u0000~\u0000Vq\u0000~\u0000eq\u0000~\u0000uq\u0000~\u0000\u0083q\u0000~\u0000\u0082ppppppq\u0000~\u0000Uq\u0000~"
+"\u0000\u0081ppppq\u0000~\u0000)q\u0000~\u0000dppppppppppppppppq\u0000~\u0000\u0007pppppq\u0000~\u0000\u0005ppppq\u0000~\u0000\bpppp"
+"q\u0000~\u0000(q\u0000~\u0000cppppppppppppppppq\u0000~\u0000\tppppppppppppppppppppppppq\u0000~\u0000\u0006"
+"pppppppppppppppppppppppppppq\u0000~\u0000\'ppppppppppppppppppppppq\u0000~\u0000\u008fp"
+"pppppq\u0000~\u00002q\u0000~\u0000Eq\u0000~\u0000Mq\u0000~\u0000Rq\u0000~\u0000[q\u0000~\u0000`q\u0000~\u0000iq\u0000~\u0000qq\u0000~\u0000yq\u0000~\u0000~q\u0000~\u0000\u0087"
+"q\u0000~\u0000/q\u0000~\u0000Dq\u0000~\u0000Lq\u0000~\u0000Qq\u0000~\u0000Zq\u0000~\u0000_q\u0000~\u0000hq\u0000~\u0000pq\u0000~\u0000xq\u0000~\u0000}"));
        }
        return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
    }

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


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

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

        public java.lang.Object owner() {
            return CMSDDL.impl.PolyhedraTypeImpl.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  14 :
                        attIdx = context.getAttribute("", "z");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  9 :
                        attIdx = context.getAttribute("", "startPhi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText0(v);
                            state = 12;
                            continue outer;
                        }
                        break;
                    case  17 :
                        attIdx = context.getAttribute("", "rMax");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  16 :
                        if (("RZPoint" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 14;
                            return ;
                        }
                        if (("ZSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 17;
                            return ;
                        }
                        revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
                        return ;
                    case  6 :
                        attIdx = context.getAttribute("", "numSide");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 9;
                            continue outer;
                        }
                        break;
                    case  13 :
                        if (("RZPoint" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 14;
                            return ;
                        }
                        if (("ZSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 17;
                            return ;
                        }
                        break;
                    case  0 :
                        attIdx = context.getAttribute("", "angleUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText2(v);
                            state = 3;
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  12 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  3 :
                        attIdx = context.getAttribute("", "deltaPhi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText3(v);
                            state = 6;
                            continue outer;
                        }
                        break;
                }
                super.enterElement(___uri, ___local, ___qname, __atts);
                break;
            }
        }

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

        private void eatText1(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            try {
                _NumSide = javax.xml.bind.DatatypeConverter.parseInteger(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value));
            } catch (java.lang.Exception e) {
                handleParseConversionException(e);
            }
        }

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

        private void eatText3(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  14 :
                        attIdx = context.getAttribute("", "z");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  9 :
                        attIdx = context.getAttribute("", "startPhi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText0(v);
                            state = 12;
                            continue outer;
                        }
                        break;
                    case  17 :
                        attIdx = context.getAttribute("", "rMax");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  16 :
                        revertToParentFromLeaveElement(___uri, ___local, ___qname);
                        return ;
                    case  15 :
                        if (("RZPoint" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.popAttributes();
                            state = 16;
                            return ;
                        }
                        break;
                    case  18 :
                        if (("ZSection" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.popAttributes();
                            state = 16;
                            return ;
                        }
                        break;
                    case  6 :
                        attIdx = context.getAttribute("", "numSide");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 9;
                            continue outer;
                        }
                        break;
                    case  0 :
                        attIdx = context.getAttribute("", "angleUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText2(v);
                            state = 3;
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  12 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  3 :
                        attIdx = context.getAttribute("", "deltaPhi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText3(v);
                            state = 6;
                            continue outer;
                        }
                        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  14 :
                        if (("z" == ___local)&&("" == ___uri)) {
                            _RZPoint.add(((CMSDDL.impl.RZPointTypeImpl) spawnChildFromEnterAttribute((CMSDDL.impl.RZPointTypeImpl.class), 15, ___uri, ___local, ___qname)));
                            return ;
                        }
                        break;
                    case  9 :
                        if (("startPhi" == ___local)&&("" == ___uri)) {
                            state = 10;
                            return ;
                        }
                        break;
                    case  17 :
                        if (("rMax" == ___local)&&("" == ___uri)) {
                            _ZSection.add(((CMSDDL.impl.ZSectionTypeImpl) spawnChildFromEnterAttribute((CMSDDL.impl.ZSectionTypeImpl.class), 18, ___uri, ___local, ___qname)));
                            return ;
                        }
                        break;
                    case  16 :
                        revertToParentFromEnterAttribute(___uri, ___local, ___qname);
                        return ;
                    case  6 :
                        if (("numSide" == ___local)&&("" == ___uri)) {
                            state = 7;
                            return ;
                        }
                        break;
                    case  0 :
                        if (("angleUnit" == ___local)&&("" == ___uri)) {
                            state = 1;
                            return ;
                        }
                        state = 3;
                        continue outer;
                    case  12 :
                        if (("name" == ___local)&&("" == ___uri)) {
                            spawnHandlerFromEnterAttribute((((CMSDDL.impl.SolidTypeImpl)CMSDDL.impl.PolyhedraTypeImpl.this).new Unmarshaller(context)), 13, ___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  3 :
                        if (("deltaPhi" == ___local)&&("" == ___uri)) {
                            state = 4;
                            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  8 :
                        if (("numSide" == ___local)&&("" == ___uri)) {
                            state = 9;
                            return ;
                        }
                        break;
                    case  11 :
                        if (("startPhi" == ___local)&&("" == ___uri)) {
                            state = 12;
                            return ;
                        }
                        break;
                    case  14 :
                        attIdx = context.getAttribute("", "z");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  9 :
                        attIdx = context.getAttribute("", "startPhi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText0(v);
                            state = 12;
                            continue outer;
                        }
                        break;
                    case  17 :
                        attIdx = context.getAttribute("", "rMax");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  16 :
                        revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
                        return ;
                    case  5 :
                        if (("deltaPhi" == ___local)&&("" == ___uri)) {
                            state = 6;
                            return ;
                        }
                        break;
                    case  6 :
                        attIdx = context.getAttribute("", "numSide");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 9;
                            continue outer;
                        }
                        break;
                    case  0 :
                        attIdx = context.getAttribute("", "angleUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText2(v);
                            state = 3;
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  12 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  2 :
                        if (("angleUnit" == ___local)&&("" == ___uri)) {
                            state = 3;
                            return ;
                        }
                        break;
                    case  3 :
                        attIdx = context.getAttribute("", "deltaPhi");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText3(v);
                            state = 6;
                            continue outer;
                        }
                        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  1 :
                            eatText2(value);
                            state = 2;
                            return ;
                        case  4 :
                            eatText3(value);
                            state = 5;
                            return ;
                        case  14 :
                            attIdx = context.getAttribute("", "z");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  9 :
                            attIdx = context.getAttribute("", "startPhi");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText0(v);
                                state = 12;
                                continue outer;
                            }
                            break;
                        case  17 :
                            attIdx = context.getAttribute("", "rMax");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  16 :
                            revertToParentFromText(value);
                            return ;
                        case  6 :
                            attIdx = context.getAttribute("", "numSide");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText1(v);
                                state = 9;
                                continue outer;
                            }
                            break;
                        case  7 :
                            eatText1(value);
                            state = 8;
                            return ;
                        case  0 :
                            attIdx = context.getAttribute("", "angleUnit");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText2(v);
                                state = 3;
                                continue outer;
                            }
                            state = 3;
                            continue outer;
                        case  12 :
                            attIdx = context.getAttribute("", "name");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  3 :
                            attIdx = context.getAttribute("", "deltaPhi");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText3(v);
                                state = 6;
                                continue outer;
                            }
                            break;
                        case  10 :
                            eatText0(value);
                            state = 11;
                            return ;
                    }
                } catch (java.lang.RuntimeException e) {
                    handleUnexpectedTextException(value, e);
                }
                break;
            }
        }

    }

}
