Class RequesterIDImpl
- java.lang.Object
-
- com.sun.identity.saml2.protocol.impl.RequesterIDImpl
-
- All Implemented Interfaces:
RequesterID
public class RequesterIDImpl extends Object implements RequesterID
This interface identifies the requester entities in anAuthnRequestmessage.
-
-
Constructor Summary
Constructors Constructor Description RequesterIDImpl()Constructor to create theRequesterIDObject.RequesterIDImpl(String xmlString)Constructor to create theRequesterIDObject.RequesterIDImpl(Element element)Constructor to create theRequesterIDObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()Returns the value of theRequesterIDURI.booleanisMutable()Returns value true if object is mutable.voidmakeImmutable()Makes this object immutable.voidsetValue(String value)Sets the value of theRequesterIDURI.StringtoXMLString()Returns a String representation of this Object.StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation
-
-
-
Constructor Detail
-
RequesterIDImpl
public RequesterIDImpl()
Constructor to create theRequesterIDObject.
-
RequesterIDImpl
public RequesterIDImpl(Element element) throws SAML2Exception
Constructor to create theRequesterIDObject.- Parameters:
element- Document Element ofRequesterIDObject.- Throws:
SAML2Exception- ifRequesterIDcannot be created.
-
RequesterIDImpl
public RequesterIDImpl(String xmlString) throws SAML2Exception
Constructor to create theRequesterIDObject.- Parameters:
xmlString- XML String Representation ofRequesterIDobject.- Throws:
SAML2Exception- ifRequesterIDcannot be created.
-
-
Method Detail
-
getValue
public String getValue()
Returns the value of theRequesterIDURI.- Specified by:
getValuein interfaceRequesterID- Returns:
- value of the
RequesterIDURI. - See Also:
setValue(String)
-
setValue
public void setValue(String value) throws SAML2Exception
Sets the value of theRequesterIDURI.- Specified by:
setValuein interfaceRequesterID- Parameters:
value- of theRequesterIDURI.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getValue()
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns a String representation of this Object.- Specified by:
toXMLStringin interfaceRequesterID- Returns:
- a String representation of this Object.
- Throws:
SAML2Exception- if cannot convert to String.
-
toXMLString
public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns a String representation- Specified by:
toXMLStringin interfaceRequesterID- 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 cannot convert to String.
-
makeImmutable
public void makeImmutable()
Makes this object immutable.- Specified by:
makeImmutablein interfaceRequesterID
-
isMutable
public boolean isMutable()
Returns value true if object is mutable.- Specified by:
isMutablein interfaceRequesterID- Returns:
- true if object is mutable.
-
-