Class ManageNameIDResponseImpl

  • All Implemented Interfaces:
    ManageNameIDResponse, StatusResponse

    public class ManageNameIDResponseImpl
    extends StatusResponseImpl
    implements ManageNameIDResponse
    Java content class for ManageNameIDResponse element declaration.

    The following schema fragment specifies the expected content contained within this java content object.

     <element name="ManageNameIDResponse" 
       type="{urn:oasis:names:tc:SAML:2.0:protocol}StatusResponseType"/>
     
    • Constructor Detail

      • ManageNameIDResponseImpl

        public ManageNameIDResponseImpl()
        Constructor to create ManageNameIDResponse Object.
      • ManageNameIDResponseImpl

        public ManageNameIDResponseImpl​(Element element)
                                 throws SAML2Exception
        Constructor to create ManageNameIDResponse Object.
        Parameters:
        element - Document Element of ManageNameIDRequest object.
        Throws:
        SAML2Exception - if ManageNameIDRequest cannot be created.
      • ManageNameIDResponseImpl

        public ManageNameIDResponseImpl​(String xmlString)
                                 throws SAML2Exception
        Constructor to create ManageNameIDResponse Object.
        Parameters:
        xmlString - XML Representation of the ManageNameIDRequest object.
        Throws:
        SAML2Exception - if ManageNameIDRequest cannot be created.
    • Method Detail

      • toXMLString

        public String toXMLString​(boolean includeNSPrefix,
                                  boolean declareNS)
                           throws SAML2Exception
        Returns the ManageNameIDResponse in an XML document String format based on the ManageNameIDResponse schema described above.
        Specified by:
        toXMLString in interface StatusResponse
        Overrides:
        toXMLString in class StatusResponseImpl
        Parameters:
        includeNSPrefix - Determines whether 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 ManageNameIDResponse.
        Throws:
        SAML2Exception - if it could not create String object.