public class ECPResponseImpl extends Object implements ECPResponse
ECPResponse
element.
It provides all the methods required by ECPResponse
Constructor and Description |
---|
ECPResponseImpl()
Constructs the
ECPResponse Object. |
ECPResponseImpl(Element element)
Constructs the
ECPRequest Object. |
ECPResponseImpl(String xmlString)
Constructs the
ECPResponse Object. |
Modifier and Type | Method and Description |
---|---|
String |
getActor()
Returns value of
actor attribute. |
String |
getAssertionConsumerServiceURL()
Returns the value of the
AssertionConsumerServiceURL
attribute. |
Boolean |
isMustUnderstand()
Returns value of
mustUnderstand attribute. |
boolean |
isMutable()
Returns true if object is mutable.
|
void |
makeImmutable()
Makes this object immutable.
|
void |
setActor(String actor)
Sets the value of
actor attribute. |
void |
setAssertionConsumerServiceURL(String url)
Sets the value of the
AssertionConsumerServiceURL
attribute. |
void |
setMustUnderstand(Boolean mustUnderstand)
Sets the value of the
mustUnderstand attribute. |
String |
toXMLString()
Returns a String representation of this Object.
|
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a String representation
|
protected void |
validateData() |
public ECPResponseImpl()
ECPResponse
Object.public ECPResponseImpl(Element element) throws SAML2Exception
ECPRequest
Object.element
- the Document Element of ECP Response
object.SAML2Exception
- if ECPResponse
cannot be created.public ECPResponseImpl(String xmlString) throws SAML2Exception
ECPResponse
Object.xmlString
- the XML String representation of this object.SAML2Exception
- if ECPResponse
cannot be created.public Boolean isMustUnderstand()
mustUnderstand
attribute.isMustUnderstand
in interface ECPResponse
mustUnderstand
attribute.public void setMustUnderstand(Boolean mustUnderstand) throws SAML2Exception
mustUnderstand
attribute.setMustUnderstand
in interface ECPResponse
mustUnderstand
- the value of mustUnderstand
attribute.SAML2Exception
- if the object is immutable.public String getActor()
actor
attribute.getActor
in interface ECPResponse
actor
attributepublic void setActor(String actor) throws SAML2Exception
actor
attribute.setActor
in interface ECPResponse
actor
- the value of actor
attributeSAML2Exception
- if the object is immutable.public String getAssertionConsumerServiceURL()
AssertionConsumerServiceURL
attribute.getAssertionConsumerServiceURL
in interface ECPResponse
AssertionConsumerServiceURL
attribute.setAssertionConsumerServiceURL(String)
public void setAssertionConsumerServiceURL(String url) throws SAML2Exception
AssertionConsumerServiceURL
attribute.setAssertionConsumerServiceURL
in interface ECPResponse
url
- the value of AssertionConsumerServiceURL
attribute.SAML2Exception
- if the object is immutable.getAssertionConsumerServiceURL()
public String toXMLString() throws SAML2Exception
toXMLString
in interface ECPResponse
SAML2Exception
- if it could not create String objectpublic String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
toXMLString
in interface ECPResponse
includeNSPrefix
- determines whether or not the namespace
qualifier is prepended to the Element when converteddeclareNS
- determines whether or not the namespace is declared
within the Element.SAML2Exception
- ,if it could not create String object.public void makeImmutable()
makeImmutable
in interface ECPResponse
public boolean isMutable()
isMutable
in interface ECPResponse
protected void validateData() throws SAML2Exception
SAML2Exception
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.