//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-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: 2012.06.11 at 10:34:07 AM PDT 
//


package com.sun.identity.saml2.jaxb.entityconfig.impl;

public class EntityConfigTypeImpl implements com.sun.identity.saml2.jaxb.entityconfig.EntityConfigType, com.sun.xml.bind.JAXBObject, com.sun.identity.saml2.jaxb.assertion.impl.runtime.UnmarshallableObject, com.sun.identity.saml2.jaxb.assertion.impl.runtime.XMLSerializable, com.sun.xml.bind.marshaller.IdentifiableObject, com.sun.identity.saml2.jaxb.assertion.impl.runtime.ValidatableObject
{

    protected boolean has_Hosted;
    protected boolean _Hosted;
    protected com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType _AffiliationConfig;
    protected java.lang.String _ID;
    protected com.sun.xml.bind.util.ListImpl _Attribute;
    protected com.sun.xml.bind.util.ListImpl _IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig;
    protected java.lang.String _EntityID;
    protected com.sun.identity.saml2.jaxb.xmlsig.SignatureType _Signature;
    public final static java.lang.Class version = (com.sun.identity.saml2.jaxb.entityconfig.impl.JAXBVersion.class);
    private static com.sun.msv.grammar.Grammar schemaFragment;

    private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
        return (com.sun.identity.saml2.jaxb.entityconfig.EntityConfigType.class);
    }

    public boolean isHosted() {
        return _Hosted;
    }

    public void setHosted(boolean value) {
        _Hosted = value;
        has_Hosted = true;
    }

    public com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType getAffiliationConfig() {
        return _AffiliationConfig;
    }

    public void setAffiliationConfig(com.sun.identity.saml2.jaxb.entityconfig.BaseConfigType value) {
        _AffiliationConfig = value;
    }

    public java.lang.String getID() {
        return _ID;
    }

    public void setID(java.lang.String value) {
        _ID = value;
    }

    protected com.sun.xml.bind.util.ListImpl _getAttribute() {
        if (_Attribute == null) {
            _Attribute = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
        }
        return _Attribute;
    }

    public java.util.List getAttribute() {
        return _getAttribute();
    }

    protected com.sun.xml.bind.util.ListImpl _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig() {
        if (_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig == null) {
            _IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
        }
        return _IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig;
    }

    public java.util.List getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig() {
        return _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig();
    }

    public java.lang.String getEntityID() {
        return _EntityID;
    }

    public void setEntityID(java.lang.String value) {
        _EntityID = value;
    }

    public com.sun.identity.saml2.jaxb.xmlsig.SignatureType getSignature() {
        return _Signature;
    }

    public void setSignature(com.sun.identity.saml2.jaxb.xmlsig.SignatureType value) {
        _Signature = value;
    }

    public com.sun.identity.saml2.jaxb.assertion.impl.runtime.UnmarshallingEventHandler createUnmarshaller(com.sun.identity.saml2.jaxb.assertion.impl.runtime.UnmarshallingContext context) {
        return new com.sun.identity.saml2.jaxb.entityconfig.impl.EntityConfigTypeImpl.Unmarshaller(context);
    }

    public void serializeBody(com.sun.identity.saml2.jaxb.assertion.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx4 = 0;
        final int len4 = ((_Attribute == null)? 0 :_Attribute.size());
        int idx5 = 0;
        final int len5 = ((_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig == null)? 0 :_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig.size());
        if (_Signature!= null) {
            if (_Signature instanceof javax.xml.bind.Element) {
                context.childAsBody(((com.sun.xml.bind.JAXBObject) _Signature), "Signature");
            } else {
                context.startElement("http://www.w3.org/2000/09/xmldsig#", "Signature");
                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Signature), "Signature");
                context.endNamespaceDecls();
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Signature), "Signature");
                context.endAttributes();
                context.childAsBody(((com.sun.xml.bind.JAXBObject) _Signature), "Signature");
                context.endElement();
            }
        }
        while (idx4 != len4) {
            if (_Attribute.get(idx4) instanceof javax.xml.bind.Element) {
                context.childAsBody(((com.sun.xml.bind.JAXBObject) _Attribute.get(idx4 ++)), "Attribute");
            } else {
                context.startElement("urn:sun:fm:SAML:2.0:entityconfig", "Attribute");
                int idx_2 = idx4;
                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Attribute.get(idx_2 ++)), "Attribute");
                context.endNamespaceDecls();
                int idx_3 = idx4;
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Attribute.get(idx_3 ++)), "Attribute");
                context.endAttributes();
                context.childAsBody(((com.sun.xml.bind.JAXBObject) _Attribute.get(idx4 ++)), "Attribute");
                context.endElement();
            }
        }
        if ((((_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig == null)? 0 :_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig.size())>= 1)&&(_AffiliationConfig == null)) {
            while (idx5 != len5) {
                context.childAsBody(((com.sun.xml.bind.JAXBObject) _IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig.get(idx5 ++)), "IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig");
            }
        } else {
            if ((((_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig == null)? 0 :_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig.size()) == 0)&&(_AffiliationConfig!= null)) {
                if (_AffiliationConfig instanceof javax.xml.bind.Element) {
                    context.childAsBody(((com.sun.xml.bind.JAXBObject) _AffiliationConfig), "AffiliationConfig");
                } else {
                    context.startElement("urn:sun:fm:SAML:2.0:entityconfig", "AffiliationConfig");
                    context.childAsURIs(((com.sun.xml.bind.JAXBObject) _AffiliationConfig), "AffiliationConfig");
                    context.endNamespaceDecls();
                    context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _AffiliationConfig), "AffiliationConfig");
                    context.endAttributes();
                    context.childAsBody(((com.sun.xml.bind.JAXBObject) _AffiliationConfig), "AffiliationConfig");
                    context.endElement();
                }
            }
        }
    }

    public void serializeAttributes(com.sun.identity.saml2.jaxb.assertion.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx4 = 0;
        final int len4 = ((_Attribute == null)? 0 :_Attribute.size());
        int idx5 = 0;
        final int len5 = ((_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig == null)? 0 :_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig.size());
        if (_ID!= null) {
            context.startAttribute("", "ID");
            try {
                context.text(context.onID(this, ((java.lang.String) _ID)), "ID");
            } catch (java.lang.Exception e) {
                com.sun.identity.saml2.jaxb.assertion.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
        context.startAttribute("", "entityID");
        try {
            context.text(((java.lang.String) _EntityID), "EntityID");
        } catch (java.lang.Exception e) {
            com.sun.identity.saml2.jaxb.assertion.impl.runtime.Util.handlePrintConversionException(this, e, context);
        }
        context.endAttribute();
        if (has_Hosted) {
            context.startAttribute("", "hosted");
            try {
                context.text(javax.xml.bind.DatatypeConverter.printBoolean(((boolean) _Hosted)), "Hosted");
            } catch (java.lang.Exception e) {
                com.sun.identity.saml2.jaxb.assertion.impl.runtime.Util.handlePrintConversionException(this, e, context);
            }
            context.endAttribute();
        }
        if (_Signature!= null) {
            if (_Signature instanceof javax.xml.bind.Element) {
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Signature), "Signature");
            }
        }
        while (idx4 != len4) {
            if (_Attribute.get(idx4) instanceof javax.xml.bind.Element) {
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Attribute.get(idx4 ++)), "Attribute");
            } else {
                idx4 += 1;
            }
        }
        if ((((_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig == null)? 0 :_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig.size())>= 1)&&(_AffiliationConfig == null)) {
            while (idx5 != len5) {
                context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig.get(idx5 ++)), "IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig");
            }
        } else {
            if ((((_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig == null)? 0 :_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig.size()) == 0)&&(_AffiliationConfig!= null)) {
                if (_AffiliationConfig instanceof javax.xml.bind.Element) {
                    context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _AffiliationConfig), "AffiliationConfig");
                }
            }
        }
    }

    public void serializeURIs(com.sun.identity.saml2.jaxb.assertion.impl.runtime.XMLSerializer context)
        throws org.xml.sax.SAXException
    {
        int idx4 = 0;
        final int len4 = ((_Attribute == null)? 0 :_Attribute.size());
        int idx5 = 0;
        final int len5 = ((_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig == null)? 0 :_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig.size());
        if (_Signature!= null) {
            if (_Signature instanceof javax.xml.bind.Element) {
                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Signature), "Signature");
            }
        }
        while (idx4 != len4) {
            if (_Attribute.get(idx4) instanceof javax.xml.bind.Element) {
                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Attribute.get(idx4 ++)), "Attribute");
            } else {
                idx4 += 1;
            }
        }
        if ((((_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig == null)? 0 :_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig.size())>= 1)&&(_AffiliationConfig == null)) {
            while (idx5 != len5) {
                context.childAsURIs(((com.sun.xml.bind.JAXBObject) _IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig.get(idx5 ++)), "IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig");
            }
        } else {
            if ((((_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig == null)? 0 :_IDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig.size()) == 0)&&(_AffiliationConfig!= null)) {
                if (_AffiliationConfig instanceof javax.xml.bind.Element) {
                    context.childAsURIs(((com.sun.xml.bind.JAXBObject) _AffiliationConfig), "AffiliationConfig");
                }
            }
        }
    }

    public java.lang.String ____jaxb____getId() {
        return ((java.lang.String) _ID);
    }

    public java.lang.Class getPrimaryInterface() {
        return (com.sun.identity.saml2.jaxb.entityconfig.EntityConfigType.class);
    }

    public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
        if (schemaFragment == null) {
            schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
 "\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
+"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
+"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
+"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
+"expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsr\u0000\u001dcom."
+"sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsq\u0000~\u0000\nsr\u0000\u0011java.l"
+"ang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\'com.sun.msv.grammar.tr"
+"ex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/gram"
+"mar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z"
+"\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\u000ep"
+"\u0000sq\u0000~\u0000\nppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001c"
+"com.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000"
+"\u000epsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002"
+"L\u0000\tnameClassq\u0000~\u0000\u0010xq\u0000~\u0000\u0003q\u0000~\u0000\u000epsr\u00002com.sun.msv.grammar.Express"
+"ion$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\r\u0001q\u0000~\u0000\u001asr\u0000 com."
+"sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.gramm"
+"ar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$"
+"EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u001bq\u0000~\u0000 sr\u0000#com.sun.msv."
+"grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/"
+"String;L\u0000\fnamespaceURIq\u0000~\u0000\"xq\u0000~\u0000\u001dt\u00003com.sun.identity.saml2.j"
+"axb.xmlsig.SignatureElementt\u0000+http://java.sun.com/jaxb/xjc/d"
+"ummy-elementssq\u0000~\u0000\u000fq\u0000~\u0000\u000ep\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\u0014q\u0000~"
+"\u0000\u000epsq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u00000com.sun.identity.saml"
+"2.jaxb.xmlsig.SignatureTypeq\u0000~\u0000%sq\u0000~\u0000\nppsq\u0000~\u0000\u0017q\u0000~\u0000\u000epsr\u0000\u001bcom."
+"sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datat"
+"ype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/Strin"
+"gPair;xq\u0000~\u0000\u0003ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
+"\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
+"xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com."
+"sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUr"
+"iq\u0000~\u0000\"L\u0000\btypeNameq\u0000~\u0000\"L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/"
+"xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchem"
+"at\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Co"
+"llapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProc"
+"essor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$NullSet"
+"Expression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u000epsr\u0000\u001bcom.sun.msv.util.String"
+"Pair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\"L\u0000\fnamespaceURIq\u0000~\u0000\"xpq\u0000~\u0000;q"
+"\u0000~\u0000:sq\u0000~\u0000!t\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instanc"
+"eq\u0000~\u0000 sq\u0000~\u0000!t\u0000\tSignaturet\u0000\"http://www.w3.org/2000/09/xmldsig"
+"#q\u0000~\u0000 sq\u0000~\u0000\nppsq\u0000~\u0000\u0014q\u0000~\u0000\u000epsq\u0000~\u0000\nq\u0000~\u0000\u000epsq\u0000~\u0000\u000fq\u0000~\u0000\u000ep\u0000sq\u0000~\u0000\npps"
+"q\u0000~\u0000\u0014q\u0000~\u0000\u000epsq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u00009com.sun.ident"
+"ity.saml2.jaxb.entityconfig.AttributeElementq\u0000~\u0000%sq\u0000~\u0000\u000fq\u0000~\u0000\u000e"
+"p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\u0014q\u0000~\u0000\u000epsq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000~\u0000\u001aq\u0000~\u0000"
+"\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u00006com.sun.identity.saml2.jaxb.entityconfig.Attr"
+"ibuteTypeq\u0000~\u0000%sq\u0000~\u0000\nppsq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000~\u00003q\u0000~\u0000Cq\u0000~\u0000 sq\u0000~\u0000!t\u0000\tAt"
+"tributet\u0000 urn:sun:fm:SAML:2.0:entityconfigq\u0000~\u0000 sq\u0000~\u0000\nppsq\u0000~\u0000"
+"\nppsq\u0000~\u0000\u0014ppsq\u0000~\u0000\nppsq\u0000~\u0000\nppsq\u0000~\u0000\nppsq\u0000~\u0000\nppsq\u0000~\u0000\nppsq\u0000~\u0000\npps"
+"q\u0000~\u0000\nppsq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\u0014q\u0000~\u0000\u000epsq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000"
+"~\u0000 sq\u0000~\u0000!t\u0000<com.sun.identity.saml2.jaxb.entityconfig.IDPSSOC"
+"onfigElementq\u0000~\u0000%sq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\u0014q\u0000~\u0000\u000epsq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000"
+"~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000;com.sun.identity.saml2.jaxb.entityconf"
+"ig.SPSSOConfigElementq\u0000~\u0000%sq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\u0014q\u0000~\u0000\u000epsq\u0000~\u0000"
+"\u0017q\u0000~\u0000\u000epq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000Dcom.sun.identity.saml2.jaxb.e"
+"ntityconfig.AuthnAuthorityConfigElementq\u0000~\u0000%sq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\np"
+"psq\u0000~\u0000\u0014q\u0000~\u0000\u000epsq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000Hcom.sun.ide"
+"ntity.saml2.jaxb.entityconfig.AttributeAuthorityConfigElemen"
+"tq\u0000~\u0000%sq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\u0014q\u0000~\u0000\u000epsq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~"
+"\u0000 sq\u0000~\u0000!t\u0000Dcom.sun.identity.saml2.jaxb.entityconfig.Attribut"
+"eQueryConfigElementq\u0000~\u0000%sq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\u0014q\u0000~\u0000\u000epsq\u0000~\u0000\u0017q"
+"\u0000~\u0000\u000epq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u00009com.sun.identity.saml2.jaxb.ent"
+"ityconfig.PDPConfigElementq\u0000~\u0000%sq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\u0014q\u0000~\u0000\u000ep"
+"sq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000>com.sun.identity.saml2.j"
+"axb.entityconfig.XACMLPDPConfigElementq\u0000~\u0000%sq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\npp"
+"sq\u0000~\u0000\u0014q\u0000~\u0000\u000epsq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000Mcom.sun.iden"
+"tity.saml2.jaxb.entityconfig.XACMLAuthzDecisionQueryConfigEl"
+"ementq\u0000~\u0000%sq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\u0014q\u0000~\u0000\u000epsq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000~\u0000\u001aq\u0000~\u0000"
+"\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000Acom.sun.identity.saml2.jaxb.entityconfig.Affi"
+"liationConfigElementq\u0000~\u0000%sq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000fpp\u0000sq\u0000~\u0000\npps"
+"q\u0000~\u0000\u0014q\u0000~\u0000\u000epsq\u0000~\u0000\u0017q\u0000~\u0000\u000epq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u00007com.sun.ident"
+"ity.saml2.jaxb.entityconfig.BaseConfigTypeq\u0000~\u0000%sq\u0000~\u0000\nppsq\u0000~\u0000"
+"\u0017q\u0000~\u0000\u000epq\u0000~\u00003q\u0000~\u0000Cq\u0000~\u0000 sq\u0000~\u0000!t\u0000\u0011AffiliationConfigq\u0000~\u0000^sq\u0000~\u0000\np"
+"psq\u0000~\u0000\u0017q\u0000~\u0000\u000epsq\u0000~\u00000ppsr\u0000\u001fcom.sun.msv.datatype.xsd.IDType\u0000\u0000\u0000\u0000"
+"\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.msv.datatype.xsd.NcnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000"
+"\"com.sun.msv.datatype.xsd.TokenType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.ms"
+"v.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxq\u0000~\u00005q\u0000"
+"~\u0000:t\u0000\u0002IDq\u0000~\u0000>\u0000q\u0000~\u0000@sq\u0000~\u0000Aq\u0000~\u0000\u00b3q\u0000~\u0000:sq\u0000~\u0000!t\u0000\u0002IDt\u0000\u0000q\u0000~\u0000 sq\u0000~\u0000\u0017"
+"ppsq\u0000~\u00000q\u0000~\u0000\u000epsr\u0000#com.sun.msv.datatype.xsd.AnyURIType\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
+"\u0001\u0002\u0000\u0000xq\u0000~\u00005q\u0000~\u0000:t\u0000\u0006anyURIq\u0000~\u0000>q\u0000~\u0000@sq\u0000~\u0000Aq\u0000~\u0000\u00bcq\u0000~\u0000:sq\u0000~\u0000!t\u0000\be"
+"ntityIDq\u0000~\u0000\u00b7sq\u0000~\u0000\nppsq\u0000~\u0000\u0017q\u0000~\u0000\u000epsq\u0000~\u00000ppsr\u0000$com.sun.msv.data"
+"type.xsd.BooleanType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u00005q\u0000~\u0000:t\u0000\u0007booleanq\u0000~\u0000>q\u0000~"
+"\u0000@sq\u0000~\u0000Aq\u0000~\u0000\u00c5q\u0000~\u0000:sq\u0000~\u0000!t\u0000\u0006hostedq\u0000~\u0000\u00b7q\u0000~\u0000 sr\u0000\"com.sun.msv.g"
+"rammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/g"
+"rammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.E"
+"xpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL"
+"\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u00008\u0001pq\u0000~\u0000\u0013"
+"q\u0000~\u0000)q\u0000~\u0000Mq\u0000~\u0000Uq\u0000~\u0000Jq\u0000~\u0000jq\u0000~\u0000pq\u0000~\u0000vq\u0000~\u0000|q\u0000~\u0000\u0082q\u0000~\u0000\u0088q\u0000~\u0000\u008eq\u0000~\u0000\u0094"
+"q\u0000~\u0000\u009aq\u0000~\u0000\u00a2q\u0000~\u0000\tq\u0000~\u0000\'q\u0000~\u0000Sq\u0000~\u0000\u00a0q\u0000~\u0000bq\u0000~\u0000\u00c0q\u0000~\u0000Iq\u0000~\u0000_q\u0000~\u0000\u0016q\u0000~\u0000*"
+"q\u0000~\u0000Nq\u0000~\u0000Vq\u0000~\u0000kq\u0000~\u0000qq\u0000~\u0000wq\u0000~\u0000}q\u0000~\u0000fq\u0000~\u0000\u0083q\u0000~\u0000\u0089q\u0000~\u0000\u008fq\u0000~\u0000\u0095q\u0000~\u0000\u009b"
+"q\u0000~\u0000`q\u0000~\u0000\u00a3q\u0000~\u0000\u0006q\u0000~\u0000\u000bq\u0000~\u0000eq\u0000~\u0000hq\u0000~\u0000dq\u0000~\u0000\u0005q\u0000~\u0000\u0007q\u0000~\u0000cq\u0000~\u0000.q\u0000~\u0000Z"
+"q\u0000~\u0000\u00a7q\u0000~\u0000\fq\u0000~\u0000Kq\u0000~\u0000\u00abq\u0000~\u0000\bq\u0000~\u0000aq\u0000~\u0000gx"));
        }
        return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
    }

    public class Unmarshaller
        extends com.sun.identity.saml2.jaxb.assertion.impl.runtime.AbstractUnmarshallingEventHandlerImpl
    {


        public Unmarshaller(com.sun.identity.saml2.jaxb.assertion.impl.runtime.UnmarshallingContext context) {
            super(context, "-------------------");
        }

        protected Unmarshaller(com.sun.identity.saml2.jaxb.assertion.impl.runtime.UnmarshallingContext context, int startState) {
            this(context);
            state = startState;
        }

        public java.lang.Object owner() {
            return com.sun.identity.saml2.jaxb.entityconfig.impl.EntityConfigTypeImpl.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  15 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        break;
                    case  11 :
                        if (("Attribute" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getAttribute().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeElementImpl.class), 11, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("Attribute" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 15;
                            return ;
                        }
                        if (("IDPSSOConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.IDPSSOConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.IDPSSOConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("SPSSOConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.SPSSOConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.SPSSOConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("AuthnAuthorityConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.AuthnAuthorityConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.AuthnAuthorityConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("AttributeAuthorityConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeAuthorityConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeAuthorityConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("AttributeQueryConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeQueryConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeQueryConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("PDPConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.PDPConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.PDPConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("XACMLPDPConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.XACMLPDPConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.XACMLPDPConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("XACMLAuthzDecisionQueryConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.XACMLAuthzDecisionQueryConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.XACMLAuthzDecisionQueryConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("AffiliationConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _AffiliationConfig = ((com.sun.identity.saml2.jaxb.entityconfig.impl.AffiliationConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.AffiliationConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("AffiliationConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 13;
                            return ;
                        }
                        break;
                    case  13 :
                        attIdx = context.getAttribute("", "metaAlias");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        if (("Attribute" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _AffiliationConfig = ((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("Attribute" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _AffiliationConfig = ((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl.class), 14, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        _AffiliationConfig = ((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl.class), 14, ___uri, ___local, ___qname, __atts));
                        return ;
                    case  12 :
                        if (("IDPSSOConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.IDPSSOConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.IDPSSOConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("SPSSOConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.SPSSOConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.SPSSOConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("AuthnAuthorityConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.AuthnAuthorityConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.AuthnAuthorityConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("AttributeAuthorityConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeAuthorityConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeAuthorityConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("AttributeQueryConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeQueryConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeQueryConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("PDPConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.PDPConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.PDPConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("XACMLPDPConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.XACMLPDPConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.XACMLPDPConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("XACMLAuthzDecisionQueryConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getIDPSSOConfigOrSPSSOConfigOrAuthnAuthorityConfig().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.XACMLAuthzDecisionQueryConfigElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.XACMLAuthzDecisionQueryConfigElementImpl.class), 12, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
                        return ;
                    case  10 :
                        if (("Attribute" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            _getAttribute().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeElementImpl.class), 11, ___uri, ___local, ___qname, __atts)));
                            return ;
                        }
                        if (("Attribute" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 15;
                            return ;
                        }
                        state = 11;
                        continue outer;
                    case  0 :
                        attIdx = context.getAttribute("", "ID");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 3;
                            eatText1(v);
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  3 :
                        attIdx = context.getAttribute("", "entityID");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 6;
                            eatText2(v);
                            continue outer;
                        }
                        break;
                    case  6 :
                        attIdx = context.getAttribute("", "hosted");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 9;
                            eatText3(v);
                            continue outer;
                        }
                        state = 9;
                        continue outer;
                    case  17 :
                        attIdx = context.getAttribute("", "Id");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().enterElement(___uri, ___local, ___qname, __atts);
                            return ;
                        }
                        if (("SignedInfo" == ___local)&&("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
                            _Signature = ((com.sun.identity.saml2.jaxb.xmlsig.impl.SignatureTypeImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.xmlsig.impl.SignatureTypeImpl.class), 18, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("SignedInfo" == ___local)&&("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
                            _Signature = ((com.sun.identity.saml2.jaxb.xmlsig.impl.SignatureTypeImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.xmlsig.impl.SignatureTypeImpl.class), 18, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        break;
                    case  9 :
                        if (("Signature" == ___local)&&("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
                            _Signature = ((com.sun.identity.saml2.jaxb.xmlsig.impl.SignatureElementImpl) spawnChildFromEnterElement((com.sun.identity.saml2.jaxb.xmlsig.impl.SignatureElementImpl.class), 10, ___uri, ___local, ___qname, __atts));
                            return ;
                        }
                        if (("Signature" == ___local)&&("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
                            context.pushAttributes(__atts, false);
                            state = 17;
                            return ;
                        }
                        state = 10;
                        continue outer;
                }
                super.enterElement(___uri, ___local, ___qname, __atts);
                break;
            }
        }

        private void eatText1(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            try {
                _ID = context.addToIdTable(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value));
            } catch (java.lang.Exception e) {
                handleParseConversionException(e);
            }
        }

        private void eatText2(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            try {
                _EntityID = com.sun.xml.bind.WhiteSpaceProcessor.collapse(value);
            } catch (java.lang.Exception e) {
                handleParseConversionException(e);
            }
        }

        private void eatText3(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            try {
                _Hosted = javax.xml.bind.DatatypeConverter.parseBoolean(com.sun.xml.bind.WhiteSpaceProcessor.collapse(value));
                has_Hosted = true;
            } 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  15 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  18 :
                        if (("Signature" == ___local)&&("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
                            context.popAttributes();
                            state = 10;
                            return ;
                        }
                        break;
                    case  13 :
                        attIdx = context.getAttribute("", "metaAlias");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        _AffiliationConfig = ((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl) spawnChildFromLeaveElement((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl.class), 14, ___uri, ___local, ___qname));
                        return ;
                    case  12 :
                        revertToParentFromLeaveElement(___uri, ___local, ___qname);
                        return ;
                    case  10 :
                        state = 11;
                        continue outer;
                    case  14 :
                        if (("AffiliationConfig" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            context.popAttributes();
                            state = 12;
                            return ;
                        }
                        break;
                    case  0 :
                        attIdx = context.getAttribute("", "ID");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 3;
                            eatText1(v);
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  16 :
                        if (("Attribute" == ___local)&&("urn:sun:fm:SAML:2.0:entityconfig" == ___uri)) {
                            context.popAttributes();
                            state = 11;
                            return ;
                        }
                        break;
                    case  3 :
                        attIdx = context.getAttribute("", "entityID");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 6;
                            eatText2(v);
                            continue outer;
                        }
                        break;
                    case  6 :
                        attIdx = context.getAttribute("", "hosted");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 9;
                            eatText3(v);
                            continue outer;
                        }
                        state = 9;
                        continue outer;
                    case  17 :
                        attIdx = context.getAttribute("", "Id");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveElement(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  9 :
                        state = 10;
                        continue outer;
                }
                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  15 :
                        if (("name" == ___local)&&("" == ___uri)) {
                            _getAttribute().add(((com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeTypeImpl) spawnChildFromEnterAttribute((com.sun.identity.saml2.jaxb.entityconfig.impl.AttributeTypeImpl.class), 16, ___uri, ___local, ___qname)));
                            return ;
                        }
                        break;
                    case  13 :
                        if (("metaAlias" == ___local)&&("" == ___uri)) {
                            _AffiliationConfig = ((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl) spawnChildFromEnterAttribute((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl.class), 14, ___uri, ___local, ___qname));
                            return ;
                        }
                        _AffiliationConfig = ((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl) spawnChildFromEnterAttribute((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl.class), 14, ___uri, ___local, ___qname));
                        return ;
                    case  12 :
                        revertToParentFromEnterAttribute(___uri, ___local, ___qname);
                        return ;
                    case  10 :
                        state = 11;
                        continue outer;
                    case  0 :
                        if (("ID" == ___local)&&("" == ___uri)) {
                            state = 1;
                            return ;
                        }
                        state = 3;
                        continue outer;
                    case  3 :
                        if (("entityID" == ___local)&&("" == ___uri)) {
                            state = 4;
                            return ;
                        }
                        break;
                    case  6 :
                        if (("hosted" == ___local)&&("" == ___uri)) {
                            state = 7;
                            return ;
                        }
                        state = 9;
                        continue outer;
                    case  17 :
                        if (("Id" == ___local)&&("" == ___uri)) {
                            _Signature = ((com.sun.identity.saml2.jaxb.xmlsig.impl.SignatureTypeImpl) spawnChildFromEnterAttribute((com.sun.identity.saml2.jaxb.xmlsig.impl.SignatureTypeImpl.class), 18, ___uri, ___local, ___qname));
                            return ;
                        }
                        break;
                    case  9 :
                        state = 10;
                        continue outer;
                }
                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  15 :
                        attIdx = context.getAttribute("", "name");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  8 :
                        if (("hosted" == ___local)&&("" == ___uri)) {
                            state = 9;
                            return ;
                        }
                        break;
                    case  13 :
                        attIdx = context.getAttribute("", "metaAlias");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        _AffiliationConfig = ((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl) spawnChildFromLeaveAttribute((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl.class), 14, ___uri, ___local, ___qname));
                        return ;
                    case  12 :
                        revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
                        return ;
                    case  10 :
                        state = 11;
                        continue outer;
                    case  0 :
                        attIdx = context.getAttribute("", "ID");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 3;
                            eatText1(v);
                            continue outer;
                        }
                        state = 3;
                        continue outer;
                    case  2 :
                        if (("ID" == ___local)&&("" == ___uri)) {
                            state = 3;
                            return ;
                        }
                        break;
                    case  3 :
                        attIdx = context.getAttribute("", "entityID");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 6;
                            eatText2(v);
                            continue outer;
                        }
                        break;
                    case  6 :
                        attIdx = context.getAttribute("", "hosted");
                        if (attIdx >= 0) {
                            final java.lang.String v = context.eatAttribute(attIdx);
                            state = 9;
                            eatText3(v);
                            continue outer;
                        }
                        state = 9;
                        continue outer;
                    case  17 :
                        attIdx = context.getAttribute("", "Id");
                        if (attIdx >= 0) {
                            context.consumeAttribute(attIdx);
                            context.getCurrentHandler().leaveAttribute(___uri, ___local, ___qname);
                            return ;
                        }
                        break;
                    case  9 :
                        state = 10;
                        continue outer;
                    case  5 :
                        if (("entityID" == ___local)&&("" == ___uri)) {
                            state = 6;
                            return ;
                        }
                        break;
                }
                super.leaveAttribute(___uri, ___local, ___qname);
                break;
            }
        }

        public void handleText(final java.lang.String value)
            throws org.xml.sax.SAXException
        {
            int attIdx;
            outer:
            while (true) {
                try {
                    switch (state) {
                        case  15 :
                            attIdx = context.getAttribute("", "name");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  13 :
                            attIdx = context.getAttribute("", "metaAlias");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            _AffiliationConfig = ((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl) spawnChildFromText((com.sun.identity.saml2.jaxb.entityconfig.impl.BaseConfigTypeImpl.class), 14, value));
                            return ;
                        case  7 :
                            state = 8;
                            eatText3(value);
                            return ;
                        case  12 :
                            revertToParentFromText(value);
                            return ;
                        case  4 :
                            state = 5;
                            eatText2(value);
                            return ;
                        case  10 :
                            state = 11;
                            continue outer;
                        case  1 :
                            state = 2;
                            eatText1(value);
                            return ;
                        case  0 :
                            attIdx = context.getAttribute("", "ID");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                state = 3;
                                eatText1(v);
                                continue outer;
                            }
                            state = 3;
                            continue outer;
                        case  3 :
                            attIdx = context.getAttribute("", "entityID");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                state = 6;
                                eatText2(v);
                                continue outer;
                            }
                            break;
                        case  6 :
                            attIdx = context.getAttribute("", "hosted");
                            if (attIdx >= 0) {
                                final java.lang.String v = context.eatAttribute(attIdx);
                                state = 9;
                                eatText3(v);
                                continue outer;
                            }
                            state = 9;
                            continue outer;
                        case  17 :
                            attIdx = context.getAttribute("", "Id");
                            if (attIdx >= 0) {
                                context.consumeAttribute(attIdx);
                                context.getCurrentHandler().text(value);
                                return ;
                            }
                            break;
                        case  9 :
                            state = 10;
                            continue outer;
                    }
                } catch (java.lang.RuntimeException e) {
                    handleUnexpectedTextException(value, e);
                }
                break;
            }
        }

    }

}
