Class ECPRelayStateImpl

  • All Implemented Interfaces:
    ECPRelayState

    public class ECPRelayStateImpl
    extends Object
    implements ECPRelayState
    This class implements ECPRelayState element. It provides all the methods required by ECPRelayState
    • Constructor Detail

      • ECPRelayStateImpl

        public ECPRelayStateImpl()
        Constructs the ECPRelayState Object.
      • ECPRelayStateImpl

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

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

      • isMustUnderstand

        public Boolean isMustUnderstand()
        Returns value of mustUnderstand attribute.
        Specified by:
        isMustUnderstand in interface ECPRelayState
        Returns:
        value of mustUnderstand attribute.
      • setMustUnderstand

        public void setMustUnderstand​(Boolean mustUnderstand)
                               throws SAML2Exception
        Sets the value of the mustUnderstand attribute.
        Specified by:
        setMustUnderstand in interface ECPRelayState
        Parameters:
        mustUnderstand - the value of mustUnderstand attribute.
        Throws:
        SAML2Exception - if the object is immutable.
      • getActor

        public String getActor()
        Returns value of actor attribute.
        Specified by:
        getActor in interface ECPRelayState
        Returns:
        value of actor attribute
      • toXMLString

        public String toXMLString​(boolean includeNSPrefix,
                                  boolean declareNS)
                           throws SAML2Exception
        Returns a String representation
        Specified by:
        toXMLString in interface ECPRelayState
        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 of this Object.
        Throws:
        SAML2Exception - ,if it could not create String object.
      • makeImmutable

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

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