Class StatusDetailImpl

  • All Implemented Interfaces:
    StatusDetail

    public class StatusDetailImpl
    extends Object
    implements StatusDetail
    This class defines methods for adding StatusDetail elements.
    • Constructor Detail

      • StatusDetailImpl

        public StatusDetailImpl()
        Constructs the StatusDetail Object.
      • StatusDetailImpl

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

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

      • getAny

        public List getAny()
        Returns the list of StatusDetail object.
        Specified by:
        getAny in interface StatusDetail
        Returns:
        a List of XML Strings StatusDetail objects.
        See Also:
        setAny(List)
      • toXMLString

        public String toXMLString()
                           throws SAML2Exception
        Returns the StatusDetail in an XML document String format based on the StatusDetail schema described above.
        Specified by:
        toXMLString in interface StatusDetail
        Returns:
        An XML String representing the StatusDetail.
        Throws:
        SAML2Exception - if some error occurs during conversion to String.
      • toXMLString

        public String toXMLString​(boolean includeNSPrefix,
                                  boolean declareNS)
                           throws SAML2Exception
        Returns the StatusDetail in an XML document String format based on the StatusDetail schema described above.
        Specified by:
        toXMLString in interface StatusDetail
        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 StatusDetail.
        Throws:
        SAML2Exception - if some error occurs during conversion to String.
      • makeImmutable

        public void makeImmutable()
        Makes this object immutable.
        Specified by:
        makeImmutable in interface StatusDetail
      • isMutable

        public boolean isMutable()
        Returns value true if object is mutable.
        Specified by:
        isMutable in interface StatusDetail
        Returns:
        true if object is mutable.