Interface Extensions


  • @SupportedAll
    public interface Extensions
    The interface Extensions defines methods for adding protcol message extension elements.
    • Method Detail

      • setAny

        void setAny​(List value)
             throws SAML2Exception
        Sets the Extensions object.
        Parameters:
        value - List of Document Elements Extensions objects
        Throws:
        SAML2Exception - if the object is immutable.
        See Also:
        getAny()
      • getAny

        List getAny()
        Returns the list of Extensions object.
        Returns:
        a List of Document Elements Extensions objects.
        See Also:
        setAny(List)
      • toXMLString

        String toXMLString()
                    throws SAML2Exception
        Returns a String representation of this object.
        Returns:
        a String representation of this object.
        Throws:
        SAML2Exception - if cannot convert to String.
      • toXMLString

        String toXMLString​(boolean includeNSPrefix,
                           boolean declareNS)
                    throws SAML2Exception
        Returns a String representation of this object.
        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:
        the String representation of this Object.
        Throws:
        SAML2Exception - if cannot convert to String.
      • makeImmutable

        void makeImmutable()
        Makes this object immutable.
      • isMutable

        boolean isMutable()
        Returns value true if object is mutable.
        Returns:
        true if object is mutable.