//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vBeta 
// 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.26 at 03:38:22 CEST 
//


package phex.xml.impl;

public class XJBUpdateResponseImpl implements phex.xml.XJBUpdateResponse, com.sun.xml.bind.unmarshaller.UnmarshallableObject, com.sun.xml.bind.serializer.XMLSerializable, com.sun.xml.bind.validator.ValidatableObject
{

    private final static Class PRIMARY_INTERFACE_CLASS = phex.xml.XJBUpdateResponse.class;
    protected java.util.ArrayList _VersionList = new java.util.ArrayList();
    protected java.util.ArrayList _InfoList = new java.util.ArrayList();
    private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize("\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0091Ue\u00f1\u0017p\u00f3\u00ad\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp\u009f\u008d\u000fi<\u00c1_\u00b7\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/grammar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0003I\u0000\u000ecachedHashCodeL\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0002xp\u0001\u00c8\u00a1gppsr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u00c6|\u00ec3\u0087\u00b8\u00f9\u00f4\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0000\u00e4P\u00b1ppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u00cc;^\u00bb\u0004E\u00cc\u00db\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\'\u00bbhe^\u001f_5\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0000\u00e4P\u00a6sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u008b\u0010\u001fsu\u008b\u0091\u00c2\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u00d3\u00c6b\u0095\u0015\rC\u0092\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0000\u00e4P\u00a3q\u0000~\u0000\fp\u0000sq\u0000~\u0000\r\u0000\u00e4P\u0098pp\u0000sq\u0000~\u0000\u0006\u0000\u00e4P\u008dppsq\u0000~\u0000\b\u0000\u00e4P\u0082q\u0000~\u0000\fpsr\u0000 com.sun.msv.grammar.AttributeExp0\rR\n\u00c7L\n\u0099\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\u000exq\u0000~\u0000\u0003\u0000\u00e4P\u007fq\u0000~\u0000\fpsr\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u00cb\u00b2\u00f3\u00c9\u0081\u0000\u000f\u00bc\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\bsq\u0000~\u0000\u000b\u0001q\u0000~\u0000\u0017sr\u0000 com.sun.msv.grammar.AnyNameClass\u00c3p\u00af\u0013\u00eft\u0094\u00bd\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u009c}\u00d4kB\u00c7\tk\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0098v\u00e3\u0003Z\u00fex\u00ee\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tq\u0000~\u0000\u0018psr\u0000#com.sun.msv.grammar.SimpleNameClass\u0091\u00e9\u00f7\u008d\u00ab\u0010\u00aa\u00f5\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000\u001fxq\u0000~\u0000\u001at\u0000&phex.xml.XJBUpdateResponse.VersionTypet\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u001et\u0000\u0007versiont\u0000\u0000q\u0000~\u0000\u001dsq\u0000~\u0000\u0006\u0000\u00e4P\u00b1ppsq\u0000~\u0000\b\u0000\u00e4P\u00a6q\u0000~\u0000\fpsq\u0000~\u0000\r\u0000\u00e4P\u00a3q\u0000~\u0000\fp\u0000sq\u0000~\u0000\r\u0000\u00e4P\u0098pp\u0000sq\u0000~\u0000\u0006\u0000\u00e4P\u008dppsq\u0000~\u0000\b\u0000\u00e4P\u0082q\u0000~\u0000\fpsq\u0000~\u0000\u0014\u0000\u00e4P\u007fq\u0000~\u0000\fpq\u0000~\u0000\u0017q\u0000~\u0000\u001bq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000#phex.xml.XJBUpdateResponse.InfoTypeq\u0000~\u0000\"sq\u0000~\u0000\u001et\u0000\u0004infoq\u0000~\u0000%q\u0000~\u0000\u001dsr\u0000\"com.sun.msv.grammar.ExpressionPool\u00e5\u00f3J;\u00cd]^\u00f8\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u00002[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\t\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0005ppppppppppppppppppppppq\u0000~\u0000\u0013q\u0000~\u0000+pppppppppq\u0000~\u0000\u0012q\u0000~\u0000*pppppppppppppppppppppppq\u0000~\u0000\nq\u0000~\u0000\'pppppppppq\u0000~\u0000\u0007q\u0000~\u0000&ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp");

