//
// 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: 2003.12.02 at 10:59:49 CET 
//


package com.uvigo.mhp.xml.test.impl;

public class TestConfigurationTypeImpl implements com.uvigo.mhp.xml.test.TestConfigurationType, com.sun.xml.bind.JAXBObject, com.uvigo.mhp.xml.test.impl.runtime.UnmarshallableObject, com.uvigo.mhp.xml.test.impl.runtime.XMLSerializable, com.uvigo.mhp.xml.test.impl.runtime.ValidatableObject
{

    protected boolean has_MinimumCorrectAnswers;
    protected int _MinimumCorrectAnswers;
    protected com.sun.xml.bind.util.ListImpl _OptionsCommonParameters = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
    protected com.sun.xml.bind.util.ListImpl _QuestionGroupsCommonParameters = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
    protected java.lang.String _QuestionGroupsDefaultClassName;
    protected com.sun.xml.bind.util.ListImpl _QuestionGroup = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
    protected java.lang.String _OptionsDefaultClassName;
    protected java.lang.String _QuestionsDefaultClassName;
    protected com.sun.xml.bind.util.ListImpl _QuestionsCommonParameters = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
    public final static java.lang.Class version = (com.uvigo.mhp.xml.test.impl.JAXBVersion.class);
    private static com.sun.msv.grammar.Grammar schemaFragment;

