//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.2-b15-fcs 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2004.05.18 at 11:05:21 PDT 
//


package COJAC.DDLSchema.impl;

public class CompositeMaterialTypeImpl
    extends COJAC.DDLSchema.impl.MaterialTypeImpl
    implements COJAC.DDLSchema.CompositeMaterialType, com.sun.xml.bind.JAXBObject, COJAC.DDLSchema.impl.runtime.UnmarshallableObject, COJAC.DDLSchema.impl.runtime.XMLSerializable, COJAC.DDLSchema.impl.runtime.ValidatableObject
{

    protected java.lang.String _Density;
    protected java.lang.String _Method;
    protected java.lang.String _DensityUnit;
    protected com.sun.xml.bind.util.ListImpl _MaterialFraction = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
    public final static java.lang.Class version = (COJAC.DDLSchema.impl.JAXBVersion.class);
    private static com.sun.msv.grammar.Grammar schemaFragment;

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

    public java.lang.String getDensity() {
        return _Density;
    }

    public void setDensity(java.lang.String value) {
        _Density = value;
    }

    public java.lang.String getMethod() {
        return _Method;
    }

    public void setMethod(java.lang.String value) {
        _Method = value;
    }

    public java.lang.String getDensityUnit() {
        return _DensityUnit;
    }

    public void setDensityUnit(java.lang.String value) {
        _DensityUnit = value;
    }

    public java.util.List getMaterialFraction() {
        return _MaterialFraction;
    }

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

    public void serializeBody(COJAC.DDLSchema.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx4 = 0;
        final int len4 = _MaterialFraction.size();
        super.serializeBody(context);
        while (idx4 != len4) {
            if (_MaterialFraction.get(idx4) instanceof javax.xml.bind.Element) {
                context.childAsBody(((com.sun.xml.bind.JAXBObject) _MaterialFraction.get(idx4 ++)), "MaterialFraction");
            } else {
                context.startElement("http://www.cern.ch/cms/DDL", "MaterialFraction");
                int idx_0 = idx4;
                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _MaterialFraction.get(idx_0 ++)), "MaterialFraction");
                context.endNamespaceDecls();
                int idx_1 = idx4;
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _MaterialFraction.get(idx_1 ++)), "MaterialFraction");
                context.endAttributes();
                context.childAsBody(((com.sun.xml.bind.JAXBObject) _MaterialFraction.get(idx4 ++)), "MaterialFraction");
                context.endElement();
            }
        }
    }

    public void serializeAttributes(COJAC.DDLSchema.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx4 = 0;
        final int len4 = _MaterialFraction.size();
        context.startAttribute("", "method");
        try {
            context.text(((java.lang.String) _Method), "Method");
        } catch (java.lang.Exception e) {
            COJAC.DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        if (_DensityUnit!= null) {
            context.startAttribute("", "densityUnit");
            try {
                context.text(((java.lang.String) _DensityUnit), "DensityUnit");
            } catch (java.lang.Exception e) {
                COJAC.DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
        context.startAttribute("", "density");
        try {
            context.text(((java.lang.String) _Density), "Density");
        } catch (java.lang.Exception e) {
            COJAC.DDLSchema.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        super.serializeAttributes(context);
        while (idx4 != len4) {
            if (_MaterialFraction.get(idx4) instanceof javax.xml.bind.Element) {
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _MaterialFraction.get(idx4 ++)), "MaterialFraction");
            } else {
                idx4 += 1;
            }
        }
    }

    public void serializeURIs(COJAC.DDLSchema.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx4 = 0;
        final int len4 = _MaterialFraction.size();
        super.serializeURIs(context);
        while (idx4 != len4) {
            if (_MaterialFraction.get(idx4) instanceof javax.xml.bind.Element) {
                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _MaterialFraction.get(idx4 ++)), "MaterialFraction");
            } else {
                idx4 += 1;
            }
        }
    }

    public java.lang.Class getPrimaryInterface() {
        return (COJAC.DDLSchema.CompositeMaterialType.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\u0014\u00fcX\u001bppsq\u0000~\u0000\u0000\u0012uV&ppsq\u0000~\u0000\u0000\u000e"
+"\u00f6\u00eb\u00beppsq\u0000~\u0000\u0000\ri\u0015%ppsq\u0000~\u0000\u0000\u000b[\u009a-ppsq\u0000~\u0000\u0000\n\u000f\u00ed\u00f2ppsq\u0000~\u0000\u0000\u0006\u00b5IAppsr\u0000\u001dcom"
+".sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0003Z\u00a4\u009eppsr\u0000\'com.sun"
+".msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLc"
+"om/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.Element"
+"Exp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000"
+"~\u0000\u0002xq\u0000~\u0000\u0003\u00014\u00celpp\u0000sq\u0000~\u0000\f\u00014\u00ceappsr\u0000 com.sun.msv.grammar.OneOrMor"
+"eExp\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\u00014\u00ceVsr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuex"
+"p\u0000psr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000"
+"\u0002L\u0000\tnameClassq\u0000~\u0000\u000fxq\u0000~\u0000\u0003\u00014\u00ceSq\u0000~\u0000\u0017psr\u00002com.sun.msv.grammar.Ex"
+"pression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\bsq\u0000~\u0000\u0016\u0001q\u0000~\u0000"
+"\u001bsr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun."
+"msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Ex"
+"pression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tq\u0000~\u0000\u001cpsr\u0000#com"
+".sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Lj"
+"ava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000#xq\u0000~\u0000\u001et\u0000 COJAC.DDLSchema"
+".MaterialFractiont\u0000+http://java.sun.com/jaxb/xjc/dummy-eleme"
+"ntssq\u0000~\u0000\u000e\u0002%\u00d60pp\u0000sq\u0000~\u0000\u0000\u0002%\u00d6%ppsq\u0000~\u0000\u000e\u00014\u00celpp\u0000sq\u0000~\u0000\f\u00014\u00ceappsq\u0000~\u0000\u0013\u0001"
+"4\u00ceVq\u0000~\u0000\u0017psq\u0000~\u0000\u0018\u00014\u00ceSq\u0000~\u0000\u0017pq\u0000~\u0000\u001bq\u0000~\u0000\u001fq\u0000~\u0000!sq\u0000~\u0000\"t\u0000$COJAC.DDLSc"
+"hema.MaterialFractionTypeq\u0000~\u0000&sq\u0000~\u0000\f\u0000\u00f1\u0007\u00b4ppsq\u0000~\u0000\u0018\u0000\u00f1\u0007\u00a9q\u0000~\u0000\u0017psr"
+"\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\u0000\u00da,\u00ffppsr\u0000\"com.sun.msv.datatype.xsd.QnameTy"
+"pe\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000"
+"\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
+"\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fn"
+"amespaceUriq\u0000~\u0000#L\u0000\btypeNameq\u0000~\u0000#L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv"
+"/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/200"
+"1/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpacePr"
+"ocessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.Whit"
+"eSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expressi"
+"on$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\nppsr\u0000\u001bcom.sun.msv.u"
+"til.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000#L\u0000\fnamespaceURIq\u0000~"
+"\u0000#xpq\u0000~\u0000<q\u0000~\u0000;sq\u0000~\u0000\"t\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSche"
+"ma-instanceq\u0000~\u0000!sq\u0000~\u0000\"t\u0000\u0010MaterialFractiont\u0000\u001ahttp://www.cern."
+"ch/cms/DDLsq\u0000~\u0000\f\u0003Z\u00a4\u009eppsq\u0000~\u0000\u000e\u00014\u00celpp\u0000sq\u0000~\u0000\f\u00014\u00ceappsq\u0000~\u0000\u0013\u00014\u00ceVq\u0000~"
+"\u0000\u0017psq\u0000~\u0000\u0018\u00014\u00ceSq\u0000~\u0000\u0017pq\u0000~\u0000\u001bq\u0000~\u0000\u001fq\u0000~\u0000!sq\u0000~\u0000\"q\u0000~\u0000%q\u0000~\u0000&sq\u0000~\u0000\u000e\u0002%\u00d60"
+"pp\u0000sq\u0000~\u0000\u0000\u0002%\u00d6%ppsq\u0000~\u0000\u000e\u00014\u00celpp\u0000sq\u0000~\u0000\f\u00014\u00ceappsq\u0000~\u0000\u0013\u00014\u00ceVq\u0000~\u0000\u0017psq\u0000~"
+"\u0000\u0018\u00014\u00ceSq\u0000~\u0000\u0017pq\u0000~\u0000\u001bq\u0000~\u0000\u001fq\u0000~\u0000!sq\u0000~\u0000\"q\u0000~\u0000.q\u0000~\u0000&sq\u0000~\u0000\f\u0000\u00f1\u0007\u00b4ppsq\u0000~\u0000"
+"\u0018\u0000\u00f1\u0007\u00a9q\u0000~\u0000\u0017pq\u0000~\u00004q\u0000~\u0000Dq\u0000~\u0000!q\u0000~\u0000Gsq\u0000~\u0000\f\u0003Z\u00a4\u00acppsq\u0000~\u0000\u0013\u0003Z\u00a4\u00a1q\u0000~\u0000\u0017ps"
+"q\u0000~\u0000\f\u0003Z\u00a4\u009eq\u0000~\u0000\u0017psq\u0000~\u0000\u000e\u00014\u00celq\u0000~\u0000\u0017p\u0000sq\u0000~\u0000\f\u00014\u00ceappsq\u0000~\u0000\u0013\u00014\u00ceVq\u0000~\u0000\u0017p"
+"sq\u0000~\u0000\u0018\u00014\u00ceSq\u0000~\u0000\u0017pq\u0000~\u0000\u001bq\u0000~\u0000\u001fq\u0000~\u0000!sq\u0000~\u0000\"q\u0000~\u0000%q\u0000~\u0000&sq\u0000~\u0000\u000e\u0002%\u00d60q\u0000~"
+"\u0000\u0017p\u0000sq\u0000~\u0000\u0000\u0002%\u00d6%ppsq\u0000~\u0000\u000e\u00014\u00celpp\u0000sq\u0000~\u0000\f\u00014\u00ceappsq\u0000~\u0000\u0013\u00014\u00ceVq\u0000~\u0000\u0017psq\u0000"
+"~\u0000\u0018\u00014\u00ceSq\u0000~\u0000\u0017pq\u0000~\u0000\u001bq\u0000~\u0000\u001fq\u0000~\u0000!sq\u0000~\u0000\"q\u0000~\u0000.q\u0000~\u0000&sq\u0000~\u0000\f\u0000\u00f1\u0007\u00b4ppsq\u0000~"
+"\u0000\u0018\u0000\u00f1\u0007\u00a9q\u0000~\u0000\u0017pq\u0000~\u00004q\u0000~\u0000Dq\u0000~\u0000!q\u0000~\u0000Gq\u0000~\u0000!sq\u0000~\u0000\u0018\u0001K\u00ac6ppsq\u0000~\u00001\u0000\u00c2r\u00ccp"
+"psr\u0000#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwa"
+"ysValidxq\u0000~\u00006q\u0000~\u0000;t\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.Whit"
+"eSpaceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000>\u0001q\u0000~\u0000Asq\u0000~\u0000Bq\u0000~\u0000nq\u0000"
+"~\u0000;sq\u0000~\u0000\"t\u0000\u0004namet\u0000\u0000sq\u0000~\u0000\f\u0002\rz\u00f3ppsq\u0000~\u0000\u0018\u0002\rz\u00e8q\u0000~\u0000\u0017pq\u0000~\u0000ksq\u0000~\u0000\"t\u0000"
+"\u0006symbolq\u0000~\u0000tq\u0000~\u0000!sq\u0000~\u0000\u0018\u0001\u008d\u00d6\u0094ppsq\u0000~\u00001\u0000\u008c{\u00f5ppsr\u0000)com.sun.msv.dat"
+"atype.xsd.EnumerationFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0006valuest\u0000\u000fLjava/util/"
+"Set;xr\u00009com.sun.msv.datatype.xsd.DataTypeWithValueConstraint"
+"Facet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.DataTypeWithFac"
+"et\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFacetFixedZ\u0000\u0012needValueCheckFlagL\u0000\bbaseType"
+"t\u0000)Lcom/sun/msv/datatype/xsd/XSDatatypeImpl;L\u0000\fconcreteTypet"
+"\u0000\'Lcom/sun/msv/datatype/xsd/ConcreteType;L\u0000\tfacetNameq\u0000~\u0000#xq"
+"\u0000~\u00008q\u0000~\u0000Ipq\u0000~\u0000p\u0000\u0000q\u0000~\u0000mq\u0000~\u0000mt\u0000\u000benumerationsr\u0000\u0011java.util.HashS"
+"et\u00baD\u0085\u0095\u0096\u00b8\u00b74\u0003\u0000\u0000xpw\f\u0000\u0000\u0000\u0010?@\u0000\u0000\u0000\u0000\u0000\u0003t\u0000\u001dcompound by atomic proportio"
+"nt\u0000\u0011mixture by volumet\u0000\u0011mixture by weightxq\u0000~\u0000Asq\u0000~\u0000Bt\u0000\u000estri"
+"ng-derivedq\u0000~\u0000Isq\u0000~\u0000\"t\u0000\u0006methodq\u0000~\u0000tsq\u0000~\u0000\f\u0003~jcppsq\u0000~\u0000\u0018\u0003~jXq\u0000~"
+"\u0000\u0017psq\u0000~\u00001\u0001\u009a\u000f\u00fbppsq\u0000~\u0000{q\u0000~\u0000It\u0000\fdensityUnitTq\u0000~\u0000p\u0000\u0000q\u0000~\u0000mq\u0000~\u0000mq\u0000"
+"~\u0000\u0082sq\u0000~\u0000\u0083w\f\u0000\u0000\u0000\u0010?@\u0000\u0000\u0000\u0000\u0000\u0003t\u0000\u0006kg/m^3t\u0000\u0006g/cm^3t\u0000\u0007mg/cm^3xq\u0000~\u0000Asq\u0000"
+"~\u0000Bq\u0000~\u0000\u0090q\u0000~\u0000Isq\u0000~\u0000\"t\u0000\u000bdensityUnitq\u0000~\u0000tq\u0000~\u0000!sq\u0000~\u0000\u0018\u0002\u0087\u0001\u00f0ppsq\u0000~\u0000"
+"1\u0001\u009e\u00a1\u0083ppsr\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\u007fxq\u0000~\u00008q\u0000~\u0000It\u0000\bdensityTq\u0000~\u0000pq\u0000~\u0000m\u0000\u0000\u0000\u0000q\u0000~\u0000Asq\u0000~"
+"\u0000Bq\u0000~\u0000nq\u0000~\u0000Isq\u0000~\u0000\"t\u0000\u0007densityq\u0000~\u0000tsr\u0000\"com.sun.msv.grammar.Exp"
+"ressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/Exp"
+"ressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionP"
+"ool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u0000\u00a2["
+"\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000 \u0000\u0000\u00009pur\u0000![L"
+"com.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfq\u0000~\u0000\npq\u0000~\u0000up"
+"ppq\u0000~\u0000Yppppppppppppppppppq\u0000~\u0000(q\u0000~\u0000Qq\u0000~\u0000bpppppq\u0000~\u0000\u0007pppppppppp"
+"pppq\u0000~\u0000\u008cppppppppppppppppppq\u0000~\u0000/q\u0000~\u0000Wq\u0000~\u0000hppppppppppppppppq\u0000~"
+"\u0000\u0006pppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0015q\u0000~\u0000+q\u0000~\u0000Mq\u0000~\u0000Tq"
+"\u0000~\u0000^q\u0000~\u0000epppppq\u0000~\u0000\u0012q\u0000~\u0000*q\u0000~\u0000Lq\u0000~\u0000Sq\u0000~\u0000]q\u0000~\u0000dq\u0000~\u0000\tq\u0000~\u0000\bpppppp"
+"ppppppppppppppppppppppppppppppppq\u0000~\u0000\u000bppq\u0000~\u0000\rq\u0000~\u0000Jq\u0000~\u0000[q\u0000~\u0000Zq"
+"\u0000~\u0000\u0005ppp"));
        }
        return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
    }

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


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

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

        public java.lang.Object owner() {
            return COJAC.DDLSchema.impl.CompositeMaterialTypeImpl.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  6 :
                        attIdx = context.getAttribute("", "density");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 9;
                            continue outer;
                        }
                        break;
                    case  9 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  0 :
                        attIdx = context.getAttribute("", "method");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText2(v);
                            state = 3;
                            continue outer;
                        }
                        break;
                    case  3 :
                        attIdx = context.getAttribute("", "densityUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText3(v);
                            state = 6;
                            continue outer;
                        }
                        state = 6;
                        continue outer;
                    case  13 :
                        if (("MaterialFraction" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _MaterialFraction.add(((COJAC.DDLSchema.impl.MaterialFractionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.MaterialFractionImpl.class), 13, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("MaterialFraction" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 11;
                            return ;
                        }
                        revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
                        return ;
                    case  11 :
                        attIdx = context.getAttribute("", "fraction");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  10 :
                        if (("MaterialFraction" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            _MaterialFraction.add(((COJAC.DDLSchema.impl.MaterialFractionImpl) spawnChildFromEnterElement((COJAC.DDLSchema.impl.MaterialFractionImpl.class), 13, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("MaterialFraction" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 11;
                            return ;
                        }
                        break;
                }
                super.enterElement(___uri, ___local, ___qname, __atts);
                break;
            }
        }

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

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

        private void eatText3(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            try {
                _DensityUnit = 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  6 :
                        attIdx = context.getAttribute("", "density");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 9;
                            continue outer;
                        }
                        break;
                    case  9 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  12 :
                        if (("MaterialFraction" == ___local)&&("http://www.cern.ch/cms/DDL" == ___uri)) {
                            context.popAttributes();
                            state = 13;
                            return ;
                        }
                        break;
                    case  0 :
                        attIdx = context.getAttribute("", "method");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText2(v);
                            state = 3;
                            continue outer;
                        }
                        break;
                    case  3 :
                        attIdx = context.getAttribute("", "densityUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText3(v);
                            state = 6;
                            continue outer;
                        }
                        state = 6;
                        continue outer;
                    case  13 :
                        revertToParentFromLeaveElement(___uri, ___local, ___qname);
                        return ;
                    case  11 :
                        attIdx = context.getAttribute("", "fraction");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                }
                super.leaveElement(___uri, ___local, ___qname);
                break;
            }
        }

        public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
            throws org.xml.sax.SAXException
        {
            int attIdx;
            outer:
            while (true) {
                switch (state) {
                    case  6 :
                        if (("density" == ___local)&&("" == ___uri)) {
                            state = 7;
                            return ;
                        }
                        break;
                    case  9 :
                        if (("name" == ___local)&&("" == ___uri)) {
                            spawnHandlerFromEnterAttribute((((COJAC.DDLSchema.impl.MaterialTypeImpl)COJAC.DDLSchema.impl.CompositeMaterialTypeImpl.this).new Unmarshaller(context)), 10, ___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  0 :
                        if (("method" == ___local)&&("" == ___uri)) {
                            state = 1;
                            return ;
                        }
                        break;
                    case  3 :
                        if (("densityUnit" == ___local)&&("" == ___uri)) {
                            state = 4;
                            return ;
                        }
                        state = 6;
                        continue outer;
                    case  13 :
                        revertToParentFromEnterAttribute(___uri, ___local, ___qname);
                        return ;
                    case  11 :
                        if (("fraction" == ___local)&&("" == ___uri)) {
                            _MaterialFraction.add(((COJAC.DDLSchema.impl.MaterialFractionTypeImpl) spawnChildFromEnterAttribute((COJAC.DDLSchema.impl.MaterialFractionTypeImpl.class), 12, ___uri, ___local, ___qname)));
                            return ;
                        }
                        break;
                }
                super.enterAttribute(___uri, ___local, ___qname);
                break;
            }
        }

        public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
            throws org.xml.sax.SAXException
        {
            int attIdx;
            outer:
            while (true) {
                switch (state) {
                    case  6 :
                        attIdx = context.getAttribute("", "density");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText1(v);
                            state = 9;
                            continue outer;
                        }
                        break;
                    case  9 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  8 :
                        if (("density" == ___local)&&("" == ___uri)) {
                            state = 9;
                            return ;
                        }
                        break;
                    case  2 :
                        if (("method" == ___local)&&("" == ___uri)) {
                            state = 3;
                            return ;
                        }
                        break;
                    case  5 :
                        if (("densityUnit" == ___local)&&("" == ___uri)) {
                            state = 6;
                            return ;
                        }
                        break;
                    case  0 :
                        attIdx = context.getAttribute("", "method");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText2(v);
                            state = 3;
                            continue outer;
                        }
                        break;
                    case  3 :
                        attIdx = context.getAttribute("", "densityUnit");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            eatText3(v);
                            state = 6;
                            continue outer;
                        }
                        state = 6;
                        continue outer;
                    case  13 :
                        revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
                        return ;
                    case  11 :
                        attIdx = context.getAttribute("", "fraction");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                }
                super.leaveAttribute(___uri, ___local, ___qname);
                break;
            }
        }

        public void handleText(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            int attIdx;
            outer:
            while (true) {
                try {
                    switch (state) {
                        case  6 :
                            attIdx = context.getAttribute("", "density");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText1(v);
                                state = 9;
                                continue outer;
                            }
                            break;
                        case  9 :
                            attIdx = context.getAttribute("", "name");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  7 :
                            eatText1(value);
                            state = 8;
                            return ;
                        case  1 :
                            eatText2(value);
                            state = 2;
                            return ;
                        case  0 :
                            attIdx = context.getAttribute("", "method");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText2(v);
                                state = 3;
                                continue outer;
                            }
                            break;
                        case  3 :
                            attIdx = context.getAttribute("", "densityUnit");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                eatText3(v);
                                state = 6;
                                continue outer;
                            }
                            state = 6;
                            continue outer;
                        case  13 :
                            revertToParentFromText(value);
                            return ;
                        case  4 :
                            eatText3(value);
                            state = 5;
                            return ;
                        case  11 :
                            attIdx = context.getAttribute("", "fraction");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                    }
                } catch (java.lang.RuntimeException e) {
                    handleUnexpectedTextException(value, e);
                }
                break;
            }
        }

    }

}
