//
// 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 PosPartTypeImpl implements CMSDDL.PosPartType, com.sun.xml.bind.JAXBObject, CMSDDL.impl.runtime.UnmarshallableObject, CMSDDL.impl.runtime.XMLSerializable, CMSDDL.impl.runtime.ValidatableObject
{

    protected CMSDDL.TranslationType _Translation;
    protected CMSDDL.ReferenceType _RReflectionRotation;
    protected CMSDDL.RotationType _ReflectionRotation;
    protected CMSDDL.ReferenceType _RParent;
    protected CMSDDL.ReferenceType _RRotation;
    protected java.lang.String _CopyNumber;
    protected CMSDDL.AlgoPosPartType _AlgoPosPart;
    protected CMSDDL.ReferenceType _RChild;
    protected CMSDDL.RotationType _Rotation;
    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.PosPartType.class);
    }

    public CMSDDL.TranslationType getTranslation() {
        return _Translation;
    }

    public void setTranslation(CMSDDL.TranslationType value) {
        _Translation = value;
    }

    public CMSDDL.ReferenceType getRReflectionRotation() {
        return _RReflectionRotation;
    }

    public void setRReflectionRotation(CMSDDL.ReferenceType value) {
        _RReflectionRotation = value;
    }

    public CMSDDL.RotationType getReflectionRotation() {
        return _ReflectionRotation;
    }

    public void setReflectionRotation(CMSDDL.RotationType value) {
        _ReflectionRotation = value;
    }

    public CMSDDL.ReferenceType getRParent() {
        return _RParent;
    }

    public void setRParent(CMSDDL.ReferenceType value) {
        _RParent = value;
    }

    public CMSDDL.ReferenceType getRRotation() {
        return _RRotation;
    }

    public void setRRotation(CMSDDL.ReferenceType value) {
        _RRotation = value;
    }

    public java.lang.String getCopyNumber() {
        return _CopyNumber;
    }

    public void setCopyNumber(java.lang.String value) {
        _CopyNumber = value;
    }

    public CMSDDL.AlgoPosPartType getAlgoPosPart() {
        return _AlgoPosPart;
    }

    public void setAlgoPosPart(CMSDDL.AlgoPosPartType value) {
        _AlgoPosPart = value;
    }

    public CMSDDL.ReferenceType getRChild() {
        return _RChild;
    }

    public void setRChild(CMSDDL.ReferenceType value) {
        _RChild = value;
    }

    public CMSDDL.RotationType getRotation() {
        return _Rotation;
    }

    public void setRotation(CMSDDL.RotationType value) {
        _Rotation = value;
    }

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

    public void serializeElementBody(CMSDDL.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        if (_RParent instanceof javax.xml.bind.Element) {
            context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RParent));
        } else {
            context.startElement("http://www.cern.ch/cms/DDL", "rParent");
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _RParent));
            context.endNamespaceDecls();
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _RParent));
            context.endAttributes();
            context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RParent));
            context.endElement();
        }
        if (_RChild instanceof javax.xml.bind.Element) {
            context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RChild));
        } else {
            context.startElement("http://www.cern.ch/cms/DDL", "rChild");
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _RChild));
            context.endNamespaceDecls();
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _RChild));
            context.endAttributes();
            context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RChild));
            context.endElement();
        }
        if (_AlgoPosPart == null) {
            if (true) {
                if ((((_RRotation == null)&&(_ReflectionRotation == null))&&(_Rotation!= null))&&(_RReflectionRotation == null)) {
                    if (_Rotation instanceof javax.xml.bind.Element) {
                        context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _Rotation));
                    } else {
                        context.startElement("http://www.cern.ch/cms/DDL", "Rotation");
                        context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Rotation));
                        context.endNamespaceDecls();
                        context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Rotation));
                        context.endAttributes();
                        context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _Rotation));
                        context.endElement();
                    }
                } else {
                    if ((((_RRotation!= null)&&(_ReflectionRotation == null))&&(_Rotation == null))&&(_RReflectionRotation == null)) {
                        if (_RRotation instanceof javax.xml.bind.Element) {
                            context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RRotation));
                        } else {
                            context.startElement("http://www.cern.ch/cms/DDL", "rRotation");
                            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _RRotation));
                            context.endNamespaceDecls();
                            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _RRotation));
                            context.endAttributes();
                            context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RRotation));
                            context.endElement();
                        }
                    } else {
                        if ((((_RRotation == null)&&(_ReflectionRotation!= null))&&(_Rotation == null))&&(_RReflectionRotation == null)) {
                            if (_ReflectionRotation instanceof javax.xml.bind.Element) {
                                context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _ReflectionRotation));
                            } else {
                                context.startElement("http://www.cern.ch/cms/DDL", "ReflectionRotation");
                                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _ReflectionRotation));
                                context.endNamespaceDecls();
                                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _ReflectionRotation));
                                context.endAttributes();
                                context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _ReflectionRotation));
                                context.endElement();
                            }
                        } else {
                            if ((((_RRotation == null)&&(_ReflectionRotation == null))&&(_Rotation == null))&&(_RReflectionRotation!= null)) {
                                if (_RReflectionRotation instanceof javax.xml.bind.Element) {
                                    context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RReflectionRotation));
                                } else {
                                    context.startElement("http://www.cern.ch/cms/DDL", "rReflectionRotation");
                                    context.childAsURIs(((com.sun.xml.bind.JAXBObject) _RReflectionRotation));
                                    context.endNamespaceDecls();
                                    context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _RReflectionRotation));
                                    context.endAttributes();
                                    context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RReflectionRotation));
                                    context.endElement();
                                }
                            }
                        }
                    }
                }
            }
            if (_Translation!= null) {
                if (_Translation instanceof javax.xml.bind.Element) {
                    context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _Translation));
                } else {
                    context.startElement("http://www.cern.ch/cms/DDL", "Translation");
                    context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Translation));
                    context.endNamespaceDecls();
                    context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Translation));
                    context.endAttributes();
                    context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _Translation));
                    context.endElement();
                }
            }
        } else {
            if (((((_Translation == null)&&(_RRotation == null))&&(_ReflectionRotation == null))&&(_Rotation == null))&&(_RReflectionRotation == null)) {
                if (_AlgoPosPart!= null) {
                    if (_AlgoPosPart instanceof javax.xml.bind.Element) {
                        context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _AlgoPosPart));
                    } else {
                        context.startElement("http://www.cern.ch/cms/DDL", "AlgoPosPart");
                        context.childAsURIs(((com.sun.xml.bind.JAXBObject) _AlgoPosPart));
                        context.endNamespaceDecls();
                        context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _AlgoPosPart));
                        context.endAttributes();
                        context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _AlgoPosPart));
                        context.endElement();
                    }
                }
            }
        }
    }

    public void serializeAttributes(CMSDDL.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        if (_CopyNumber!= null) {
            context.startAttribute("", "copyNumber");
            try {
                context.text(((java.lang.String) _CopyNumber));
            } catch (java.lang.Exception e) {
                CMSDDL.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
    }

    public void serializeAttributeBody(CMSDDL.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        if (_RParent instanceof javax.xml.bind.Element) {
            context.childAsAttributeBody(((com.sun.xml.bind.JAXBObject) _RParent));
        } else {
            context.startElement("http://www.cern.ch/cms/DDL", "rParent");
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _RParent));
            context.endNamespaceDecls();
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _RParent));
            context.endAttributes();
            context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RParent));
            context.endElement();
        }
        if (_RChild instanceof javax.xml.bind.Element) {
            context.childAsAttributeBody(((com.sun.xml.bind.JAXBObject) _RChild));
        } else {
            context.startElement("http://www.cern.ch/cms/DDL", "rChild");
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _RChild));
            context.endNamespaceDecls();
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _RChild));
            context.endAttributes();
            context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RChild));
            context.endElement();
        }
        if (_AlgoPosPart == null) {
            if (true) {
                if ((((_RRotation == null)&&(_ReflectionRotation == null))&&(_Rotation!= null))&&(_RReflectionRotation == null)) {
                    if (_Rotation instanceof javax.xml.bind.Element) {
                        context.childAsAttributeBody(((com.sun.xml.bind.JAXBObject) _Rotation));
                    } else {
                        context.startElement("http://www.cern.ch/cms/DDL", "Rotation");
                        context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Rotation));
                        context.endNamespaceDecls();
                        context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Rotation));
                        context.endAttributes();
                        context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _Rotation));
                        context.endElement();
                    }
                } else {
                    if ((((_RRotation!= null)&&(_ReflectionRotation == null))&&(_Rotation == null))&&(_RReflectionRotation == null)) {
                        if (_RRotation instanceof javax.xml.bind.Element) {
                            context.childAsAttributeBody(((com.sun.xml.bind.JAXBObject) _RRotation));
                        } else {
                            context.startElement("http://www.cern.ch/cms/DDL", "rRotation");
                            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _RRotation));
                            context.endNamespaceDecls();
                            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _RRotation));
                            context.endAttributes();
                            context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RRotation));
                            context.endElement();
                        }
                    } else {
                        if ((((_RRotation == null)&&(_ReflectionRotation!= null))&&(_Rotation == null))&&(_RReflectionRotation == null)) {
                            if (_ReflectionRotation instanceof javax.xml.bind.Element) {
                                context.childAsAttributeBody(((com.sun.xml.bind.JAXBObject) _ReflectionRotation));
                            } else {
                                context.startElement("http://www.cern.ch/cms/DDL", "ReflectionRotation");
                                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _ReflectionRotation));
                                context.endNamespaceDecls();
                                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _ReflectionRotation));
                                context.endAttributes();
                                context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _ReflectionRotation));
                                context.endElement();
                            }
                        } else {
                            if ((((_RRotation == null)&&(_ReflectionRotation == null))&&(_Rotation == null))&&(_RReflectionRotation!= null)) {
                                if (_RReflectionRotation instanceof javax.xml.bind.Element) {
                                    context.childAsAttributeBody(((com.sun.xml.bind.JAXBObject) _RReflectionRotation));
                                } else {
                                    context.startElement("http://www.cern.ch/cms/DDL", "rReflectionRotation");
                                    context.childAsURIs(((com.sun.xml.bind.JAXBObject) _RReflectionRotation));
                                    context.endNamespaceDecls();
                                    context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _RReflectionRotation));
                                    context.endAttributes();
                                    context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _RReflectionRotation));
                                    context.endElement();
                                }
                            }
                        }
                    }
                }
            }
            if (_Translation!= null) {
                if (_Translation instanceof javax.xml.bind.Element) {
                    context.childAsAttributeBody(((com.sun.xml.bind.JAXBObject) _Translation));
                } else {
                    context.startElement("http://www.cern.ch/cms/DDL", "Translation");
                    context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Translation));
                    context.endNamespaceDecls();
                    context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Translation));
                    context.endAttributes();
                    context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _Translation));
                    context.endElement();
                }
            }
        } else {
            if (((((_Translation == null)&&(_RRotation == null))&&(_ReflectionRotation == null))&&(_Rotation == null))&&(_RReflectionRotation == null)) {
                if (_AlgoPosPart!= null) {
                    if (_AlgoPosPart instanceof javax.xml.bind.Element) {
                        context.childAsAttributeBody(((com.sun.xml.bind.JAXBObject) _AlgoPosPart));
                    } else {
                        context.startElement("http://www.cern.ch/cms/DDL", "AlgoPosPart");
                        context.childAsURIs(((com.sun.xml.bind.JAXBObject) _AlgoPosPart));
                        context.endNamespaceDecls();
                        context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _AlgoPosPart));
                        context.endAttributes();
                        context.childAsElementBody(((com.sun.xml.bind.JAXBObject) _AlgoPosPart));
                        context.endElement();
                    }
                }
            }
        }
    }

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

    public java.lang.Class getPrimaryInterface() {
        return (CMSDDL.PosPartType.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\u0003\u00c8\u00a2Jppsq\u0000~\u0000\u0000\u0001\u0097\u00be%ppsq\u0000~\u0000\u0000\u0000"
+"e\u00ef\u0083ppsr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u00002\u00f7\u00bfp"
+"psr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tna"
+"meClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.gra"
+"mmar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fco"
+"ntentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0000\u0019{\u00e4pp\u0000sq\u0000~\u0000\n\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000\b\u0000\u0019{\u00ceppsr\u0000 com"
+".sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.gram"
+"mar.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.Bo"
+"olean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 com.sun.msv.grammar.Attribut"
+"eExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\u000bxq\u0000~\u0000\u0003\u0000\u0019{\u00c0q\u0000~\u0000\u0014ps"
+"r\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~\u0000\u0013\u0001q\u0000~\u0000\u0018sr\u0000 com.sun.msv.grammar.AnyNameCla"
+"ss\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xps"
+"r\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~\u0000\u0019psr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000"
+"\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000"
+" xq\u0000~\u0000\u001bt\u0000\u0014CMSDDL.ReferenceTypet\u0000+http://java.sun.com/jaxb/xj"
+"c/dummy-elementssq\u0000~\u0000\u001ft\u0000\u0007rParentt\u0000\u001ahttp://www.cern.ch/cms/DD"
+"Lsq\u0000~\u0000\n\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000\b\u0000\u0019{\u00ceppsq\u0000~\u0000\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~\u0000\u0014pq\u0000"
+"~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u000eCMSDDL.RParentq\u0000~\u0000#sq\u0000~\u0000\b\u00002\u00f7\u00bfppsq\u0000~\u0000\n\u0000"
+"\u0019{\u00e4pp\u0000sq\u0000~\u0000\n\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000\b\u0000\u0019{\u00ceppsq\u0000~\u0000\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~"
+"\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001fq\u0000~\u0000\"q\u0000~\u0000#sq\u0000~\u0000\u001ft\u0000\u0006rChildq\u0000~\u0000&sq\u0000~\u0000\n"
+"\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000\b\u0000\u0019{\u00ceppsq\u0000~\u0000\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000"
+"\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\rCMSDDL.RChildq\u0000~\u0000#sq\u0000~\u0000\b\u00011\u00ce\u009dppsq\u0000~\u0000\b\u0001\u0018R\u00c2ppsq\u0000"
+"~\u0000\u0000\u0000\u00fe\u00d6\u00dcppsq\u0000~\u0000\b\u0000\u00cb\u00df\rppsq\u0000~\u0000\b\u0000\u00cb\u00df\u0002q\u0000~\u0000\u0014psq\u0000~\u0000\b\u0000\u00b2c\'q\u0000~\u0000\u0014psq\u0000~\u0000\b\u0000"
+"\u0098\u00e7Aq\u0000~\u0000\u0014psq\u0000~\u0000\b\u0000\u007fkfq\u0000~\u0000\u0014psq\u0000~\u0000\b\u0000e\u00ef\u0080q\u0000~\u0000\u0014psq\u0000~\u0000\b\u0000Ls\u00a5q\u0000~\u0000\u0014psq\u0000"
+"~\u0000\b\u00002\u00f7\u00bfq\u0000~\u0000\u0014psq\u0000~\u0000\n\u0000\u0019{\u00e4q\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\n\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000\b\u0000\u0019{\u00ceppsq\u0000~\u0000"
+"\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u0013CMSDDL.Ro"
+"tationTypeq\u0000~\u0000#sq\u0000~\u0000\u001ft\u0000\bRotationq\u0000~\u0000&sq\u0000~\u0000\n\u0000\u0019{\u00d9q\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\b"
+"\u0000\u0019{\u00ceppsq\u0000~\u0000\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft"
+"\u0000\u000fCMSDDL.Rotationq\u0000~\u0000#sq\u0000~\u0000\n\u0000\u0019{\u00e4q\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\n\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000\b\u0000\u0019"
+"{\u00ceppsq\u0000~\u0000\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001fq\u0000~"
+"\u0000\"q\u0000~\u0000#sq\u0000~\u0000\u001ft\u0000\trRotationq\u0000~\u0000&sq\u0000~\u0000\n\u0000\u0019{\u00d9q\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\b\u0000\u0019{\u00cepps"
+"q\u0000~\u0000\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u0010CMSDD"
+"L.RRotationq\u0000~\u0000#sq\u0000~\u0000\n\u0000\u0019{\u00e4q\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\n\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000\b\u0000\u0019{\u00ceppsq"
+"\u0000~\u0000\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001fq\u0000~\u0000Mq\u0000~\u0000"
+"#sq\u0000~\u0000\u001ft\u0000\u0012ReflectionRotationq\u0000~\u0000&sq\u0000~\u0000\n\u0000\u0019{\u00d9q\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\b\u0000\u0019{\u00ce"
+"ppsq\u0000~\u0000\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u0019CM"
+"SDDL.ReflectionRotationq\u0000~\u0000#sq\u0000~\u0000\n\u0000\u0019{\u00e4q\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\n\u0000\u0019{\u00d9pp\u0000sq"
+"\u0000~\u0000\b\u0000\u0019{\u00ceppsq\u0000~\u0000\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000"
+"~\u0000\u001fq\u0000~\u0000\"q\u0000~\u0000#sq\u0000~\u0000\u001ft\u0000\u0013rReflectionRotationq\u0000~\u0000&sq\u0000~\u0000\n\u0000\u0019{\u00d9q\u0000~\u0000"
+"\u0014p\u0000sq\u0000~\u0000\b\u0000\u0019{\u00ceppsq\u0000~\u0000\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~"
+"\u0000\u001esq\u0000~\u0000\u001ft\u0000\u001aCMSDDL.RReflectionRotationq\u0000~\u0000#q\u0000~\u0000\u001esq\u0000~\u0000\b\u00002\u00f7\u00capps"
+"q\u0000~\u0000\b\u00002\u00f7\u00bfq\u0000~\u0000\u0014psq\u0000~\u0000\n\u0000\u0019{\u00e4q\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\n\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000\b\u0000\u0019{\u00ceppsq\u0000"
+"~\u0000\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u0016CMSDDL."
+"TranslationTypeq\u0000~\u0000#sq\u0000~\u0000\u001ft\u0000\u000bTranslationq\u0000~\u0000&sq\u0000~\u0000\n\u0000\u0019{\u00d9q\u0000~\u0000\u0014"
+"p\u0000sq\u0000~\u0000\b\u0000\u0019{\u00ceppsq\u0000~\u0000\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000"
+"\u001esq\u0000~\u0000\u001ft\u0000\u0012CMSDDL.Translationq\u0000~\u0000#q\u0000~\u0000\u001esq\u0000~\u0000\n\u0000\u0019{\u00e4pp\u0000sq\u0000~\u0000\n\u0000\u0019{"
+"\u00d9pp\u0000sq\u0000~\u0000\b\u0000\u0019{\u00ceppsq\u0000~\u0000\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000"
+"~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u0016CMSDDL.AlgoPosPartTypeq\u0000~\u0000#sq\u0000~\u0000\u001ft\u0000\u000bAlgoPosPartq"
+"\u0000~\u0000&sq\u0000~\u0000\n\u0000\u0019{\u00d9pp\u0000sq\u0000~\u0000\b\u0000\u0019{\u00ceppsq\u0000~\u0000\u0010\u0000\u0019{\u00c3q\u0000~\u0000\u0014psq\u0000~\u0000\u0015\u0000\u0019{\u00c0q\u0000~\u0000\u0014"
+"pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u0012CMSDDL.AlgoPosPartq\u0000~\u0000#sq\u0000~\u0000\b\u00020\u00e4 pp"
+"sq\u0000~\u0000\u0015\u00020\u00e4\u0015q\u0000~\u0000\u0014psr\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\u0002L\u0000\u0004namet\u0000"
+"\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003\u0001.|zppsr\u0000#com.sun.msv.da"
+"tatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun."
+"msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv"
+".datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatyp"
+"e.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000 L\u0000\btypeNa"
+"meq\u0000~\u0000 L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceP"
+"rocessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006stringsr\u00005c"
+"om.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 L\u0000\fnamespaceURIq\u0000~\u0000 xpq\u0000~\u0000\u00adq\u0000~\u0000\u00acsq\u0000~\u0000\u001ft\u0000\n"
+"copyNumbert\u0000\u0000q\u0000~\u0000\u001esr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000"
+"\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$Clo"
+"sedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7"
+"j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u0000\u00b9[\u0000\u0005tablet\u0000![Lcom"
+"/sun/msv/grammar/Expression;xp\u0000\u0000\u00003\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.gra"
+"mmar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfq\u0000~\u0000tq\u0000~\u0000|q\u0000~\u0000{q\u0000~\u0000\u0085q\u0000~\u0000\u0084q\u0000"
+"~\u0000\u008dq\u0000~\u0000\u008cq\u0000~\u0000\u0094q\u0000~\u0000\u0093q\u0000~\u0000\u009cq\u0000~\u0000\u009bppppq\u0000~\u0000\tq\u0000~\u0000-q\u0000~\u0000Fq\u0000~\u0000\u0081q\u0000~\u0000\u0005ppp"
+"pppq\u0000~\u0000\u0080ppq\u0000~\u0000Eppq\u0000~\u0000Dppq\u0000~\u0000\u0007pq\u0000~\u0000\u00a0ppppppppq\u0000~\u0000Cppq\u0000~\u0000Bppppp"
+"ppppppppq\u0000~\u0000Appq\u0000~\u0000@ppppppppppq\u0000~\u0000?ppppppppppppppppppppppppp"
+"pppppq\u0000~\u0000>pppppppppppppq\u0000~\u0000=ppq\u0000~\u0000<ppppppppppppppppppppppppp"
+"ppppppppppppppq\u0000~\u0000\u0006ppppq\u0000~\u0000\u0012q\u0000~\u0000)q\u0000~\u00001q\u0000~\u00008q\u0000~\u0000Jq\u0000~\u0000Rq\u0000~\u0000Yq\u0000"
+"~\u0000`q\u0000~\u0000gq\u0000~\u0000nq\u0000~\u0000uq\u0000~\u0000\u000fq\u0000~\u0000(q\u0000~\u00000q\u0000~\u00007q\u0000~\u0000Iq\u0000~\u0000Qq\u0000~\u0000Xq\u0000~\u0000_q\u0000"
+"~\u0000fq\u0000~\u0000m"));
        }
        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.PosPartTypeImpl.this;
        }

        public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
            throws org.xml.sax.SAXException
        {
            int attIdx;
            outer:
            while (true) {
                switch (state) {
                    case  4 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  10 :
                        attIdx = context.getAttribute("", "lengthUnit");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        attIdx = context.getAttribute("", "x");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  16 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  3 :
                        if (("rParent" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 4;
                            return ;
                        }
                        break;
                    case  22 :
                        attIdx = context.getAttribute("", "phiZ");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  20 :
                        attIdx = context.getAttribute("", "phiZ");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  7 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  12 :
                        revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
                        return ;
                    case  13 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  18 :
                        attIdx = context.getAttribute("", "end");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        attIdx = context.getAttribute("", "start");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        attIdx = context.getAttribute("", "incr");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        attIdx = context.getAttribute("", "algo");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  0 :
                        attIdx = context.getAttribute("", "copyNumber");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText0(v);
                            state = 3;
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  15 :
                        if (("Translation" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 10;
                            return ;
                        }
                        state = 12;
                        continue outer;
                    case  6 :
                        if (("rChild" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 7;
                            return ;
                        }
                        break;
                    case  9 :
                        if (("Rotation" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 20;
                            return ;
                        }
                        if (("rRotation" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 16;
                            return ;
                        }
                        if (("ReflectionRotation" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 22;
                            return ;
                        }
                        if (("rReflectionRotation" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 13;
                            return ;
                        }
                        if (("Translation" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 10;
                            return ;
                        }
                        if (("AlgoPosPart" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 18;
                            return ;
                        }
                        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 {
                _CopyNumber = 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  19 :
                        if (("AlgoPosPart" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.popAttributes();
                            state = 12;
                            return ;
                        }
                        break;
                    case  8 :
                        if (("rChild" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.popAttributes();
                            state = 9;
                            return ;
                        }
                        break;
                    case  17 :
                        if (("rRotation" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.popAttributes();
                            state = 15;
                            return ;
                        }
                        break;
                    case  4 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  10 :
                        attIdx = context.getAttribute("", "lengthUnit");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        attIdx = context.getAttribute("", "x");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  16 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  22 :
                        attIdx = context.getAttribute("", "phiZ");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  20 :
                        attIdx = context.getAttribute("", "phiZ");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  7 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  12 :
                        revertToParentFromLeaveElement(___uri, ___local, ___qname);
                        return ;
                    case  13 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  11 :
                        if (("Translation" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.popAttributes();
                            state = 12;
                            return ;
                        }
                        break;
                    case  5 :
                        if (("rParent" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.popAttributes();
                            state = 6;
                            return ;
                        }
                        break;
                    case  18 :
                        attIdx = context.getAttribute("", "end");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        attIdx = context.getAttribute("", "start");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        attIdx = context.getAttribute("", "incr");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        attIdx = context.getAttribute("", "algo");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  23 :
                        if (("ReflectionRotation" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.popAttributes();
                            state = 15;
                            return ;
                        }
                        break;
                    case  21 :
                        if (("Rotation" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.popAttributes();
                            state = 15;
                            return ;
                        }
                        break;
                    case  14 :
                        if (("rReflectionRotation" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.popAttributes();
                            state = 15;
                            return ;
                        }
                        break;
                    case  0 :
                        attIdx = context.getAttribute("", "copyNumber");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText0(v);
                            state = 3;
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  15 :
                        state = 12;
                        continue outer;
                    case  9 :
                        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  4 :
                        if (("name" == ___local)&&("" == ___uri)) {
                            _RParent = ((CMSDDL.impl.ReferenceTypeImpl) spawnChildFromEnterAttribute((CMSDDL.impl.ReferenceTypeImpl.class), 5, ___uri, ___local, ___qname));
                            return ;
                        }
                        break;
                    case  10 :
                        if (("lengthUnit" == ___local)&&("" == ___uri)) {
                            _Translation = ((CMSDDL.impl.TranslationTypeImpl) spawnChildFromEnterAttribute((CMSDDL.impl.TranslationTypeImpl.class), 11, ___uri, ___local, ___qname));
                            return ;
                        }
                        if (("x" == ___local)&&("" == ___uri)) {
                            _Translation = ((CMSDDL.impl.TranslationTypeImpl) spawnChildFromEnterAttribute((CMSDDL.impl.TranslationTypeImpl.class), 11, ___uri, ___local, ___qname));
                            return ;
                        }
                        break;
                    case  16 :
                        if (("name" == ___local)&&("" == ___uri)) {
                            _RRotation = ((CMSDDL.impl.ReferenceTypeImpl) spawnChildFromEnterAttribute((CMSDDL.impl.ReferenceTypeImpl.class), 17, ___uri, ___local, ___qname));
                            return ;
                        }
                        break;
                    case  22 :
                        if (("phiZ" == ___local)&&("" == ___uri)) {
                            _ReflectionRotation = ((CMSDDL.impl.RotationTypeImpl) spawnChildFromEnterAttribute((CMSDDL.impl.RotationTypeImpl.class), 23, ___uri, ___local, ___qname));
                            return ;
                        }
                        break;
                    case  20 :
                        if (("phiZ" == ___local)&&("" == ___uri)) {
                            _Rotation = ((CMSDDL.impl.RotationTypeImpl) spawnChildFromEnterAttribute((CMSDDL.impl.RotationTypeImpl.class), 21, ___uri, ___local, ___qname));
                            return ;
                        }
                        break;
                    case  7 :
                        if (("name" == ___local)&&("" == ___uri)) {
                            _RChild = ((CMSDDL.impl.ReferenceTypeImpl) spawnChildFromEnterAttribute((CMSDDL.impl.ReferenceTypeImpl.class), 8, ___uri, ___local, ___qname));
                            return ;
                        }
                        break;
                    case  12 :
                        revertToParentFromEnterAttribute(___uri, ___local, ___qname);
                        return ;
                    case  13 :
                        if (("name" == ___local)&&("" == ___uri)) {
                            _RReflectionRotation = ((CMSDDL.impl.ReferenceTypeImpl) spawnChildFromEnterAttribute((CMSDDL.impl.ReferenceTypeImpl.class), 14, ___uri, ___local, ___qname));
                            return ;
                        }
                        break;
                    case  18 :
                        if (("end" == ___local)&&("" == ___uri)) {
                            _AlgoPosPart = ((CMSDDL.impl.AlgoPosPartTypeImpl) spawnChildFromEnterAttribute((CMSDDL.impl.AlgoPosPartTypeImpl.class), 19, ___uri, ___local, ___qname));
                            return ;
                        }
                        if (("start" == ___local)&&("" == ___uri)) {
                            _AlgoPosPart = ((CMSDDL.impl.AlgoPosPartTypeImpl) spawnChildFromEnterAttribute((CMSDDL.impl.AlgoPosPartTypeImpl.class), 19, ___uri, ___local, ___qname));
                            return ;
                        }
                        if (("incr" == ___local)&&("" == ___uri)) {
                            _AlgoPosPart = ((CMSDDL.impl.AlgoPosPartTypeImpl) spawnChildFromEnterAttribute((CMSDDL.impl.AlgoPosPartTypeImpl.class), 19, ___uri, ___local, ___qname));
                            return ;
                        }
                        if (("algo" == ___local)&&("" == ___uri)) {
                            _AlgoPosPart = ((CMSDDL.impl.AlgoPosPartTypeImpl) spawnChildFromEnterAttribute((CMSDDL.impl.AlgoPosPartTypeImpl.class), 19, ___uri, ___local, ___qname));
                            return ;
                        }
                        break;
                    case  0 :
                        if (("copyNumber" == ___local)&&("" == ___uri)) {
                            state = 1;
                            return ;
                        }
                        state = 3;
                        continue outer;
                    case  15 :
                        state = 12;
                        continue outer;
                    case  9 :
                        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  4 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  10 :
                        attIdx = context.getAttribute("", "lengthUnit");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        attIdx = context.getAttribute("", "x");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  16 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  2 :
                        if (("copyNumber" == ___local)&&("" == ___uri)) {
                            state = 3;
                            return ;
                        }
                        break;
                    case  22 :
                        attIdx = context.getAttribute("", "phiZ");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  20 :
                        attIdx = context.getAttribute("", "phiZ");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  7 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  12 :
                        revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
                        return ;
                    case  13 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  18 :
                        attIdx = context.getAttribute("", "end");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        attIdx = context.getAttribute("", "start");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        attIdx = context.getAttribute("", "incr");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        attIdx = context.getAttribute("", "algo");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  0 :
                        attIdx = context.getAttribute("", "copyNumber");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText0(v);
                            state = 3;
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  15 :
                        state = 12;
                        continue outer;
                    case  9 :
                        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  4 :
                            attIdx = context.getAttribute("", "name");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  10 :
                            attIdx = context.getAttribute("", "lengthUnit");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            attIdx = context.getAttribute("", "x");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  16 :
                            attIdx = context.getAttribute("", "name");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  22 :
                            attIdx = context.getAttribute("", "phiZ");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  20 :
                            attIdx = context.getAttribute("", "phiZ");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  7 :
                            attIdx = context.getAttribute("", "name");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  12 :
                            revertToParentFromText(value);
                            return ;
                        case  13 :
                            attIdx = context.getAttribute("", "name");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  1 :
                            eatText0(value);
                            state = 2;
                            return ;
                        case  18 :
                            attIdx = context.getAttribute("", "end");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            attIdx = context.getAttribute("", "start");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            attIdx = context.getAttribute("", "incr");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            attIdx = context.getAttribute("", "algo");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  0 :
                            attIdx = context.getAttribute("", "copyNumber");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText0(v);
                                state = 3;
                                continue outer;
                            }
                            state = 3;
                            continue outer;
                        case  15 :
                            state = 12;
                            continue outer;
                        case  9 :
                            revertToParentFromText(value);
                            return ;
                    }
                } catch (java.lang.RuntimeException e) {
                    handleUnexpectedTextException(value, e);
                }
                break;
            }
        }

    }

}
