Class ECPRequestImpl

  • All Implemented Interfaces:
    ECPRequest

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

      • ECPRequestImpl

        public ECPRequestImpl()
        Constructs the ECPRequest Object.
      • ECPRequestImpl

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

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

      • isMustUnderstand

        public Boolean isMustUnderstand()
        Returns value of mustUnderstand attribute.
        Specified by:
        isMustUnderstand in interface ECPRequest
        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 ECPRequest
        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 ECPRequest
        Returns:
        value of actor attribute
      • isPassive

        public Boolean isPassive()
        Returns the value of the isPassive attribute.
        Specified by:
        isPassive in interface ECPRequest
        Returns:
        value of isPassive attribute.
      • setIsPassive

        public void setIsPassive​(Boolean isPassive)
                          throws SAML2Exception
        Sets the value of the IsPassive attribute.
        Specified by:
        setIsPassive in interface ECPRequest
        Parameters:
        isPassive - value of IsPassive attribute.
        Throws:
        SAML2Exception - if the object is immutable.
      • toXMLString

        public String toXMLString()
                           throws SAML2Exception
        Returns a String representation of this Object.
        Specified by:
        toXMLString in interface ECPRequest
        Returns:
        a String representation of this Object.
        Throws:
        SAML2Exception - if it could not create String object
      • toXMLString

        public String toXMLString​(boolean includeNSPrefix,
                                  boolean declareNS)
                           throws SAML2Exception
        Returns a String representation
        Specified by:
        toXMLString in interface ECPRequest
        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 ECPRequest
      • isMutable

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