Package com.sun.identity.saml2.ecp.impl
Class ECPRelayStateImpl
- java.lang.Object
-
- com.sun.identity.saml2.ecp.impl.ECPRelayStateImpl
-
- All Implemented Interfaces:
ECPRelayState
public class ECPRelayStateImpl extends Object implements ECPRelayState
This class implementsECPRelayStateelement. It provides all the methods required byECPRelayState
-
-
Constructor Summary
Constructors Constructor Description ECPRelayStateImpl()Constructs theECPRelayStateObject.ECPRelayStateImpl(String xmlString)Constructs theECPRelayStateObject.ECPRelayStateImpl(Element element)Constructs theECPRelayStateObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActor()Returns value ofactorattribute.StringgetValue()Returns the value of theRelayState.BooleanisMustUnderstand()Returns value ofmustUnderstandattribute.booleanisMutable()Returns true if object is mutable.voidmakeImmutable()Makes this object immutable.voidsetActor(String actor)Sets the value ofactorattribute.voidsetMustUnderstand(Boolean mustUnderstand)Sets the value of themustUnderstandattribute.voidsetValue(String value)Sets the value of theRelayState.StringtoXMLString()Returns a String representation of this Object.StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representationprotected voidvalidateData()
-
-
-
Constructor Detail
-
ECPRelayStateImpl
public ECPRelayStateImpl()
Constructs theECPRelayStateObject.
-
ECPRelayStateImpl
public ECPRelayStateImpl(Element element) throws SAML2Exception
Constructs theECPRelayStateObject.- Parameters:
element- the Document Element of ECPRelayStateobject.- Throws:
SAML2Exception- ifECPRelayStatecannot be created.
-
ECPRelayStateImpl
public ECPRelayStateImpl(String xmlString) throws SAML2Exception
Constructs theECPRelayStateObject.- Parameters:
xmlString- the XML String representation of this object.- Throws:
SAML2Exception- ifECPRelayStatecannot be created.
-
-
Method Detail
-
getValue
public String getValue()
Returns the value of theRelayState.- Specified by:
getValuein interfaceECPRelayState- Returns:
- value of the
RelayState. - See Also:
setValue(String)
-
setValue
public void setValue(String value) throws SAML2Exception
Sets the value of theRelayState.- Specified by:
setValuein interfaceECPRelayState- Parameters:
value- new value of theRelayState.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getValue()
-
isMustUnderstand
public Boolean isMustUnderstand()
Returns value ofmustUnderstandattribute.- Specified by:
isMustUnderstandin interfaceECPRelayState- Returns:
- value of
mustUnderstandattribute.
-
setMustUnderstand
public void setMustUnderstand(Boolean mustUnderstand) throws SAML2Exception
Sets the value of themustUnderstandattribute.- Specified by:
setMustUnderstandin interfaceECPRelayState- Parameters:
mustUnderstand- the value ofmustUnderstandattribute.- Throws:
SAML2Exception- if the object is immutable.
-
getActor
public String getActor()
Returns value ofactorattribute.- Specified by:
getActorin interfaceECPRelayState- Returns:
- value of
actorattribute
-
setActor
public void setActor(String actor) throws SAML2Exception
Sets the value ofactorattribute.- Specified by:
setActorin interfaceECPRelayState- Parameters:
actor- the value ofactorattribute- Throws:
SAML2Exception- if the object is immutable.
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns a String representation of this Object.- Specified by:
toXMLStringin interfaceECPRelayState- 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:
toXMLStringin interfaceECPRelayState- Parameters:
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.- 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:
makeImmutablein interfaceECPRelayState
-
isMutable
public boolean isMutable()
Returns true if object is mutable.- Specified by:
isMutablein interfaceECPRelayState- Returns:
- true if object is mutable.
-
validateData
protected void validateData() throws SAML2Exception- Throws:
SAML2Exception
-
-