    public java.util.List getVersionList() {
        return _VersionList;
    }

    public java.util.List getInfoList() {
        return _InfoList;
    }

    public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
        return new phex.xml.impl.XJBUpdateResponseImpl.Unmarshaller(context);
    }

    public Class getPrimaryInterfaceClass() {
        return PRIMARY_INTERFACE_CLASS;
    }

    public void serializeElements(com.sun.xml.bind.serializer.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx1 = 0;
        final int len1 = _VersionList.size();
        int idx2 = 0;
        final int len2 = _InfoList.size();
        while (idx1 != len1) {
            context.startElement("", "version");
            int idx_0 = idx1;
            context.childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _VersionList.get(idx_0 ++)));
            context.endAttributes();
            context.childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _VersionList.get(idx1 ++)));
            context.endElement();
        }
        while (idx2 != len2) {
            context.startElement("", "info");
            int idx_1 = idx2;
            context.childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _InfoList.get(idx_1 ++)));
            context.endAttributes();
            context.childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _InfoList.get(idx2 ++)));
            context.endElement();
        }
    }

    public void serializeAttributes(com.sun.xml.bind.serializer.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx1 = 0;
        final int len1 = _VersionList.size();
        int idx2 = 0;
        final int len2 = _InfoList.size();
    }

    public void serializeAttributeBodies(com.sun.xml.bind.serializer.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx1 = 0;
        final int len1 = _VersionList.size();
        int idx2 = 0;
        final int len2 = _InfoList.size();
    }

    public Class getPrimaryInterface() {
        return (phex.xml.XJBUpdateResponse.class);
    }

    public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
        return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
    }

    public static class InfoTypeImpl implements phex.xml.XJBUpdateResponse.InfoType, com.sun.xml.bind.unmarshaller.UnmarshallableObject, com.sun.xml.bind.serializer.XMLSerializable, com.sun.xml.bind.validator.ValidatableObject
    {

        private final static Class PRIMARY_INTERFACE_CLASS = phex.xml.XJBUpdateResponse.InfoType.class;
        protected String _Text;
        protected String _Header;
        protected String _Id;
        private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize("\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0091Ue\u00f1\u0017p\u00f3\u00ad\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp\u009f\u008d\u000fi<\u00c1_\u00b7\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/grammar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0003I\u0000\u000ecachedHashCodeL\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0002xp\u0001\u00a0].ppsq\u0000~\u0000\u0000\u0000\u00a2\n\u00abppsr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u00c6|\u00ec3\u0087\u00b8\u00f9\u00f4\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0000Q\u0005Sppsr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u008b\u0010\u001fsu\u008b\u0091\u00c2\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u00d3\u00c6b\u0095\u0015\rC\u0092\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0000Q\u0005Hsr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000p\u0000sr\u0000\u001bcom.sun.msv.grammar.DataExp8\u00f5\u00f5>{j!\u00cb\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\u0000Q\u0005=ppsr\u0000#com.sun.msv.datatype.xsd.StringType\u00c0\t\u00a9y\u00f6\u0011\u009b\u00e6\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0002\u00ff10\u00a8bR\u00ca\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType7\u00adsa|\u00d7Z\u001d\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl4\u00e9\u0099H.\u00872z\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0017L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006stringsr\u0000.com.sun.msv.datatype.xsd.WhiteSpaceProcessor$1\u0013JMoI\u00db\u00a4G\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessorip\u00ff0C\u00ce\u000eN\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$NullSetExpression s\u0080\u0089\u0096\u00cf\u009a@\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\nq\u0000~\u0000\u000epsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0017L\u0000\fnamespaceURIq\u0000~\u0000\u0017xpq\u0000~\u0000\u001bq\u0000~\u0000\u001asr\u0000#com.sun.msv.grammar.SimpleNameClass\u0091\u00e9\u00f7\u008d\u00ab\u0010\u00aa\u00f5\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0017L\u0000\fnamespaceURIq\u0000~\u0000\u0017xr\u0000\u001dcom.sun.msv.grammar.NameClass\u009c}\u00d4kB\u00c7\tk\u0002\u0000\u0000xpt\u0000\u0006headert\u0000\u0000sr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0098v\u00e3\u0003Z\u00fex\u00ee\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tsq\u0000~\u0000\r\u0001psq\u0000~\u0000\u0007\u0000Q\u0005Sppsq\u0000~\u0000\t\u0000Q\u0005Hq\u0000~\u0000\u000ep\u0000q\u0000~\u0000\u0012sq\u0000~\u0000#t\u0000\u0004textq\u0000~\u0000\'q\u0000~\u0000)sr\u0000 com.sun.msv.grammar.AttributeExp0\rR\n\u00c7L\n\u0099\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\nxq\u0000~\u0000\u0003\u0000\u00feR~ppq\u0000~\u0000\u0012sq\u0000~\u0000#t\u0000\u0002idq\u0000~\u0000\'sr\u0000\"com.sun.msv.grammar.ExpressionPool\u00e5\u00f3J;\u00cd]^\u00f8\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u00004[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\u0004\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0006pppppppppppppppq\u0000~\u0000\bq\u0000~\u0000+ppppppppppppppppq\u0000~\u0000\u0005pp");

        public String getText() {
            return _Text;
        }

        public void setText(String value) {
            _Text = value;
        }

        public String getHeader() {
            return _Header;
        }

        public void setHeader(String value) {
            _Header = value;
        }

        public String getId() {
            return _Id;
        }

        public void setId(String value) {
            _Id = value;
        }

        public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
            return new phex.xml.impl.XJBUpdateResponseImpl.InfoTypeImpl.Unmarshaller(context);
        }

        public Class getPrimaryInterfaceClass() {
            return PRIMARY_INTERFACE_CLASS;
        }

        public void serializeElements(com.sun.xml.bind.serializer.XMLSerializer context)
            throws org.xml.sax.SAXException
        {
            if (_Header!= null) {
                context.startElement("", "header");
                context.endAttributes();
                context.text(((String) _Header));
                context.endElement();
            }
            if (_Text!= null) {
                context.startElement("", "text");
                context.endAttributes();
                context.text(((String) _Text));
                context.endElement();
            }
        }

        public void serializeAttributes(com.sun.xml.bind.serializer.XMLSerializer context)
            throws org.xml.sax.SAXException
        {
            context.startAttribute("", "id");
            context.text(((String) _Id));
            context.endAttribute();
        }

        public void serializeAttributeBodies(com.sun.xml.bind.serializer.XMLSerializer context)
            throws org.xml.sax.SAXException
        {
        }

        public Class getPrimaryInterface() {
            return (phex.xml.XJBUpdateResponse.InfoType.class);
        }

        public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
            return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
        }

        public class Unmarshaller
            extends com.sun.xml.bind.unmarshaller.ContentHandlerEx
        {


            public Unmarshaller(com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
                super(context, "-------");
            }

            protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
                return phex.xml.impl.XJBUpdateResponseImpl.InfoTypeImpl.this;
            }

            public void enterElement(String ___uri, String ___local, org.xml.sax.Attributes __atts)
                throws com.sun.xml.bind.unmarshaller.UnreportedException
            {
                switch (state) {
                    case  0 :
                        if ("".equals(___uri)&&"header".equals(___local)) {
                            context.pushAttributes(__atts);
                            state = 1;
                            return ;
                        }
                        if ("".equals(___uri)&&"text".equals(___local)) {
                            context.pushAttributes(__atts);
                            state = 3;
                            return ;
                        }
                        revertToParentFromEnterElement(___uri, ___local, __atts);
                        return ;
                }
                super.enterElement(___uri, ___local, __atts);
            }

            public void leaveElement(String ___uri, String ___local)
                throws com.sun.xml.bind.unmarshaller.UnreportedException
            {
                switch (state) {
                    case  4 :
                        if ("".equals(___uri)&&"text".equals(___local)) {
                            context.popAttributes();
                            goto0();
                            return ;
                        }
                        break;
                    case  2 :
                        if ("".equals(___uri)&&"header".equals(___local)) {
                            context.popAttributes();
                            goto0();
                            return ;
                        }
                        break;
                    case  0 :
                        revertToParentFromLeaveElement(___uri, ___local);
                        return ;
                }
                super.leaveElement(___uri, ___local);
            }

            public void enterAttribute(String ___uri, String ___local)
                throws com.sun.xml.bind.unmarshaller.UnreportedException
            {
                switch (state) {
                    case  0 :
                        if ("".equals(___uri)&&"id".equals(___local)) {
                            state = 5;
                            return ;
                        }
                        revertToParentFromEnterAttribute(___uri, ___local);
                        return ;
                }
                super.enterAttribute(___uri, ___local);
            }

            public void leaveAttribute(String ___uri, String ___local)
                throws com.sun.xml.bind.unmarshaller.UnreportedException
            {
                switch (state) {
                    case  6 :
                        if ("".equals(___uri)&&"id".equals(___local)) {
                            goto0();
                            return ;
                        }
                        break;
                    case  0 :
                        revertToParentFromLeaveAttribute(___uri, ___local);
                        return ;
                }
                super.leaveAttribute(___uri, ___local);
            }

            public void text(String value)
                throws com.sun.xml.bind.unmarshaller.UnreportedException
            {
                try {
                    switch (state) {
                        case  3 :
                            _Text = value;
                            state = 4;
                            return ;
                        case  5 :
                            _Id = value;
                            state = 6;
                            return ;
                        case  1 :
                            _Header = value;
                            state = 2;
                            return ;
                        case  0 :
                            revertToParentFromText(value);
                            return ;
                    }
                } catch (RuntimeException e) {
                    handleUnexpectedTextException(value, e);
                }
            }

            private void goto0()
                throws com.sun.xml.bind.unmarshaller.UnreportedException
            {
                int idx;
                state = 0;
                idx = context.getAttribute("", "id");
                if (idx >= 0) {
                    context.consumeAttribute(idx);
                    return ;
                }
            }

        }

    }

    public class Unmarshaller
        extends com.sun.xml.bind.unmarshaller.ContentHandlerEx
    {


        public Unmarshaller(com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
            super(context, "-----");
        }

        protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
            return phex.xml.impl.XJBUpdateResponseImpl.this;
        }

        public void enterElement(String ___uri, String ___local, org.xml.sax.Attributes __atts)
            throws com.sun.xml.bind.unmarshaller.UnreportedException
        {
            switch (state) {
                case  3 :
                    if ("".equals(___uri)&&"header".equals(___local)) {
                        _InfoList.add(((phex.xml.impl.XJBUpdateResponseImpl.InfoTypeImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateResponseImpl.InfoTypeImpl.class), 4, ___uri, ___local, __atts)));
                        return ;
                    }
                    if ("".equals(___uri)&&"text".equals(___local)) {
                        _InfoList.add(((phex.xml.impl.XJBUpdateResponseImpl.InfoTypeImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateResponseImpl.InfoTypeImpl.class), 4, ___uri, ___local, __atts)));
                        return ;
                    }
                    break;
                case  0 :
                    if ("".equals(___uri)&&"version".equals(___local)) {
                        context.pushAttributes(__atts);
                        goto1();
                        return ;
                    }
                    if ("".equals(___uri)&&"info".equals(___local)) {
                        context.pushAttributes(__atts);
                        goto3();
                        return ;
                    }
                    revertToParentFromEnterElement(___uri, ___local, __atts);
                    return ;
                case  1 :
                    if ("".equals(___uri)&&"text".equals(___local)) {
                        _VersionList.add(((phex.xml.impl.XJBUpdateResponseImpl.VersionTypeImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateResponseImpl.VersionTypeImpl.class), 2, ___uri, ___local, __atts)));
                        return ;
                    }
                    break;
            }
            super.enterElement(___uri, ___local, __atts);
        }

        public void leaveElement(String ___uri, String ___local)
            throws com.sun.xml.bind.unmarshaller.UnreportedException
        {
            switch (state) {
                case  0 :
                    revertToParentFromLeaveElement(___uri, ___local);
                    return ;
                case  4 :
                    if ("".equals(___uri)&&"info".equals(___local)) {
                        context.popAttributes();
                        state = 0;
                        return ;
                    }
                    break;
                case  2 :
                    if ("".equals(___uri)&&"version".equals(___local)) {
                        context.popAttributes();
                        state = 0;
                        return ;
                    }
                    break;
            }
            super.leaveElement(___uri, ___local);
        }

        public void enterAttribute(String ___uri, String ___local)
            throws com.sun.xml.bind.unmarshaller.UnreportedException
        {
            switch (state) {
                case  3 :
                    if ("".equals(___uri)&&"id".equals(___local)) {
                        _InfoList.add(((phex.xml.impl.XJBUpdateResponseImpl.InfoTypeImpl) spawnChildFromEnterAttribute((phex.xml.impl.XJBUpdateResponseImpl.InfoTypeImpl.class), 4, ___uri, ___local)));
                        return ;
                    }
                    break;
                case  0 :
                    revertToParentFromEnterAttribute(___uri, ___local);
                    return ;
                case  1 :
                    if ("".equals(___uri)&&"isBeta".equals(___local)) {
                        _VersionList.add(((phex.xml.impl.XJBUpdateResponseImpl.VersionTypeImpl) spawnChildFromEnterAttribute((phex.xml.impl.XJBUpdateResponseImpl.VersionTypeImpl.class), 2, ___uri, ___local)));
                        return ;
                    }
                    if ("".equals(___uri)&&"id".equals(___local)) {
                        _VersionList.add(((phex.xml.impl.XJBUpdateResponseImpl.VersionTypeImpl) spawnChildFromEnterAttribute((phex.xml.impl.XJBUpdateResponseImpl.VersionTypeImpl.class), 2, ___uri, ___local)));
                        return ;
                    }
                    break;
            }
            super.enterAttribute(___uri, ___local);
        }

        public void leaveAttribute(String ___uri, String ___local)
            throws com.sun.xml.bind.unmarshaller.UnreportedException
        {
            switch (state) {
                case  0 :
                    revertToParentFromLeaveAttribute(___uri, ___local);
                    return ;
            }
            super.leaveAttribute(___uri, ___local);
        }

        public void text(String value)
            throws com.sun.xml.bind.unmarshaller.UnreportedException
        {
            try {
                switch (state) {
                    case  0 :
                        revertToParentFromText(value);
                        return ;
                }
            } catch (RuntimeException e) {
                handleUnexpectedTextException(value, e);
            }
        }

        public void leaveChild(int nextState)
            throws com.sun.xml.bind.unmarshaller.UnreportedException
        {
            switch (nextState) {
                case  4 :
                    state = 4;
                    return ;
                case  2 :
                    state = 2;
                    return ;
            }
            super.leaveChild(nextState);
        }

        private void goto3()
            throws com.sun.xml.bind.unmarshaller.UnreportedException
        {
            int idx;
            state = 3;
            idx = context.getAttribute("", "id");
            if (idx >= 0) {
                context.consumeAttribute(idx);
                return ;
            }
        }

        private void goto1()
            throws com.sun.xml.bind.unmarshaller.UnreportedException
        {
            int idx;
            state = 1;
            idx = context.getAttribute("", "isBeta");
            if (idx >= 0) {
                context.consumeAttribute(idx);
                return ;
            }
            idx = context.getAttribute("", "id");
            if (idx >= 0) {
                context.consumeAttribute(idx);
                return ;
            }
        }

    }

    public static class VersionTypeImpl implements phex.xml.XJBUpdateResponse.VersionType, com.sun.xml.bind.unmarshaller.UnmarshallableObject, com.sun.xml.bind.serializer.XMLSerializable, com.sun.xml.bind.validator.ValidatableObject
    {

        private final static Class PRIMARY_INTERFACE_CLASS = phex.xml.XJBUpdateResponse.VersionType.class;
        protected boolean has_Beta;
        protected boolean _Beta;
        protected String _Text;
        protected String _Id;
        private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize("\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0091Ue\u00f1\u0017p\u00f3\u00ad\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp\u009f\u008d\u000fi<\u00c1_\u00b7\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/grammar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0003I\u0000\u000ecachedHashCodeL\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0002xp\u0004\u00abCuppsq\u0000~\u0000\u0000\u0002\u00e7y\u00b7ppsr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u00c6|\u00ec3\u0087\u00b8\u00f9\u00f4\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0000Q\u0005Sppsr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u008b\u0010\u001fsu\u008b\u0091\u00c2\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u00d3\u00c6b\u0095\u0015\rC\u0092\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0000Q\u0005Hsr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000p\u0000sr\u0000\u001bcom.sun.msv.grammar.DataExp8\u00f5\u00f5>{j!\u00cb\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\u0000Q\u0005=ppsr\u0000#com.sun.msv.datatype.xsd.StringType\u00c0\t\u00a9y\u00f6\u0011\u009b\u00e6\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0002\u00ff10\u00a8bR\u00ca\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType7\u00adsa|\u00d7Z\u001d\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl4\u00e9\u0099H.\u00872z\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0017L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006stringsr\u0000.com.sun.msv.datatype.xsd.WhiteSpaceProcessor$1\u0013JMoI\u00db\u00a4G\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessorip\u00ff0C\u00ce\u000eN\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$NullSetExpression s\u0080\u0089\u0096\u00cf\u009a@\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\nq\u0000~\u0000\u000epsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0017L\u0000\fnamespaceURIq\u0000~\u0000\u0017xpq\u0000~\u0000\u001bq\u0000~\u0000\u001asr\u0000#com.sun.msv.grammar.SimpleNameClass\u0091\u00e9\u00f7\u008d\u00ab\u0010\u00aa\u00f5\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0017L\u0000\fnamespaceURIq\u0000~\u0000\u0017xr\u0000\u001dcom.sun.msv.grammar.NameClass\u009c}\u00d4kB\u00c7\tk\u0002\u0000\u0000xpt\u0000\u0004textt\u0000\u0000sr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0098v\u00e3\u0003Z\u00fex\u00ee\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tsq\u0000~\u0000\r\u0001psr\u0000 com.sun.msv.grammar.AttributeExp0\rR\n\u00c7L\n\u0099\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\nxq\u0000~\u0000\u0003\u0002\u0096t_ppsq\u0000~\u0000\u000f\u0001<F\u009appsr\u0000$com.sun.msv.datatype.xsd.BooleanType\u008f\u0081\u0081\u0090\u00c8\u0002}\u0099\u0002\u0000\u0000xq\u0000~\u0000\u0014q\u0000~\u0000\u001at\u0000\u0007booleansr\u0000.com.sun.msv.datatype.xsd.WhiteSpaceProcessor$2\u0087z9\u00ee\u00f8,N\u0005\u0002\u0000\u0000xq\u0000~\u0000\u001dq\u0000~\u0000 sq\u0000~\u0000!q\u0000~\u00000q\u0000~\u0000\u001asq\u0000~\u0000#t\u0000\u0006isBetaq\u0000~\u0000\'sq\u0000~\u0000+\u0001\u00c3\u00c9\u00b9ppq\u0000~\u0000\u0012sq\u0000~\u0000#t\u0000\u0002idq\u0000~\u0000\'sr\u0000\"com.sun.msv.grammar.ExpressionPool\u00e5\u00f3J;\u00cd]^\u00f8\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u0000:[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\u0003\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0005pppppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\u0006pppppppppppppppppppppppppppppppppppppppppppppppppppppq\u0000~\u0000\bpppppppppppppppppppp");

        public boolean isBeta() {
            return _Beta;
        }

        public void setBeta(boolean value) {
            _Beta = value;
            has_Beta = true;
        }

        public String getText() {
            return _Text;
        }

        public void setText(String value) {
            _Text = value;
        }

        public String getId() {
            return _Id;
        }

        public void setId(String value) {
            _Id = value;
        }

        public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
            return new phex.xml.impl.XJBUpdateResponseImpl.VersionTypeImpl.Unmarshaller(context);
        }

        public Class getPrimaryInterfaceClass() {
            return PRIMARY_INTERFACE_CLASS;
        }

        public void serializeElements(com.sun.xml.bind.serializer.XMLSerializer context)
            throws org.xml.sax.SAXException
        {
            if (_Text!= null) {
                context.startElement("", "text");
                context.endAttributes();
                context.text(((String) _Text));
                context.endElement();
            }
        }

        public void serializeAttributes(com.sun.xml.bind.serializer.XMLSerializer context)
            throws org.xml.sax.SAXException
        {
            context.startAttribute("", "isBeta");
            context.text(com.sun.msv.datatype.xsd.BooleanType.save(((Boolean) new java.lang.Boolean(_Beta))));
            context.endAttribute();
            context.startAttribute("", "id");
            context.text(((String) _Id));
            context.endAttribute();
        }

        public void serializeAttributeBodies(com.sun.xml.bind.serializer.XMLSerializer context)
            throws org.xml.sax.SAXException
        {
        }

        public Class getPrimaryInterface() {
            return (phex.xml.XJBUpdateResponse.VersionType.class);
        }

        public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
            return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
        }

        public class Unmarshaller
            extends com.sun.xml.bind.unmarshaller.ContentHandlerEx
        {


            public Unmarshaller(com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
                super(context, "-------");
            }

            protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
                return phex.xml.impl.XJBUpdateResponseImpl.VersionTypeImpl.this;
            }

            public void enterElement(String ___uri, String ___local, org.xml.sax.Attributes __atts)
                throws com.sun.xml.bind.unmarshaller.UnreportedException
            {
                switch (state) {
                    case  0 :
                        if ("".equals(___uri)&&"text".equals(___local)) {
                            context.pushAttributes(__atts);
                            state = 1;
                            return ;
                        }
                        revertToParentFromEnterElement(___uri, ___local, __atts);
                        return ;
                }
                super.enterElement(___uri, ___local, __atts);
            }

            public void leaveElement(String ___uri, String ___local)
                throws com.sun.xml.bind.unmarshaller.UnreportedException
            {
                switch (state) {
                    case  0 :
                        revertToParentFromLeaveElement(___uri, ___local);
                        return ;
                    case  2 :
                        if ("".equals(___uri)&&"text".equals(___local)) {
                            context.popAttributes();
                            goto0();
                            return ;
                        }
                        break;
                }
                super.leaveElement(___uri, ___local);
            }

            public void enterAttribute(String ___uri, String ___local)
                throws com.sun.xml.bind.unmarshaller.UnreportedException
            {
                switch (state) {
                    case  0 :
                        if ("".equals(___uri)&&"isBeta".equals(___local)) {
                            state = 3;
                            return ;
                        }
                        if ("".equals(___uri)&&"id".equals(___local)) {
                            state = 5;
                            return ;
                        }
                        revertToParentFromEnterAttribute(___uri, ___local);
                        return ;
                }
                super.enterAttribute(___uri, ___local);
            }

            public void leaveAttribute(String ___uri, String ___local)
                throws com.sun.xml.bind.unmarshaller.UnreportedException
            {
                switch (state) {
                    case  0 :
                        revertToParentFromLeaveAttribute(___uri, ___local);
                        return ;
                    case  6 :
                        if ("".equals(___uri)&&"id".equals(___local)) {
                            goto0();
                            return ;
                        }
                        break;
                    case  4 :
                        if ("".equals(___uri)&&"isBeta".equals(___local)) {
                            goto0();
                            return ;
                        }
                        break;
                }
                super.leaveAttribute(___uri, ___local);
            }

            public void text(String value)
                throws com.sun.xml.bind.unmarshaller.UnreportedException
            {
                try {
                    switch (state) {
                        case  3 :
                            _Beta = com.sun.msv.datatype.xsd.BooleanType.load(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value)).booleanValue();
                            has_Beta = true;
                            state = 4;
                            return ;
                        case  0 :
                            revertToParentFromText(value);
                            return ;
                        case  5 :
                            _Id = value;
                            state = 6;
                            return ;
                        case  1 :
                            _Text = value;
                            state = 2;
                            return ;
                    }
                } catch (RuntimeException e) {
                    handleUnexpectedTextException(value, e);
                }
            }

            private void goto0()
                throws com.sun.xml.bind.unmarshaller.UnreportedException
            {
                int idx;
                state = 0;
                idx = context.getAttribute("", "isBeta");
                if (idx >= 0) {
                    context.consumeAttribute(idx);
                    return ;
                }
                idx = context.getAttribute("", "id");
                if (idx >= 0) {
                    context.consumeAttribute(idx);
                    return ;
                }
            }

        }

    }

}