    private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
        return (com.uvigo.mhp.xml.test.TestConfigurationType.class);
    }

    public int getMinimumCorrectAnswers() {
        return _MinimumCorrectAnswers;
    }

    public void setMinimumCorrectAnswers(int value) {
        _MinimumCorrectAnswers = value;
        has_MinimumCorrectAnswers = true;
    }

    public java.util.List getOptionsCommonParameters() {
        return _OptionsCommonParameters;
    }

    public java.util.List getQuestionGroupsCommonParameters() {
        return _QuestionGroupsCommonParameters;
    }

    public java.lang.String getQuestionGroupsDefaultClassName() {
        return _QuestionGroupsDefaultClassName;
    }

    public void setQuestionGroupsDefaultClassName(java.lang.String value) {
        _QuestionGroupsDefaultClassName = value;
    }

    public java.util.List getQuestionGroup() {
        return _QuestionGroup;
    }

    public java.lang.String getOptionsDefaultClassName() {
        return _OptionsDefaultClassName;
    }

    public void setOptionsDefaultClassName(java.lang.String value) {
        _OptionsDefaultClassName = value;
    }

    public java.lang.String getQuestionsDefaultClassName() {
        return _QuestionsDefaultClassName;
    }

    public void setQuestionsDefaultClassName(java.lang.String value) {
        _QuestionsDefaultClassName = value;
    }

    public java.util.List getQuestionsCommonParameters() {
        return _QuestionsCommonParameters;
    }

    public com.uvigo.mhp.xml.test.impl.runtime.UnmarshallingEventHandler createUnmarshaller(com.uvigo.mhp.xml.test.impl.runtime.UnmarshallingContext context) {
        return new com.uvigo.mhp.xml.test.impl.TestConfigurationTypeImpl.Unmarshaller(context);
    }

    public void serializeBody(com.uvigo.mhp.xml.test.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        if (!has_MinimumCorrectAnswers) {
            context.reportError(com.sun.xml.bind.serializer.Util.createMissingObjectError(this, "MinimumCorrectAnswers"));
        }
        int idx2 = 0;
        final int len2 = _OptionsCommonParameters.size();
        int idx3 = 0;
        final int len3 = _QuestionGroupsCommonParameters.size();
        int idx5 = 0;
        final int len5 = _QuestionGroup.size();
        int idx8 = 0;
        final int len8 = _QuestionsCommonParameters.size();
        if (_QuestionsDefaultClassName!= null) {
            context.startElement("", "questionsDefaultClassName");
            context.endNamespaceDecls();
            context.endAttributes();
            try {
                context.text(((java.lang.String) _QuestionsDefaultClassName), "QuestionsDefaultClassName");
            } catch (java.lang.Exception e) {
                com.uvigo.mhp.xml.test.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endElement();
        }
        while (idx8 != len8) {
            context.startElement("", "questionsCommonParameters");
            int idx_2 = idx8;
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _QuestionsCommonParameters.get(idx_2 ++)), "QuestionsCommonParameters");
            context.endNamespaceDecls();
            int idx_3 = idx8;
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _QuestionsCommonParameters.get(idx_3 ++)), "QuestionsCommonParameters");
            context.endAttributes();
            context.childAsBody(((com.sun.xml.bind.JAXBObject) _QuestionsCommonParameters.get(idx8 ++)), "QuestionsCommonParameters");
            context.endElement();
        }
        if (_QuestionGroupsDefaultClassName!= null) {
            context.startElement("", "questionGroupsDefaultClassName");
            context.endNamespaceDecls();
            context.endAttributes();
            try {
                context.text(((java.lang.String) _QuestionGroupsDefaultClassName), "QuestionGroupsDefaultClassName");
            } catch (java.lang.Exception e) {
                com.uvigo.mhp.xml.test.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endElement();
        }
        while (idx3 != len3) {
            context.startElement("", "questionGroupsCommonParameters");
            int idx_6 = idx3;
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _QuestionGroupsCommonParameters.get(idx_6 ++)), "QuestionGroupsCommonParameters");
            context.endNamespaceDecls();
            int idx_7 = idx3;
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _QuestionGroupsCommonParameters.get(idx_7 ++)), "QuestionGroupsCommonParameters");
            context.endAttributes();
            context.childAsBody(((com.sun.xml.bind.JAXBObject) _QuestionGroupsCommonParameters.get(idx3 ++)), "QuestionGroupsCommonParameters");
            context.endElement();
        }
        if (_OptionsDefaultClassName!= null) {
            context.startElement("", "optionsDefaultClassName");
            context.endNamespaceDecls();
            context.endAttributes();
            try {
                context.text(((java.lang.String) _OptionsDefaultClassName), "OptionsDefaultClassName");
            } catch (java.lang.Exception e) {
                com.uvigo.mhp.xml.test.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endElement();
        }
        while (idx2 != len2) {
            context.startElement("", "optionsCommonParameters");
            int idx_10 = idx2;
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _OptionsCommonParameters.get(idx_10 ++)), "OptionsCommonParameters");
            context.endNamespaceDecls();
            int idx_11 = idx2;
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _OptionsCommonParameters.get(idx_11 ++)), "OptionsCommonParameters");
            context.endAttributes();
            context.childAsBody(((com.sun.xml.bind.JAXBObject) _OptionsCommonParameters.get(idx2 ++)), "OptionsCommonParameters");
            context.endElement();
        }
        context.startElement("", "minimumCorrectAnswers");
        context.endNamespaceDecls();
        context.endAttributes();
        try {
            context.text(javax.xml.bind.DatatypeConverter.printInt(((int) _MinimumCorrectAnswers)), "MinimumCorrectAnswers");
        } catch (java.lang.Exception e) {
            com.uvigo.mhp.xml.test.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endElement();
        while (idx5 != len5) {
            context.startElement("", "questionGroup");
            int idx_14 = idx5;
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _QuestionGroup.get(idx_14 ++)), "QuestionGroup");
            context.endNamespaceDecls();
            int idx_15 = idx5;
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _QuestionGroup.get(idx_15 ++)), "QuestionGroup");
            context.endAttributes();
            context.childAsBody(((com.sun.xml.bind.JAXBObject) _QuestionGroup.get(idx5 ++)), "QuestionGroup");
            context.endElement();
        }
    }

    public void serializeAttributes(com.uvigo.mhp.xml.test.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        if (!has_MinimumCorrectAnswers) {
            context.reportError(com.sun.xml.bind.serializer.Util.createMissingObjectError(this, "MinimumCorrectAnswers"));
        }
        int idx2 = 0;
        final int len2 = _OptionsCommonParameters.size();
        int idx3 = 0;
        final int len3 = _QuestionGroupsCommonParameters.size();
        int idx5 = 0;
        final int len5 = _QuestionGroup.size();
        int idx8 = 0;
        final int len8 = _QuestionsCommonParameters.size();
        while (idx8 != len8) {
            idx8 += 1;
        }
        while (idx3 != len3) {
            idx3 += 1;
        }
        while (idx2 != len2) {
            idx2 += 1;
        }
        while (idx5 != len5) {
            idx5 += 1;
        }
    }

    public void serializeURIs(com.uvigo.mhp.xml.test.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        if (!has_MinimumCorrectAnswers) {
            context.reportError(com.sun.xml.bind.serializer.Util.createMissingObjectError(this, "MinimumCorrectAnswers"));
        }
        int idx2 = 0;
        final int len2 = _OptionsCommonParameters.size();
        int idx3 = 0;
        final int len3 = _QuestionGroupsCommonParameters.size();
        int idx5 = 0;
        final int len5 = _QuestionGroup.size();
        int idx8 = 0;
        final int len8 = _QuestionsCommonParameters.size();
        while (idx8 != len8) {
            idx8 += 1;
        }
        while (idx3 != len3) {
            idx3 += 1;
        }
        while (idx2 != len2) {
            idx2 += 1;
        }
        while (idx5 != len5) {
            idx5 += 1;
        }
    }

    public java.lang.Class getPrimaryInterface() {
        return (com.uvigo.mhp.xml.test.TestConfigurationType.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\r\u00bb\u00bc*ppsq\u0000~\u0000\u0000\f\u00a8\u00c8\u00d9ppsq\u0000~\u0000\u0000\u000b"
+"\u0007K]ppsq\u0000~\u0000\u0000\t\u00b3isppsq\u0000~\u0000\u0000\b\u0093\u0099Oppsq\u0000~\u0000\u0000\u0006\u0013\u00d1\u0010ppsq\u0000~\u0000\u0000\u0003\u0093OZppsr\u0000\u001dcom"
+".sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0002bJ\u0082ppsr\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\u0002bJwsr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000p\u0000sq"
+"\u0000~\u0000\u0000\u0002bJlppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001f"
+"Lorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/"
+"sun/msv/util/StringPair;xq\u0000~\u0000\u0003\u0000[\u0006xppsr\u0000#com.sun.msv.datatype"
+".xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.da"
+"tatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datat"
+"ype.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\fnamespaceUrit\u0000\u0012Ljava/lang/String"
+";L\u0000\btypeNameq\u0000~\u0000\u001dL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/W"
+"hiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006s"
+"tringsr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Preser"
+"ve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcesso"
+"r\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$NullSetExp"
+"ression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\nppsr\u0000\u001bcom.sun.msv.util.StringPai"
+"r\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001dL\u0000\fnamespaceURIq\u0000~\u0000\u001dxpq\u0000~\u0000!q\u0000~\u0000"
+" sq\u0000~\u0000\f\u0002\u0007C\u00efppsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002"
+"L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\u000fxq\u0000~\u0000\u0003\u0002\u0007C\u00e4q\u0000~\u0000\u0013psq\u0000~\u0000\u0015\u0000V\u0086\u001bppsr\u0000\""
+"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001aq\u0000~\u0000 t\u0000\u0005Q"
+"Namesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Collaps"
+"e\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000#q\u0000~\u0000&sq\u0000~\u0000\'q\u0000~\u0000/q\u0000~\u0000 sr\u0000#com.sun.msv.gramm"
+"ar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001dL\u0000\fnamespaceUR"
+"Iq\u0000~\u0000\u001dxr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet"
+"\u0000)http://www.w3.org/2001/XMLSchema-instancesr\u00000com.sun.msv.g"
+"rammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tsq\u0000~"
+"\u0000\u0012\u0001psq\u0000~\u00003t\u0000\u0019questionsDefaultClassNamet\u0000\u0000q\u0000~\u00009sq\u0000~\u0000\f\u00011\u0004\u00d3ppsr"
+"\u0000 com.sun.msv.grammar.OneOrMoreExp\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\u00011\u0004\u00c8q\u0000~\u0000\u0013psq\u0000~\u0000"
+"\u000e\u00011\u0004\u00c5q\u0000~\u0000\u0013p\u0000sq\u0000~\u0000\u0000\u00011\u0004\u00bappsq\u0000~\u0000\u000e\u0000+\u0094(pp\u0000sq\u0000~\u0000\f\u0000+\u0094\u001dppsq\u0000~\u0000?\u0000+\u0094\u0012q"
+"\u0000~\u0000\u0013psq\u0000~\u0000*\u0000+\u0094\u000fq\u0000~\u0000\u0013psr\u00002com.sun.msv.grammar.Expression$AnyS"
+"tringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\bq\u0000~\u0000:psr\u0000 com.sun.msv.gr"
+"ammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u00004q\u0000~\u00009sq\u0000~\u00003t\u0000$com.uvigo.m"
+"hp.xml.test.ParameterTypet\u0000+http://java.sun.com/jaxb/xjc/dum"
+"my-elementssq\u0000~\u0000\f\u0001\u0005p\u008dppsq\u0000~\u0000*\u0001\u0005p\u0082q\u0000~\u0000\u0013pq\u0000~\u0000,sq\u0000~\u00003q\u0000~\u00006q\u0000~\u00007"
+"q\u0000~\u00009sq\u0000~\u00003t\u0000\u0019questionsCommonParametersq\u0000~\u0000=q\u0000~\u00009sq\u0000~\u0000\f\u0002\u0080\u0081\u00b1p"
+"psq\u0000~\u0000\u000e\u0002\u0080\u0081\u00a6q\u0000~\u0000\u0013p\u0000sq\u0000~\u0000\u0000\u0002\u0080\u0081\u009bppq\u0000~\u0000\u0018sq\u0000~\u0000\f\u0002%{\u001eppsq\u0000~\u0000*\u0002%{\u0013q\u0000~"
+"\u0000\u0013pq\u0000~\u0000,sq\u0000~\u00003q\u0000~\u00006q\u0000~\u00007q\u0000~\u00009sq\u0000~\u00003t\u0000\u001equestionGroupsDefaultC"
+"lassNameq\u0000~\u0000=q\u0000~\u00009sq\u0000~\u0000\f\u0002\u007f\u00c8:ppsq\u0000~\u0000?\u0002\u007f\u00c8/q\u0000~\u0000\u0013psq\u0000~\u0000\u000e\u0002\u007f\u00c8,q\u0000~\u0000"
+"\u0013p\u0000sq\u0000~\u0000\u0000\u0002\u007f\u00c8!ppsq\u0000~\u0000\u000e\u0000+\u0094(pp\u0000sq\u0000~\u0000\f\u0000+\u0094\u001dppsq\u0000~\u0000?\u0000+\u0094\u0012q\u0000~\u0000\u0013psq\u0000~"
+"\u0000*\u0000+\u0094\u000fq\u0000~\u0000\u0013pq\u0000~\u0000Iq\u0000~\u0000Kq\u0000~\u00009sq\u0000~\u00003q\u0000~\u0000Mq\u0000~\u0000Nsq\u0000~\u0000\f\u0002T3\u00f4ppsq\u0000~\u0000"
+"*\u0002T3\u00e9q\u0000~\u0000\u0013pq\u0000~\u0000,sq\u0000~\u00003q\u0000~\u00006q\u0000~\u00007q\u0000~\u00009sq\u0000~\u00003t\u0000\u001equestionGroups"
+"CommonParametersq\u0000~\u0000=q\u0000~\u00009sq\u0000~\u0000\f\u0001\u001f\u00d0\u001fppsq\u0000~\u0000\u000e\u0001\u001f\u00d0\u0014q\u0000~\u0000\u0013p\u0000sq\u0000~\u0000"
+"\u0000\u0001\u001f\u00d0\tppq\u0000~\u0000\u0018sq\u0000~\u0000\f\u0000\u00c4\u00c9\u008cppsq\u0000~\u0000*\u0000\u00c4\u00c9\u0081q\u0000~\u0000\u0013pq\u0000~\u0000,sq\u0000~\u00003q\u0000~\u00006q\u0000~\u0000"
+"7q\u0000~\u00009sq\u0000~\u00003t\u0000\u0017optionsDefaultClassNameq\u0000~\u0000=q\u0000~\u00009sq\u0000~\u0000\f\u0001S\u00e1\u00e5pp"
+"sq\u0000~\u0000?\u0001S\u00e1\u00daq\u0000~\u0000\u0013psq\u0000~\u0000\u000e\u0001S\u00e1\u00d7q\u0000~\u0000\u0013p\u0000sq\u0000~\u0000\u0000\u0001S\u00e1\u00ccppsq\u0000~\u0000\u000e\u0000+\u0094(pp\u0000sq"
+"\u0000~\u0000\f\u0000+\u0094\u001dppsq\u0000~\u0000?\u0000+\u0094\u0012q\u0000~\u0000\u0013psq\u0000~\u0000*\u0000+\u0094\u000fq\u0000~\u0000\u0013pq\u0000~\u0000Iq\u0000~\u0000Kq\u0000~\u00009sq\u0000"
+"~\u00003q\u0000~\u0000Mq\u0000~\u0000Nsq\u0000~\u0000\f\u0001(M\u009fppsq\u0000~\u0000*\u0001(M\u0094q\u0000~\u0000\u0013pq\u0000~\u0000,sq\u0000~\u00003q\u0000~\u00006q\u0000~"
+"\u00007q\u0000~\u00009sq\u0000~\u00003t\u0000\u0017optionsCommonParametersq\u0000~\u0000=q\u0000~\u00009sq\u0000~\u0000\u000e\u0001\u00a1}wp"
+"p\u0000sq\u0000~\u0000\u0000\u0001\u00a1}lppsq\u0000~\u0000\u0015\u0000\u008a\u0005Tppsr\u0000*com.sun.msv.datatype.xsd.MinIn"
+"clusiveFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.msv.datatype.xsd.RangeFac"
+"et\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\nlimitValuet\u0000\u0012Ljava/lang/Object;xr\u00009com.sun.m"
+"sv.datatype.xsd.DataTypeWithValueConstraintFacet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000x"
+"r\u0000*com.sun.msv.datatype.xsd.DataTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fi"
+"sFacetFixedZ\u0000\u0012needValueCheckFlagL\u0000\bbaseTypet\u0000)Lcom/sun/msv/d"
+"atatype/xsd/XSDatatypeImpl;L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/da"
+"tatype/xsd/ConcreteType;L\u0000\tfacetNameq\u0000~\u0000\u001dxq\u0000~\u0000\u001cq\u0000~\u0000=pq\u0000~\u00001\u0000\u0000"
+"sr\u0000 com.sun.msv.datatype.xsd.IntType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000+com.sun.m"
+"sv.datatype.xsd.IntegerDerivedType\u0099\u00f1]\u0090&6k\u00be\u0002\u0000\u0001L\u0000\nbaseFacetsq\u0000"
+"~\u0000\u0088xq\u0000~\u0000\u001aq\u0000~\u0000 t\u0000\u0003intq\u0000~\u00001sr\u0000*com.sun.msv.datatype.xsd.MaxInc"
+"lusiveFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0084ppq\u0000~\u00001\u0000\u0001sq\u0000~\u0000\u0083ppq\u0000~\u00001\u0000\u0000sr\u0000!com."
+"sun.msv.datatype.xsd.LongType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u008cq\u0000~\u0000 t\u0000\u0004longq\u0000"
+"~\u00001sq\u0000~\u0000\u008fppq\u0000~\u00001\u0000\u0001sq\u0000~\u0000\u0083ppq\u0000~\u00001\u0000\u0000sr\u0000$com.sun.msv.datatype.xs"
+"d.IntegerType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u008cq\u0000~\u0000 t\u0000\u0007integerq\u0000~\u00001sr\u0000,com.su"
+"n.msv.datatype.xsd.FractionDigitsFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001I\u0000\u0005scalexr\u0000"
+";com.sun.msv.datatype.xsd.DataTypeWithLexicalConstraintFacet"
+"T\u0090\u001c>\u001azb\u00ea\u0002\u0000\u0000xq\u0000~\u0000\u0087ppq\u0000~\u00001\u0001\u0000sr\u0000#com.sun.msv.datatype.xsd.Numbe"
+"rType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001aq\u0000~\u0000 t\u0000\u0007decimalq\u0000~\u00001q\u0000~\u0000\u009et\u0000\u000efractionDi"
+"gits\u0000\u0000\u0000\u0000q\u0000~\u0000\u0098t\u0000\fminInclusivesr\u0000\u000ejava.lang.Long;\u008b\u00e4\u0090\u00cc\u008f#\u00df\u0002\u0000\u0001J\u0000\u0005"
+"valuexr\u0000\u0010java.lang.Number\u0086\u00ac\u0095\u001d\u000b\u0094\u00e0\u008b\u0002\u0000\u0000xp\u0080\u0000\u0000\u0000\u0000\u0000\u0000\u0000q\u0000~\u0000\u0098t\u0000\fmaxInc"
+"lusivesq\u0000~\u0000\u00a2\u007f\u00ff\u00ff\u00ff\u00ff\u00ff\u00ff\u00ffq\u0000~\u0000\u0093q\u0000~\u0000\u00a1sr\u0000\u0011java.lang.Integer\u0012\u00e2\u00a0\u00a4\u00f7\u0081\u00878\u0002"
+"\u0000\u0001I\u0000\u0005valuexq\u0000~\u0000\u00a3\u0080\u0000\u0000\u0000q\u0000~\u0000\u0093q\u0000~\u0000\u00a5sq\u0000~\u0000\u00a7\u007f\u00ff\u00ff\u00ffq\u0000~\u0000\u008dq\u0000~\u0000\u00a1sq\u0000~\u0000\u00a7\u0000\u0000\u0000\u0000"
+"q\u0000~\u0000&sq\u0000~\u0000\'t\u0000\u000bint-derivedq\u0000~\u0000=sq\u0000~\u0000\f\u0001\u0017x\u0013ppsq\u0000~\u0000*\u0001\u0017x\bq\u0000~\u0000\u0013pq\u0000"
+"~\u0000,sq\u0000~\u00003q\u0000~\u00006q\u0000~\u00007q\u0000~\u00009sq\u0000~\u00003t\u0000\u0015minimumCorrectAnswersq\u0000~\u0000=s"
+"q\u0000~\u0000?\u0001\u0012\u00f3Lppsq\u0000~\u0000\u000e\u0001\u0012\u00f3Ipp\u0000sq\u0000~\u0000\u0000\u0001\u0012\u00f3>ppsq\u0000~\u0000\u000e\u0000+\u0094(pp\u0000sq\u0000~\u0000\f\u0000+\u0094\u001dp"
+"psq\u0000~\u0000?\u0000+\u0094\u0012q\u0000~\u0000\u0013psq\u0000~\u0000*\u0000+\u0094\u000fq\u0000~\u0000\u0013pq\u0000~\u0000Iq\u0000~\u0000Kq\u0000~\u00009sq\u0000~\u00003t\u0000(com"
+".uvigo.mhp.xml.test.QuestionGroupTypeq\u0000~\u0000Nsq\u0000~\u0000\f\u0000\u00e7_\u0011ppsq\u0000~\u0000*"
+"\u0000\u00e7_\u0006q\u0000~\u0000\u0013pq\u0000~\u0000,sq\u0000~\u00003q\u0000~\u00006q\u0000~\u00007q\u0000~\u00009sq\u0000~\u00003t\u0000\rquestionGroupq\u0000"
+"~\u0000=sr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTa"
+"blet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-c"
+"om.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005co"
+"untI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u0000\u00c1[\u0000\u0005tablet\u0000![Lcom/sun/msv/gramma"
+"r/Expression;xp\u0000\u0000\u0000)\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression"
+";\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpppq\u0000~\u0000\u00b4ppppppppq\u0000~\u0000Cppppq\u0000~\u0000\u00b2ppppppq\u0000~\u0000Wp"
+"q\u0000~\u0000Appppppppq\u0000~\u0000_pq\u0000~\u0000>pq\u0000~\u0000\u0014pppppq\u0000~\u0000\u00bbpppq\u0000~\u0000]ppppq\u0000~\u0000Oppp"
+"ppq\u0000~\u0000\\q\u0000~\u0000\rq\u0000~\u0000\u0081pq\u0000~\u0000\bpppq\u0000~\u0000\u0006ppppppq\u0000~\u0000lpq\u0000~\u0000eppppppppppq\u0000"
+"~\u0000\nq\u0000~\u0000uq\u0000~\u0000\u0005ppppppq\u0000~\u0000jppppq\u0000~\u0000sq\u0000~\u0000\u000bq\u0000~\u0000\u00adq\u0000~\u0000)pppppppq\u0000~\u0000r"
+"ppppppppq\u0000~\u0000Fq\u0000~\u0000bq\u0000~\u0000xq\u0000~\u0000\u00b7ppppq\u0000~\u0000{ppq\u0000~\u0000Eq\u0000~\u0000aq\u0000~\u0000wq\u0000~\u0000\u00b6p"
+"pppq\u0000~\u0000mpppppppq\u0000~\u0000Vpppq\u0000~\u0000\tpppppppppppppppppq\u0000~\u0000Tpppppppppp"
+"q\u0000~\u0000\u0007pppppppp"));
        }
        return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
    }

    public class Unmarshaller
        extends com.uvigo.mhp.xml.test.impl.runtime.AbstractUnmarshallingEventHandlerImpl
    {


        public Unmarshaller(com.uvigo.mhp.xml.test.impl.runtime.UnmarshallingContext context) {
            super(context, "-------------------------");
        }

        protected Unmarshaller(com.uvigo.mhp.xml.test.impl.runtime.UnmarshallingContext context, int startState) {
            this(context);
            state = startState;
        }

        public java.lang.Object owner() {
            return com.uvigo.mhp.xml.test.impl.TestConfigurationTypeImpl.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  9 :
                        if (("questionGroupsCommonParameters" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 10;
                            return ;
                        }
                        state = 12;
                        continue outer;
                    case  3 :
                        if (("questionsCommonParameters" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 4;
                            return ;
                        }
                        state = 6;
                        continue outer;
                    case  22 :
                        if (("className" == ___local)&&("" == ___uri)) {
                            _QuestionGroup.add(((com.uvigo.mhp.xml.test.impl.QuestionGroupTypeImpl) spawnChildFromEnterElement((com.uvigo.mhp.xml.test.impl.QuestionGroupTypeImpl.class), 23, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("parameters" == ___local)&&("" == ___uri)) {
                            _QuestionGroup.add(((com.uvigo.mhp.xml.test.impl.QuestionGroupTypeImpl) spawnChildFromEnterElement((com.uvigo.mhp.xml.test.impl.QuestionGroupTypeImpl.class), 23, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("question" == ___local)&&("" == ___uri)) {
                            _QuestionGroup.add(((com.uvigo.mhp.xml.test.impl.QuestionGroupTypeImpl) spawnChildFromEnterElement((com.uvigo.mhp.xml.test.impl.QuestionGroupTypeImpl.class), 23, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        break;
                    case  21 :
                        if (("questionGroup" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 22;
                            return ;
                        }
                        break;
                    case  12 :
                        if (("questionGroupsCommonParameters" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 10;
                            return ;
                        }
                        if (("optionsDefaultClassName" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 13;
                            return ;
                        }
                        state = 15;
                        continue outer;
                    case  0 :
                        if (("questionsDefaultClassName" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 1;
                            return ;
                        }
                        state = 3;
                        continue outer;
                    case  6 :
                        if (("questionsCommonParameters" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 4;
                            return ;
                        }
                        if (("questionGroupsDefaultClassName" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 7;
                            return ;
                        }
                        state = 9;
                        continue outer;
                    case  4 :
                        if (("componentName" == ___local)&&("" == ___uri)) {
                            _QuestionsCommonParameters.add(((com.uvigo.mhp.xml.test.impl.ParameterTypeImpl) spawnChildFromEnterElement((com.uvigo.mhp.xml.test.impl.ParameterTypeImpl.class), 5, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        break;
                    case  16 :
                        if (("componentName" == ___local)&&("" == ___uri)) {
                            _OptionsCommonParameters.add(((com.uvigo.mhp.xml.test.impl.ParameterTypeImpl) spawnChildFromEnterElement((com.uvigo.mhp.xml.test.impl.ParameterTypeImpl.class), 17, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        break;
                    case  15 :
                        if (("optionsCommonParameters" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 16;
                            return ;
                        }
                        state = 18;
                        continue outer;
                    case  24 :
                        if (("questionGroup" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 22;
                            return ;
                        }
                        revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
                        return ;
                    case  10 :
                        if (("componentName" == ___local)&&("" == ___uri)) {
                            _QuestionGroupsCommonParameters.add(((com.uvigo.mhp.xml.test.impl.ParameterTypeImpl) spawnChildFromEnterElement((com.uvigo.mhp.xml.test.impl.ParameterTypeImpl.class), 11, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        break;
                    case  18 :
                        if (("optionsCommonParameters" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 16;
                            return ;
                        }
                        if (("minimumCorrectAnswers" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, true);
                            state = 19;
                            return ;
                        }
                        break;
                }
                super.enterElement(___uri, ___local, ___qname, __atts);
                break;
            }
        }

        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  11 :
                        if (("questionGroupsCommonParameters" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 12;
                            return ;
                        }
                        break;
                    case  9 :
                        state = 12;
                        continue outer;
                    case  3 :
                        state = 6;
                        continue outer;
                    case  5 :
                        if (("questionsCommonParameters" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 6;
                            return ;
                        }
                        break;
                    case  23 :
                        if (("questionGroup" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 24;
                            return ;
                        }
                        break;
                    case  20 :
                        if (("minimumCorrectAnswers" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 21;
                            return ;
                        }
                        break;
                    case  12 :
                        state = 15;
                        continue outer;
                    case  0 :
                        state = 3;
                        continue outer;
                    case  8 :
                        if (("questionGroupsDefaultClassName" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 9;
                            return ;
                        }
                        break;
                    case  6 :
                        state = 9;
                        continue outer;
                    case  14 :
                        if (("optionsDefaultClassName" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 15;
                            return ;
                        }
                        break;
                    case  15 :
                        state = 18;
                        continue outer;
                    case  17 :
                        if (("optionsCommonParameters" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 18;
                            return ;
                        }
                        break;
                    case  24 :
                        revertToParentFromLeaveElement(___uri, ___local, ___qname);
                        return ;
                    case  2 :
                        if (("questionsDefaultClassName" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 3;
                            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  9 :
                        state = 12;
                        continue outer;
                    case  3 :
                        state = 6;
                        continue outer;
                    case  12 :
                        state = 15;
                        continue outer;
                    case  0 :
                        state = 3;
                        continue outer;
                    case  6 :
                        state = 9;
                        continue outer;
                    case  15 :
                        state = 18;
                        continue outer;
                    case  24 :
                        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  9 :
                        state = 12;
                        continue outer;
                    case  3 :
                        state = 6;
                        continue outer;
                    case  12 :
                        state = 15;
                        continue outer;
                    case  0 :
                        state = 3;
                        continue outer;
                    case  6 :
                        state = 9;
                        continue outer;
                    case  15 :
                        state = 18;
                        continue outer;
                    case  24 :
                        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  9 :
                            state = 12;
                            continue outer;
                        case  3 :
                            state = 6;
                            continue outer;
                        case  1 :
                            eatText1(value);
                            state = 2;
                            return ;
                        case  7 :
                            eatText2(value);
                            state = 8;
                            return ;
                        case  12 :
                            state = 15;
                            continue outer;
                        case  0 :
                            state = 3;
                            continue outer;
                        case  6 :
                            state = 9;
                            continue outer;
                        case  19 :
                            eatText3(value);
                            state = 20;
                            return ;
                        case  15 :
                            state = 18;
                            continue outer;
                        case  24 :
                            revertToParentFromText(value);
                            return ;
                        case  13 :
                            eatText4(value);
                            state = 14;
                            return ;
                    }
                } catch (java.lang.RuntimeException e) {
                    handleUnexpectedTextException(value, e);
                }
                break;
            }
        }

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

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

        private void eatText3(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            try {
                _MinimumCorrectAnswers = javax.xml.bind.DatatypeConverter.parseInt(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value));
                has_MinimumCorrectAnswers = true;
            } catch (java.lang.Exception e) {
                handleParseConversionException(e);
            }
        }

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

    }

}
