//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.5-20051113-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: 2005.11.16 um 11:03:34 CET 
//


package phex.xml.impl;

public class XJBPhexImpl implements phex.xml.XJBPhex, com.sun.xml.bind.JAXBObject, phex.xml.impl.runtime.UnmarshallableObject, phex.xml.impl.runtime.XMLSerializable
{

    protected phex.xml.XJBSWDownloadList _SWDownloadList;
    protected phex.xml.XJBSecurity _Security;
    protected phex.xml.XJBUpdateRequest _UpdateRequest;
    protected phex.xml.XJBSearchFilters _SearchFilters;
    protected java.lang.String _PhexVersion;
    protected phex.xml.XJBUpdateResponse _UpdateResponse;
    protected phex.xml.XJBFavoritesList _FavoritesList;
    protected phex.xml.XJBSharedLibrary _SharedLibrary;
    protected phex.xml.XJBGUISettings _GuiSettings;
    public final static java.lang.Class version = (phex.xml.impl.JAXBVersion.class);

    private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
        return (phex.xml.XJBPhex.class);
    }

    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 phex.xml.XJBSearchFilters getSearchFilters() {
        return _SearchFilters;
    }

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

    public java.lang.String getPhexVersion() {
        return _PhexVersion;
    }

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

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

    public void setUpdateResponse(phex.xml.XJBUpdateResponse value) {
        _UpdateResponse = 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 phex.xml.impl.runtime.UnmarshallingEventHandler createUnmarshaller(phex.xml.impl.runtime.UnmarshallingContext context) {
        return new phex.xml.impl.XJBPhexImpl.Unmarshaller(context);
    }

    public void serializeBody(phex.xml.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        if (_SearchFilters!= null) {
            context.startElement("", "search-filters");
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _SearchFilters), "SearchFilters");
            context.endNamespaceDecls();
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _SearchFilters), "SearchFilters");
            context.endAttributes();
            context.childAsBody(((com.sun.xml.bind.JAXBObject) _SearchFilters), "SearchFilters");
            context.endElement();
        }
        if (_GuiSettings!= null) {
            context.startElement("", "gui-settings");
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _GuiSettings), "GuiSettings");
            context.endNamespaceDecls();
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _GuiSettings), "GuiSettings");
            context.endAttributes();
            context.childAsBody(((com.sun.xml.bind.JAXBObject) _GuiSettings), "GuiSettings");
            context.endElement();
        }
        if (_SharedLibrary!= null) {
            context.startElement("", "sharedLibrary");
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _SharedLibrary), "SharedLibrary");
            context.endNamespaceDecls();
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _SharedLibrary), "SharedLibrary");
            context.endAttributes();
            context.childAsBody(((com.sun.xml.bind.JAXBObject) _SharedLibrary), "SharedLibrary");
            context.endElement();
        }
        if (_UpdateRequest!= null) {
            context.startElement("", "update-request");
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _UpdateRequest), "UpdateRequest");
            context.endNamespaceDecls();
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _UpdateRequest), "UpdateRequest");
            context.endAttributes();
            context.childAsBody(((com.sun.xml.bind.JAXBObject) _UpdateRequest), "UpdateRequest");
            context.endElement();
        }
        if (_UpdateResponse!= null) {
            context.startElement("", "update-response");
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _UpdateResponse), "UpdateResponse");
            context.endNamespaceDecls();
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _UpdateResponse), "UpdateResponse");
            context.endAttributes();
            context.childAsBody(((com.sun.xml.bind.JAXBObject) _UpdateResponse), "UpdateResponse");
            context.endElement();
        }
        if (_SWDownloadList!= null) {
            context.startElement("", "swDownloadList");
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _SWDownloadList), "SWDownloadList");
            context.endNamespaceDecls();
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _SWDownloadList), "SWDownloadList");
            context.endAttributes();
            context.childAsBody(((com.sun.xml.bind.JAXBObject) _SWDownloadList), "SWDownloadList");
            context.endElement();
        }
        if (_Security!= null) {
            context.startElement("", "security");
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Security), "Security");
            context.endNamespaceDecls();
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Security), "Security");
            context.endAttributes();
            context.childAsBody(((com.sun.xml.bind.JAXBObject) _Security), "Security");
            context.endElement();
        }
        if (_FavoritesList!= null) {
            context.startElement("", "favorites-list");
            context.childAsURIs(((com.sun.xml.bind.JAXBObject) _FavoritesList), "FavoritesList");
            context.endNamespaceDecls();
            context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _FavoritesList), "FavoritesList");
            context.endAttributes();
            context.childAsBody(((com.sun.xml.bind.JAXBObject) _FavoritesList), "FavoritesList");
            context.endElement();
        }
    }

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

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

    public class Unmarshaller
        extends phex.xml.impl.runtime.AbstractUnmarshallingEventHandlerImpl
    {


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

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

        public java.lang.Object owner() {
            return phex.xml.impl.XJBPhexImpl.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  27 :
                        revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
                        return ;
                    case  7 :
                        if (("look-and-feel-class" == ___local)&&("" == ___uri)) {
                            _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 8, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("is-toolbar-visible" == ___local)&&("" == ___uri)) {
                            _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 8, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("is-log-bandwidth-slider-used" == ___local)&&("" == ___uri)) {
                            _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 8, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("show-respect-copyright-notice" == ___local)&&("" == ___uri)) {
                            _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 8, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("window-posX" == ___local)&&("" == ___uri)) {
                            _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 8, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("window-posY" == ___local)&&("" == ___uri)) {
                            _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 8, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("window-width" == ___local)&&("" == ___uri)) {
                            _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 8, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("window-height" == ___local)&&("" == ___uri)) {
                            _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 8, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("tab" == ___local)&&("" == ___uri)) {
                            _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 8, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("table-list" == ___local)&&("" == ___uri)) {
                            _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 8, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterElement((phex.xml.impl.XJBGUISettingsImpl.class), 8, ___uri, ___local, ___qname, __atts));
                        return ;
                    case  24 :
                        if (("favorites-list" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 25;
                            return ;
                        }
                        state = 27;
                        continue outer;
                    case  15 :
                        if (("update-response" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 16;
                            return ;
                        }
                        state = 18;
                        continue outer;
                    case  3 :
                        if (("search-filters" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 4;
                            return ;
                        }
                        state = 6;
                        continue outer;
                    case  9 :
                        if (("sharedLibrary" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 10;
                            return ;
                        }
                        state = 12;
                        continue outer;
                    case  13 :
                        if (("hostid" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("current-version" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("startup-count" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("laf-used" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("operating-system" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("java-version" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("avg-uptime" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("daily-avg-uptime" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("download-count" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("upload-count" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("shared-files" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("shared-size" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("last-check-version" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("last-info-id" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("show-beta-info" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("error-log" == ___local)&&("" == ___uri)) {
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname, __atts));
                        return ;
                    case  21 :
                        if (("security" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 22;
                            return ;
                        }
                        state = 24;
                        continue outer;
                    case  19 :
                        if (("swDownloadFile" == ___local)&&("" == ___uri)) {
                            _SWDownloadList = ((phex.xml.impl.XJBSWDownloadListImpl) spawnChildFromEnterElement((phex.xml.impl.XJBSWDownloadListImpl.class), 20, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        _SWDownloadList = ((phex.xml.impl.XJBSWDownloadListImpl) spawnChildFromEnterElement((phex.xml.impl.XJBSWDownloadListImpl.class), 20, ___uri, ___local, ___qname, __atts));
                        return ;
                    case  16 :
                        if (("version" == ___local)&&("" == ___uri)) {
                            _UpdateResponse = ((phex.xml.impl.XJBUpdateResponseImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateResponseImpl.class), 17, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("info" == ___local)&&("" == ___uri)) {
                            _UpdateResponse = ((phex.xml.impl.XJBUpdateResponseImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateResponseImpl.class), 17, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        _UpdateResponse = ((phex.xml.impl.XJBUpdateResponseImpl) spawnChildFromEnterElement((phex.xml.impl.XJBUpdateResponseImpl.class), 17, ___uri, ___local, ___qname, __atts));
                        return ;
                    case  22 :
                        if (("ip-access-rule" == ___local)&&("" == ___uri)) {
                            _Security = ((phex.xml.impl.XJBSecurityImpl) spawnChildFromEnterElement((phex.xml.impl.XJBSecurityImpl.class), 23, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        _Security = ((phex.xml.impl.XJBSecurityImpl) spawnChildFromEnterElement((phex.xml.impl.XJBSecurityImpl.class), 23, ___uri, ___local, ___qname, __atts));
                        return ;
                    case  25 :
                        if (("favorite-host" == ___local)&&("" == ___uri)) {
                            _FavoritesList = ((phex.xml.impl.XJBFavoritesListImpl) spawnChildFromEnterElement((phex.xml.impl.XJBFavoritesListImpl.class), 26, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        _FavoritesList = ((phex.xml.impl.XJBFavoritesListImpl) spawnChildFromEnterElement((phex.xml.impl.XJBFavoritesListImpl.class), 26, ___uri, ___local, ___qname, __atts));
                        return ;
                    case  6 :
                        if (("gui-settings" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 7;
                            return ;
                        }
                        state = 9;
                        continue outer;
                    case  0 :
                        attIdx = context.getAttribute("", "phex-version");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 3;
                            eatText1(v);
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  18 :
                        if (("swDownloadList" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 19;
                            return ;
                        }
                        state = 21;
                        continue outer;
                    case  4 :
                        if (("search-filter" == ___local)&&("" == ___uri)) {
                            _SearchFilters = ((phex.xml.impl.XJBSearchFiltersImpl) spawnChildFromEnterElement((phex.xml.impl.XJBSearchFiltersImpl.class), 5, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        _SearchFilters = ((phex.xml.impl.XJBSearchFiltersImpl) spawnChildFromEnterElement((phex.xml.impl.XJBSearchFiltersImpl.class), 5, ___uri, ___local, ___qname, __atts));
                        return ;
                    case  12 :
                        if (("update-request" == ___local)&&("" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 13;
                            return ;
                        }
                        state = 15;
                        continue outer;
                    case  10 :
                        if (("SF" == ___local)&&("" == ___uri)) {
                            _SharedLibrary = ((phex.xml.impl.XJBSharedLibraryImpl) spawnChildFromEnterElement((phex.xml.impl.XJBSharedLibraryImpl.class), 11, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        _SharedLibrary = ((phex.xml.impl.XJBSharedLibraryImpl) spawnChildFromEnterElement((phex.xml.impl.XJBSharedLibraryImpl.class), 11, ___uri, ___local, ___qname, __atts));
                        return ;
                }
                super.enterElement(___uri, ___local, ___qname, __atts);
                break;
            }
        }

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

        public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
            throws org.xml.sax.SAXException
        {
            int attIdx;
            outer:
            while (true) {
                switch (state) {
                    case  5 :
                        if (("search-filters" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 6;
                            return ;
                        }
                        break;
                    case  27 :
                        revertToParentFromLeaveElement(___uri, ___local, ___qname);
                        return ;
                    case  7 :
                        _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBGUISettingsImpl.class), 8, ___uri, ___local, ___qname));
                        return ;
                    case  24 :
                        state = 27;
                        continue outer;
                    case  11 :
                        if (("sharedLibrary" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 12;
                            return ;
                        }
                        break;
                    case  15 :
                        state = 18;
                        continue outer;
                    case  3 :
                        state = 6;
                        continue outer;
                    case  17 :
                        if (("update-response" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 18;
                            return ;
                        }
                        break;
                    case  8 :
                        if (("gui-settings" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 9;
                            return ;
                        }
                        break;
                    case  26 :
                        if (("favorites-list" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 27;
                            return ;
                        }
                        break;
                    case  9 :
                        state = 12;
                        continue outer;
                    case  23 :
                        if (("security" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 24;
                            return ;
                        }
                        break;
                    case  13 :
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname));
                        return ;
                    case  14 :
                        if (("update-request" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 15;
                            return ;
                        }
                        break;
                    case  21 :
                        state = 24;
                        continue outer;
                    case  19 :
                        _SWDownloadList = ((phex.xml.impl.XJBSWDownloadListImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBSWDownloadListImpl.class), 20, ___uri, ___local, ___qname));
                        return ;
                    case  20 :
                        if (("swDownloadList" == ___local)&&("" == ___uri)) {
                            context.popAttributes();
                            state = 21;
                            return ;
                        }
                        break;
                    case  16 :
                        _UpdateResponse = ((phex.xml.impl.XJBUpdateResponseImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBUpdateResponseImpl.class), 17, ___uri, ___local, ___qname));
                        return ;
                    case  22 :
                        _Security = ((phex.xml.impl.XJBSecurityImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBSecurityImpl.class), 23, ___uri, ___local, ___qname));
                        return ;
                    case  25 :
                        _FavoritesList = ((phex.xml.impl.XJBFavoritesListImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBFavoritesListImpl.class), 26, ___uri, ___local, ___qname));
                        return ;
                    case  6 :
                        state = 9;
                        continue outer;
                    case  0 :
                        attIdx = context.getAttribute("", "phex-version");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 3;
                            eatText1(v);
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  18 :
                        state = 21;
                        continue outer;
                    case  4 :
                        _SearchFilters = ((phex.xml.impl.XJBSearchFiltersImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBSearchFiltersImpl.class), 5, ___uri, ___local, ___qname));
                        return ;
                    case  12 :
                        state = 15;
                        continue outer;
                    case  10 :
                        _SharedLibrary = ((phex.xml.impl.XJBSharedLibraryImpl) spawnChildFromLeaveElement((phex.xml.impl.XJBSharedLibraryImpl.class), 11, ___uri, ___local, ___qname));
                        return ;
                }
                super.leaveElement(___uri, ___local, ___qname);
                break;
            }
        }

        public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
            throws org.xml.sax.SAXException
        {
            int attIdx;
            outer:
            while (true) {
                switch (state) {
                    case  27 :
                        revertToParentFromEnterAttribute(___uri, ___local, ___qname);
                        return ;
                    case  7 :
                        _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromEnterAttribute((phex.xml.impl.XJBGUISettingsImpl.class), 8, ___uri, ___local, ___qname));
                        return ;
                    case  24 :
                        state = 27;
                        continue outer;
                    case  15 :
                        state = 18;
                        continue outer;
                    case  3 :
                        state = 6;
                        continue outer;
                    case  9 :
                        state = 12;
                        continue outer;
                    case  13 :
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromEnterAttribute((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname));
                        return ;
                    case  21 :
                        state = 24;
                        continue outer;
                    case  19 :
                        _SWDownloadList = ((phex.xml.impl.XJBSWDownloadListImpl) spawnChildFromEnterAttribute((phex.xml.impl.XJBSWDownloadListImpl.class), 20, ___uri, ___local, ___qname));
                        return ;
                    case  16 :
                        _UpdateResponse = ((phex.xml.impl.XJBUpdateResponseImpl) spawnChildFromEnterAttribute((phex.xml.impl.XJBUpdateResponseImpl.class), 17, ___uri, ___local, ___qname));
                        return ;
                    case  22 :
                        _Security = ((phex.xml.impl.XJBSecurityImpl) spawnChildFromEnterAttribute((phex.xml.impl.XJBSecurityImpl.class), 23, ___uri, ___local, ___qname));
                        return ;
                    case  25 :
                        _FavoritesList = ((phex.xml.impl.XJBFavoritesListImpl) spawnChildFromEnterAttribute((phex.xml.impl.XJBFavoritesListImpl.class), 26, ___uri, ___local, ___qname));
                        return ;
                    case  6 :
                        state = 9;
                        continue outer;
                    case  0 :
                        if (("phex-version" == ___local)&&("" == ___uri)) {
                            state = 1;
                            return ;
                        }
                        state = 3;
                        continue outer;
                    case  18 :
                        state = 21;
                        continue outer;
                    case  4 :
                        _SearchFilters = ((phex.xml.impl.XJBSearchFiltersImpl) spawnChildFromEnterAttribute((phex.xml.impl.XJBSearchFiltersImpl.class), 5, ___uri, ___local, ___qname));
                        return ;
                    case  12 :
                        state = 15;
                        continue outer;
                    case  10 :
                        _SharedLibrary = ((phex.xml.impl.XJBSharedLibraryImpl) spawnChildFromEnterAttribute((phex.xml.impl.XJBSharedLibraryImpl.class), 11, ___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  27 :
                        revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
                        return ;
                    case  7 :
                        _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromLeaveAttribute((phex.xml.impl.XJBGUISettingsImpl.class), 8, ___uri, ___local, ___qname));
                        return ;
                    case  24 :
                        state = 27;
                        continue outer;
                    case  15 :
                        state = 18;
                        continue outer;
                    case  2 :
                        if (("phex-version" == ___local)&&("" == ___uri)) {
                            state = 3;
                            return ;
                        }
                        break;
                    case  3 :
                        state = 6;
                        continue outer;
                    case  9 :
                        state = 12;
                        continue outer;
                    case  13 :
                        _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromLeaveAttribute((phex.xml.impl.XJBUpdateRequestImpl.class), 14, ___uri, ___local, ___qname));
                        return ;
                    case  21 :
                        state = 24;
                        continue outer;
                    case  19 :
                        _SWDownloadList = ((phex.xml.impl.XJBSWDownloadListImpl) spawnChildFromLeaveAttribute((phex.xml.impl.XJBSWDownloadListImpl.class), 20, ___uri, ___local, ___qname));
                        return ;
                    case  16 :
                        _UpdateResponse = ((phex.xml.impl.XJBUpdateResponseImpl) spawnChildFromLeaveAttribute((phex.xml.impl.XJBUpdateResponseImpl.class), 17, ___uri, ___local, ___qname));
                        return ;
                    case  22 :
                        _Security = ((phex.xml.impl.XJBSecurityImpl) spawnChildFromLeaveAttribute((phex.xml.impl.XJBSecurityImpl.class), 23, ___uri, ___local, ___qname));
                        return ;
                    case  25 :
                        _FavoritesList = ((phex.xml.impl.XJBFavoritesListImpl) spawnChildFromLeaveAttribute((phex.xml.impl.XJBFavoritesListImpl.class), 26, ___uri, ___local, ___qname));
                        return ;
                    case  6 :
                        state = 9;
                        continue outer;
                    case  0 :
                        attIdx = context.getAttribute("", "phex-version");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 3;
                            eatText1(v);
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  18 :
                        state = 21;
                        continue outer;
                    case  4 :
                        _SearchFilters = ((phex.xml.impl.XJBSearchFiltersImpl) spawnChildFromLeaveAttribute((phex.xml.impl.XJBSearchFiltersImpl.class), 5, ___uri, ___local, ___qname));
                        return ;
                    case  12 :
                        state = 15;
                        continue outer;
                    case  10 :
                        _SharedLibrary = ((phex.xml.impl.XJBSharedLibraryImpl) spawnChildFromLeaveAttribute((phex.xml.impl.XJBSharedLibraryImpl.class), 11, ___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  1 :
                            state = 2;
                            eatText1(value);
                            return ;
                        case  27 :
                            revertToParentFromText(value);
                            return ;
                        case  7 :
                            _GuiSettings = ((phex.xml.impl.XJBGUISettingsImpl) spawnChildFromText((phex.xml.impl.XJBGUISettingsImpl.class), 8, value));
                            return ;
                        case  24 :
                            state = 27;
                            continue outer;
                        case  15 :
                            state = 18;
                            continue outer;
                        case  3 :
                            state = 6;
                            continue outer;
                        case  9 :
                            state = 12;
                            continue outer;
                        case  13 :
                            _UpdateRequest = ((phex.xml.impl.XJBUpdateRequestImpl) spawnChildFromText((phex.xml.impl.XJBUpdateRequestImpl.class), 14, value));
                            return ;
                        case  21 :
                            state = 24;
                            continue outer;
                        case  19 :
                            _SWDownloadList = ((phex.xml.impl.XJBSWDownloadListImpl) spawnChildFromText((phex.xml.impl.XJBSWDownloadListImpl.class), 20, value));
                            return ;
                        case  16 :
                            _UpdateResponse = ((phex.xml.impl.XJBUpdateResponseImpl) spawnChildFromText((phex.xml.impl.XJBUpdateResponseImpl.class), 17, value));
                            return ;
                        case  22 :
                            _Security = ((phex.xml.impl.XJBSecurityImpl) spawnChildFromText((phex.xml.impl.XJBSecurityImpl.class), 23, value));
                            return ;
                        case  25 :
                            _FavoritesList = ((phex.xml.impl.XJBFavoritesListImpl) spawnChildFromText((phex.xml.impl.XJBFavoritesListImpl.class), 26, value));
                            return ;
                        case  6 :
                            state = 9;
                            continue outer;
                        case  0 :
                            attIdx = context.getAttribute("", "phex-version");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                state = 3;
                                eatText1(v);
                                continue outer;
                            }
                            state = 3;
                            continue outer;
                        case  18 :
                            state = 21;
                            continue outer;
                        case  4 :
                            _SearchFilters = ((phex.xml.impl.XJBSearchFiltersImpl) spawnChildFromText((phex.xml.impl.XJBSearchFiltersImpl.class), 5, value));
                            return ;
                        case  12 :
                            state = 15;
                            continue outer;
                        case  10 :
                            _SharedLibrary = ((phex.xml.impl.XJBSharedLibraryImpl) spawnChildFromText((phex.xml.impl.XJBSharedLibraryImpl.class), 11, value));
                            return ;
                    }
                } catch (java.lang.RuntimeException e) {
                    handleUnexpectedTextException(value, e);
                }
                break;
            }
        }

    }

}
