//
// 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 XJBPhexImpl implements phex.xml.XJBPhex, 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.XJBPhex.class;
    protected String _OldPhexVersion;
    protected phex.xml.XJBSWDownloadList _SWDownloadList;
    protected phex.xml.XJBSecurity _Security;
    protected phex.xml.XJBUpdateRequest _UpdateRequest;
    protected String _PhexVersion;
    protected phex.xml.XJBSearchFilters _SearchFilters;
    protected phex.xml.XJBUpdateResponse _UpdateResponse;
    protected phex.xml.XJBOldDownloadList _DownloadList;
    protected phex.xml.XJBFavoritesList _FavoritesList;
    protected phex.xml.XJBSharedLibrary _SharedLibrary;
    protected phex.xml.XJBGUISettings _GuiSettings;
    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\n|c\u0097ppsq\u0000~\u0000\u0000\bW\u00db\u009eppsq\u0000~\u0000\u0000\u0007s\u008a\u00ebppsq\u0000~\u0000\u0000\u0006\u008f:8ppsq\u0000~\u0000\u0000\u0006>4\u00e0ppsq\u0000~\u0000\u0000\u0005Y\u00e4-ppsq\u0000~\u0000\u0000\u0004u\u0093zppsq\u0000~\u0000\u0000\u0003\u0091B\u00c7ppsq\u0000~\u0000\u0000\u0002\u00ac\u00f2\u0014ppsq\u0000~\u0000\u0000\u0001\u00c8\u00a1appsr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u00c6|\u00ec3\u0087\u00b8\u00f9\u00f4\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0000\u00e4P\u00aeppsr\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\u00a3sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000p\u0000sq\u0000~\u0000\u0011\u0000\u00e4P\u0098pp\u0000sq\u0000~\u0000\u000f\u0000\u00e4P\u008dppsr\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\u0082q\u0000~\u0000\u0016psr\u0000 com.sun.msv.grammar.AttributeExp0\rR\n\u00c7L\n\u0099\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\u0012xq\u0000~\u0000\u0003\u0000\u00e4P\u007fq\u0000~\u0000\u0016psr\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\u0015\u0001q\u0000~\u0000\u001fsr\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 psr\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\'xq\u0000~\u0000\"t\u0000\u0019phex.xml.XJBSearchFilterst\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000&t\u0000\u000esearch-filterst\u0000\u0000q\u0000~\u0000%sq\u0000~\u0000\u000f\u0000\u00e4P\u00aeppsq\u0000~\u0000\u0011\u0000\u00e4P\u00a3q\u0000~\u0000\u0016p\u0000sq\u0000~\u0000\u0011\u0000\u00e4P\u0098pp\u0000sq\u0000~\u0000\u000f\u0000\u00e4P\u008dppsq\u0000~\u0000\u0019\u0000\u00e4P\u0082q\u0000~\u0000\u0016psq\u0000~\u0000\u001c\u0000\u00e4P\u007fq\u0000~\u0000\u0016pq\u0000~\u0000\u001fq\u0000~\u0000#q\u0000~\u0000%sq\u0000~\u0000&t\u0000\u0017phex.xml.XJBGUISettingsq\u0000~\u0000*sq\u0000~\u0000&t\u0000\fgui-settingsq\u0000~\u0000-q\u0000~\u0000%sq\u0000~\u0000\u000f\u0000\u00e4P\u00aeppsq\u0000~\u0000\u0011\u0000\u00e4P\u00a3q\u0000~\u0000\u0016p\u0000sq\u0000~\u0000\u0011\u0000\u00e4P\u0098pp\u0000sq\u0000~\u0000\u000f\u0000\u00e4P\u008dppsq\u0000~\u0000\u0019\u0000\u00e4P\u0082q\u0000~\u0000\u0016psq\u0000~\u0000\u001c\u0000\u00e4P\u007fq\u0000~\u0000\u0016pq\u0000~\u0000\u001fq\u0000~\u0000#q\u0000~\u0000%sq\u0000~\u0000&t\u0000\u0019phex.xml.XJBSharedLibraryq\u0000~\u0000*sq\u0000~\u0000&t\u0000\rsharedLibraryq\u0000~\u0000-q\u0000~\u0000%sq\u0000~\u0000\u000f\u0000\u00e4P\u00aeppsq\u0000~\u0000\u0011\u0000\u00e4P\u00a3q\u0000~\u0000\u0016p\u0000sq\u0000~\u0000\u0011\u0000\u00e4P\u0098pp\u0000sq\u0000~\u0000\u000f\u0000\u00e4P\u008dppsq\u0000~\u0000\u0019\u0000\u00e4P\u0082q\u0000~\u0000\u0016psq\u0000~\u0000\u001c\u0000\u00e4P\u007fq\u0000~\u0000\u0016pq\u0000~\u0000\u001fq\u0000~\u0000#q\u0000~\u0000%sq\u0000~\u0000&t\u0000\u0019phex.xml.XJBUpdateRequestq\u0000~\u0000*sq\u0000~\u0000&t\u0000\u000eupdate-requestq\u0000~\u0000-q\u0000~\u0000%sq\u0000~\u0000\u000f\u0000\u00e4P\u00aeppsq\u0000~\u0000\u0011\u0000\u00e4P\u00a3q\u0000~\u0000\u0016p\u0000sq\u0000~\u0000\u0011\u0000\u00e4P\u0098pp\u0000sq\u0000~\u0000\u000f\u0000\u00e4P\u008dppsq\u0000~\u0000\u0019\u0000\u00e4P\u0082q\u0000~\u0000\u0016psq\u0000~\u0000\u001c\u0000\u00e4P\u007fq\u0000~\u0000\u0016pq\u0000~\u0000\u001fq\u0000~\u0000#q\u0000~\u0000%sq\u0000~\u0000&t\u0000\u001aphex.xml.XJBUpdateResponseq\u0000~\u0000*sq\u0000~\u0000&t\u0000\u000fupdate-responseq\u0000~\u0000-q\u0000~\u0000%sq\u0000~\u0000\u000f\u0000\u00e4P\u00aeppsq\u0000~\u0000\u0011\u0000\u00e4P\u00a3q\u0000~\u0000\u0016p\u0000sq\u0000~\u0000\u0011\u0000\u00e4P\u0098pp\u0000sq\u0000~\u0000\u000f\u0000\u00e4P\u008dppsq\u0000~\u0000\u0019\u0000\u00e4P\u0082q\u0000~\u0000\u0016psq\u0000~\u0000\u001c\u0000\u00e4P\u007fq\u0000~\u0000\u0016pq\u0000~\u0000\u001fq\u0000~\u0000#q\u0000~\u0000%sq\u0000~\u0000&t\u0000\u001bphex.xml.XJBOldDownloadListq\u0000~\u0000*sq\u0000~\u0000&t\u0000\fdownloadlistq\u0000~\u0000-q\u0000~\u0000%sq\u0000~\u0000\u000f\u0000\u00e4P\u00aeppsq\u0000~\u0000\u0011\u0000\u00e4P\u00a3q\u0000~\u0000\u0016p\u0000sq\u0000~\u0000\u0011\u0000\u00e4P\u0098pp\u0000sq\u0000~\u0000\u000f\u0000\u00e4P\u008dppsq\u0000~\u0000\u0019\u0000\u00e4P\u0082q\u0000~\u0000\u0016psq\u0000~\u0000\u001c\u0000\u00e4P\u007fq\u0000~\u0000\u0016pq\u0000~\u0000\u001fq\u0000~\u0000#q\u0000~\u0000%sq\u0000~\u0000&t\u0000\u001aphex.xml.XJBSWDownloadListq\u0000~\u0000*sq\u0000~\u0000&t\u0000\u000eswDownloadListq\u0000~\u0000-q\u0000~\u0000%sq\u0000~\u0000\u000f\u0000Q\u0005Sppsq\u0000~\u0000\u0011\u0000Q\u0005Hq\u0000~\u0000\u0016p\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\fnamespaceUriq\u0000~\u0000\'L\u0000\btypeNameq\u0000~\u0000\'L\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\u0016psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\'L\u0000\fnamespaceURIq\u0000~\u0000\'xpq\u0000~\u0000wq\u0000~\u0000vsq\u0000~\u0000&t\u0000\fphex-versionq\u0000~\u0000-q\u0000~\u0000%sq\u0000~\u0000\u000f\u0000\u00e4P\u00aeppsq\u0000~\u0000\u0011\u0000\u00e4P\u00a3q\u0000~\u0000\u0016p\u0000sq\u0000~\u0000\u0011\u0000\u00e4P\u0098pp\u0000sq\u0000~\u0000\u000f\u0000\u00e4P\u008dppsq\u0000~\u0000\u0019\u0000\u00e4P\u0082q\u0000~\u0000\u0016psq\u0000~\u0000\u001c\u0000\u00e4P\u007fq\u0000~\u0000\u0016pq\u0000~\u0000\u001fq\u0000~\u0000#q\u0000~\u0000%sq\u0000~\u0000&t\u0000\u0014phex.xml.XJBSecurityq\u0000~\u0000*sq\u0000~\u0000&t\u0000\bsecurityq\u0000~\u0000-q\u0000~\u0000%sq\u0000~\u0000\u000f\u0000\u00e4P\u00aeppsq\u0000~\u0000\u0011\u0000\u00e4P\u00a3q\u0000~\u0000\u0016p\u0000sq\u0000~\u0000\u0011\u0000\u00e4P\u0098pp\u0000sq\u0000~\u0000\u000f\u0000\u00e4P\u008dppsq\u0000~\u0000\u0019\u0000\u00e4P\u0082q\u0000~\u0000\u0016psq\u0000~\u0000\u001c\u0000\u00e4P\u007fq\u0000~\u0000\u0016pq\u0000~\u0000\u001fq\u0000~\u0000#q\u0000~\u0000%sq\u0000~\u0000&t\u0000\u0019phex.xml.XJBFavoritesListq\u0000~\u0000*sq\u0000~\u0000&t\u0000\u000efavorites-listq\u0000~\u0000-q\u0000~\u0000%sq\u0000~\u0000\u000f\u0002$\u0087\u00f4ppsq\u0000~\u0000\u001c\u0002$\u0087\u00e9q\u0000~\u0000\u0016pq\u0000~\u0000osq\u0000~\u0000&t\u0000\fphex-versionq\u0000~\u0000-q\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\u009a[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/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\u00bfppppppppppppq\u0000~\u0000\u000bpppppppppppppppppppppppppppq\u0000~\u0000\u000eq\u0000~\u0000\bq\u0000~\u0000\u0095ppppppppppppppq\u0000~\u0000\tpppppppppppq\u0000~\u0000\u001bq\u0000~\u00002q\u0000~\u0000<q\u0000~\u0000Fq\u0000~\u0000Pq\u0000~\u0000Zq\u0000~\u0000dq\u0000~\u0000\u0085q\u0000~\u0000\u008fppq\u0000~\u0000\u0018q\u0000~\u00001q\u0000~\u0000;q\u0000~\u0000Eq\u0000~\u0000Oq\u0000~\u0000\fq\u0000~\u0000Yq\u0000~\u0000cq\u0000~\u0000\u0084q\u0000~\u0000\u008eq\u0000~\u0000\u0006ppppppppppppppppppppppq\u0000~\u0000\u0010q\u0000~\u0000.q\u0000~\u00008q\u0000~\u0000Bq\u0000~\u0000Lq\u0000~\u0000Vq\u0000~\u0000`q\u0000~\u0000\u0081q\u0000~\u0000\u008bppppppppq\u0000~\u0000\nq\u0000~\u0000\u0005ppppppppppppppppppppppppppq\u0000~\u0000\rq\u0000~\u0000\u0007ppppppppppq\u0000~\u0000jpppppppppppppppppppp");

    public String getOldPhexVersion() {
        return _OldPhexVersion;
    }

    public void setOldPhexVersion(String value) {
        _OldPhexVersion = value;
    }

    public phex.xml.XJBSWDownloadList getSWDownloadList() {
        return _SWDownloadList;
    }

    public void setSWDownloadList(phex.xml.XJBSWDownloadList value) {
        _SWDownloadList = value;
    }

    public phex.xml.XJBSecurity getSecurity() {
        return _Security;
    }

    public void setSecurity(phex.xml.XJBSecurity value) {
        _Security = value;
    }

    public phex.xml.XJBUpdateRequest getUpdateRequest() {
        return _UpdateRequest;
    }

    public void setUpdateRequest(phex.xml.XJBUpdateRequest value) {
        _UpdateRequest = value;
    }

    public String getPhexVersion() {
        return _PhexVersion;
    }

    public void setPhexVersion(String value) {
        _PhexVersion = value;
    }

    public phex.xml.XJBSearchFilters getSearchFilters() {
        return _SearchFilters;
    }

    public void setSearchFilters(phex.xml.XJBSearchFilters value) {
        _SearchFilters = value;
    }

    public phex.xml.XJBUpdateResponse getUpdateResponse() {
        return _UpdateResponse;
    }

    public void setUpdateResponse(phex.xml.XJBUpdateResponse value) {
        _UpdateResponse = value;
    }

    public phex.xml.XJBOldDownloadList getDownloadList() {
        return _DownloadList;
    }

    public void setDownloadList(phex.xml.XJBOldDownloadList value) {
        _DownloadList = value;
    }

    public phex.xml.XJBFavoritesList getFavoritesList() {
        return _FavoritesList;
    }

    public void setFavoritesList(phex.xml.XJBFavoritesList value) {
        _FavoritesList = value;
    }

    public phex.xml.XJBSharedLibrary getSharedLibrary() {
        return _SharedLibrary;
    }

    public void setSharedLibrary(phex.xml.XJBSharedLibrary value) {
        _SharedLibrary = value;
    }

    public phex.xml.XJBGUISettings getGuiSettings() {
        return _GuiSettings;
    }

    public void setGuiSettings(phex.xml.XJBGUISettings value) {
        _GuiSettings = value;
    }

    public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
        return new phex.xml.impl.XJBPhexImpl.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 (_SearchFilters!= null) {
            context.startElement("", "search-filters");
            context.childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _SearchFilters));
            context.endAttributes();
            context.childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _SearchFilters));
            context.endElement();
        }
        if (_GuiSettings!= null) {
            context.startElement("", "gui-settings");
            context.childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _GuiSettings));
            context.endAttributes();
            context.childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _GuiSettings));
            context.endElement();
        }
        if (_SharedLibrary!= null) {
            context.startElement("", "sharedLibrary");
            context.childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _SharedLibrary));
            context.endAttributes();
            context.childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _SharedLibrary));
            context.endElement();
        }
        if (_UpdateRequest!= null) {
            context.startElement("", "update-request");
            context.childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _UpdateRequest));
            context.endAttributes();
            context.childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _UpdateRequest));
            context.endElement();
        }
        if (_UpdateResponse!= null) {
            context.startElement("", "update-response");
            context.childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _UpdateResponse));
            context.endAttributes();
            context.childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _UpdateResponse));
            context.endElement();
        }
        if (_DownloadList!= null) {
            context.startElement("", "downloadlist");
            context.childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _DownloadList));
            context.endAttributes();
            context.childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _DownloadList));
            context.endElement();
        }
        if (_SWDownloadList!= null) {
            context.startElement("", "swDownloadList");
            context.childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _SWDownloadList));
            context.endAttributes();
            context.childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _SWDownloadList));
            context.endElement();
        }
        if (_OldPhexVersion!= null) {
            context.startElement("", "phex-version");
            context.endAttributes();
            context.text(((String) _OldPhexVersion));
            context.endElement();
        }
        if (_Security!= null) {
            context.startElement("", "security");
            context.childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _Security));
            context.endAttributes();
            context.childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _Security));
            context.endElement();
        }
        if (_FavoritesList!= null) {
            context.startElement("", "favorites-list");
            context.childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _FavoritesList));
            context.endAttributes();
            context.childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _FavoritesList));
            context.endElement();
        }
    }

    public void serializeAttributes(com.sun.xml.bind.serializer.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        if (_PhexVersion!= null) {
            context.startAttribute("", "phex-version");
            context.text(((String) _PhexVersion));
            context.endAttribute();
        }
    }

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

    public Class getPrimaryInterface() {
        return (phex.xml.XJBPhex.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.XJBPhexImpl.this;
        }

        public void enterElement(String ___uri, String ___local, org.xml.sax.Attributes __atts)
            throws com.sun.xml.bind.unmarshaller.UnreportedException
        {
            switch (state) {
                case  21 :
                    if ("".equals(___uri)&&"ip-access-rule".equals(___local)) {
                        _Security = ((phex.xml.impl.XJBSecurityImpl) spawnChildFromEnterElement((phex.xml.impl.XJBSecurityImpl.class), 22, ___uri, ___local, __atts));
                        return ;
                    }
                    break;
                case  0 :
                    if ("".equals(___uri)&&"downloadlist".equals(___local)) {
                        context.pushAttributes(__atts);
                        state = 17;
                        return ;
                    }
                    if ("".equals(___uri)&&"update-request".equals(___local)) {
                        context.pushAttributes(__atts);
                        state = 13;
                        return ;
                    }
                    if ("".equals(___uri)&&"security".equals(___local)) {
                        context.pushAttributes(__atts);
                        state = 21;
                        return ;
                    }
                    if ("".equals(___uri)&&"favorites-list".equals(___local)) {
                        context.pushAttributes(__atts);
                        state = 1;
                        return ;
                    }
                    if ("".equals(___uri)&&"search-filters".equals(___local)) {
                        context.pushAttributes(__atts);
                        state = 9;
                        return ;
                    }
                    if ("".equals(___uri)&&"phex-version".equals(___local)) {
                        context.pushAttributes(__atts);
                        state = 15;
                        return ;
                    }
                    if ("".equals(___uri)&&"swDownloadList".equals(___local)) {
                        context.pushAttributes(__atts);
                        state = 19;
                        return ;
                    }
                    if ("".equals(___uri)&&"gui-settings".equals(___local)) {
                        context.pushAttributes(__atts);
                        state = 11;
                        return ;
                    }
                    if ("".equals(___uri)&&"sharedLibrary".equals(___local)) {
                        context.pushAttributes(__atts);
                        state = 5;
                        return ;
                    }
                    if ("".equals(___uri)&&"update-response".equals(___local)) {
                        context.pushAttributes(__atts);
                        state = 7;
                        return ;
                    }
                    revertToParentFromEnterElement(___uri, ___local, __atts);
                    return ;
                case  1 :
                    if ("".equals(___uri)&&"favorite-host".equals(___local)) {
                        _FavoritesList = ((phex.xml.impl.XJBFavoritesListImpl) spawnChildFromEnterElement((phex.xml.impl.XJBFavoritesListImpl.class), 2, ___uri, ___local, __atts));
                        return ;
                    }
                    break;
                case  11 :
                    if ("".equals(___uri)&&"window-posY".equals(___local)) {
                        _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 12, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"window-height".equals(___local)) {
                        _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 12, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"is-toolbar-visible".equals(___local)) {
                        _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 12, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"table-list".equals(___local)) {
                        _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 12, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"window-posX".equals(___local)) {
                        _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 12, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"look-and-feel-class".equals(___local)) {
                        _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 12, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"tab".equals(___local)) {
                        _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 12, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"window-width".equals(___local)) {
                        _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 12, ___uri, ___local, __atts));
                        return ;
                    }
                    break;
                case  13 :
                    if ("".equals(___uri)&&"shared-files".equals(___local)) {
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"hostid".equals(___local)) {
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"download-count".equals(___local)) {
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"operating-system".equals(___local)) {
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"laf-used".equals(___local)) {
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"upload-count".equals(___local)) {
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"last-info-id".equals(___local)) {
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"java-version".equals(___local)) {
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"avg-uptime".equals(___local)) {
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"current-version".equals(___local)) {
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"last-check-version".equals(___local)) {
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"show-beta-info".equals(___local)) {
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"shared-size".equals(___local)) {
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, __atts));
                        return ;
                    }
                    break;
                case  17 :
                    if ("".equals(___uri)&&"downloadfile".equals(___local)) {
                        _DownloadList = ((phex.xml.impl.XJBOldDownloadListImpl) spawnChildFromEnterElement((phex.xml.impl.XJBOldDownloadListImpl.class), 18, ___uri, ___local, __atts));
                        return ;
                    }
                    break;
                case  7 :
                    if ("".equals(___uri)&&"version".equals(___local)) {
                        _UpdateResponse = ((phex.xml.impl.XJBUpdateResponseImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateResponseImpl.class), 8, ___uri, ___local, __atts));
                        return ;
                    }
                    if ("".equals(___uri)&&"info".equals(___local)) {
                        _UpdateResponse = ((phex.xml.impl.XJBUpdateResponseImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateResponseImpl.class), 8, ___uri, ___local, __atts));
                        return ;
                    }
                    break;
                case  9 :
                    if ("".equals(___uri)&&"search-filter".equals(___local)) {
                        _SearchFilters = ((phex.xml.impl.XJBSearchFiltersImpl) spawnChildFromEnterElement((phex.xml.impl.XJBSearchFiltersImpl.class), 10, ___uri, ___local, __atts));
                        return ;
                    }
                    break;
                case  19 :
                    if ("".equals(___uri)&&"swDownloadFile".equals(___local)) {
                        _SWDownloadList = ((phex.xml.impl.XJBSWDownloadListImpl) spawnChildFromEnterElement((phex.xml.impl.XJBSWDownloadListImpl.class), 20, ___uri, ___local, __atts));
                        return ;
                    }
                    break;
                case  5 :
                    if ("".equals(___uri)&&"SF".equals(___local)) {
                        _SharedLibrary = ((phex.xml.impl.XJBSharedLibraryImpl) spawnChildFromEnterElement((phex.xml.impl.XJBSharedLibraryImpl.class), 6, ___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  21 :
                    if ("".equals(___uri)&&"security".equals(___local)) {
                        _Security = ((phex.xml.impl.XJBSecurityImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBSecurityImpl.class), 22, ___uri, ___local));
                        return ;
                    }
                    break;
                case  0 :
                    revertToParentFromLeaveElement(___uri, ___local);
                    return ;
                case  1 :
                    if ("".equals(___uri)&&"favorites-list".equals(___local)) {
                        _FavoritesList = ((phex.xml.impl.XJBFavoritesListImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBFavoritesListImpl.class), 2, ___uri, ___local));
                        return ;
                    }
                    break;
                case  20 :
                    if ("".equals(___uri)&&"swDownloadList".equals(___local)) {
                        context.popAttributes();
                        goto0();
                        return ;
                    }
                    break;
                case  6 :
                    if ("".equals(___uri)&&"sharedLibrary".equals(___local)) {
                        context.popAttributes();
                        goto0();
                        return ;
                    }
                    break;
                case  11 :
                    if ("".equals(___uri)&&"gui-settings".equals(___local)) {
                        _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBGUISettingsImpl.class), 12, ___uri, ___local));
                        return ;
                    }
                    break;
                case  16 :
                    if ("".equals(___uri)&&"phex-version".equals(___local)) {
                        context.popAttributes();
                        goto0();
                        return ;
                    }
                    break;
                case  13 :
                    if ("".equals(___uri)&&"update-request".equals(___local)) {
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local));
                        return ;
                    }
                    break;
                case  2 :
                    if ("".equals(___uri)&&"favorites-list".equals(___local)) {
                        context.popAttributes();
                        goto0();
                        return ;
                    }
                    break;
                case  10 :
                    if ("".equals(___uri)&&"search-filters".equals(___local)) {
                        context.popAttributes();
                        goto0();
                        return ;
                    }
                    break;
                case  17 :
                    if ("".equals(___uri)&&"downloadlist".equals(___local)) {
                        _DownloadList = ((phex.xml.impl.XJBOldDownloadListImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBOldDownloadListImpl.class), 18, ___uri, ___local));
                        return ;
                    }
                    break;
                case  7 :
                    if ("".equals(___uri)&&"update-response".equals(___local)) {
                        _UpdateResponse = ((phex.xml.impl.XJBUpdateResponseImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBUpdateResponseImpl.class), 8, ___uri, ___local));
                        return ;
                    }
                    break;
                case  18 :
                    if ("".equals(___uri)&&"downloadlist".equals(___local)) {
                        context.popAttributes();
                        goto0();
                        return ;
                    }
                    break;
                case  9 :
                    if ("".equals(___uri)&&"search-filters".equals(___local)) {
                        _SearchFilters = ((phex.xml.impl.XJBSearchFiltersImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBSearchFiltersImpl.class), 10, ___uri, ___local));
                        return ;
                    }
                    break;
                case  19 :
                    if ("".equals(___uri)&&"swDownloadList".equals(___local)) {
                        _SWDownloadList = ((phex.xml.impl.XJBSWDownloadListImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBSWDownloadListImpl.class), 20, ___uri, ___local));
                        return ;
                    }
                    break;
                case  8 :
                    if ("".equals(___uri)&&"update-response".equals(___local)) {
                        context.popAttributes();
                        goto0();
                        return ;
                    }
                    break;
                case  12 :
                    if ("".equals(___uri)&&"gui-settings".equals(___local)) {
                        context.popAttributes();
                        goto0();
                        return ;
                    }
                    break;
                case  14 :
                    if ("".equals(___uri)&&"update-request".equals(___local)) {
                        context.popAttributes();
                        goto0();
                        return ;
                    }
                    break;
                case  22 :
                    if ("".equals(___uri)&&"security".equals(___local)) {
                        context.popAttributes();
                        goto0();
                        return ;
                    }
                    break;
                case  5 :
                    if ("".equals(___uri)&&"sharedLibrary".equals(___local)) {
                        _SharedLibrary = ((phex.xml.impl.XJBSharedLibraryImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBSharedLibraryImpl.class), 6, ___uri, ___local));
                        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)&&"phex-version".equals(___local)) {
                        state = 3;
                        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  4 :
                    if ("".equals(___uri)&&"phex-version".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  15 :
                        _OldPhexVersion = value;
                        state = 16;
                        return ;
                    case  0 :
                        revertToParentFromText(value);
                        return ;
                    case  3 :
                        _PhexVersion = value;
                        state = 4;
                        return ;
                }
            } catch (RuntimeException e) {
                handleUnexpectedTextException(value, e);
            }
        }

        public void leaveChild(int nextState)
            throws com.sun.xml.bind.unmarshaller.UnreportedException
        {
            switch (nextState) {
                case  20 :
                    state = 20;
                    return ;
                case  18 :
                    state = 18;
                    return ;
                case  6 :
                    state = 6;
                    return ;
                case  8 :
                    state = 8;
                    return ;
                case  12 :
                    state = 12;
                    return ;
                case  14 :
                    state = 14;
                    return ;
                case  2 :
                    state = 2;
                    return ;
                case  22 :
                    state = 22;
                    return ;
                case  10 :
                    state = 10;
                    return ;
            }
            super.leaveChild(nextState);
        }

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

    }

}
