Class LogoutResponseImpl

    • Constructor Detail

      • LogoutResponseImpl

        public LogoutResponseImpl()
        Constructs the LogoutResponse Object.
      • LogoutResponseImpl

        public LogoutResponseImpl​(Element element)
                           throws SAML2Exception
        Constructs the LogoutResponse Object.
        Parameters:
        element - the Document Element of LogoutResponse object.
        Throws:
        SAML2Exception - if LogoutResponse cannot be created.
      • LogoutResponseImpl

        public LogoutResponseImpl​(String xmlString)
                           throws SAML2Exception
        Constructs the LogoutResponse Object.
        Parameters:
        xmlString - the XML String representation of this object.
        Throws:
        SAML2Exception - if LogoutResponse cannot be created.
    • Method Detail

      • toXMLString

        public String toXMLString​(boolean includeNSPrefix,
                                  boolean declareNS)
                           throws SAML2Exception
        Returns the LogoutResponse in an XML document String format based on the LogoutResponse schema described above.
        Specified by:
        toXMLString in interface StatusResponse
        Overrides:
        toXMLString in class StatusResponseImpl
        Parameters:
        includeNSPrefix - Determines whether or not the namespace qualifier is prepended to the Element when converted
        declareNS - Determines whether or not the namespace is declared within the Element.
        Returns:
        A XML String representing the LogoutResponse.
        Throws:
        SAML2Exception - if some error occurs during conversion to String.