Class IssuerImpl

    • Constructor Detail

      • IssuerImpl

        public IssuerImpl()
        Default constructor
      • IssuerImpl

        public IssuerImpl​(String xml)
                   throws SAML2Exception
        This constructor is used to build Issuer object from a XML string.
        Parameters:
        xml - A java.lang.String representing a Issuer object
        Throws:
        SAML2Exception - if it could not process the XML string
      • IssuerImpl

        public IssuerImpl​(Element element)
                   throws SAML2Exception
        This constructor is used to build Issuer object from a block of existing XML that has already been built into a DOM.
        Parameters:
        element - A org.w3c.dom.Element representing DOM tree for Issuer object
        Throws:
        SAML2Exception - if it could not process the Element
    • Method Detail

      • toXMLString

        public String toXMLString​(boolean includeNSPrefix,
                                  boolean declareNS)
                           throws SAML2Exception
        Returns a String representation
        Specified by:
        toXMLString in interface NameIDType
        Specified by:
        toXMLString in class NameIDTypeImpl
        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 String representation
        Throws:
        SAML2Exception - if something is wrong during conversion