Class IDPEntryImpl
- java.lang.Object
-
- com.sun.identity.saml2.protocol.impl.IDPEntryImpl
-
-
Constructor Summary
Constructors Constructor Description IDPEntryImpl()Constructor to createIDPEntryObject.IDPEntryImpl(String xmlString)Constructor to createIDPEntryObject.IDPEntryImpl(Element element)Constructor to createIDPEntryObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLoc()Return the value ofLocattribute.StringgetName()Returns the value ofNameattribute.StringgetProviderID()Returns the value ofProviderIDattribute.booleanisMutable()Returns true if object is mutable.voidmakeImmutable()Makes this object immutable.voidsetLoc(String locationURI)Sets the value ofLocattribute.voidsetName(String name)Sets the value ofNameattribute.voidsetProviderID(String uri)Sets the value ofProviderIDattribute.StringtoXMLString()Returns a String representation of this Object.StringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation of this Object.
-
-
-
Constructor Detail
-
IDPEntryImpl
public IDPEntryImpl()
Constructor to createIDPEntryObject.
-
IDPEntryImpl
public IDPEntryImpl(Element element) throws SAML2Exception
Constructor to createIDPEntryObject.- Parameters:
element- Document Element ofIDPEntryobject.- Throws:
SAML2Exception- ifIDPEntrycannot be created.
-
IDPEntryImpl
public IDPEntryImpl(String xmlString) throws SAML2Exception
Constructor to createIDPEntryObject.- Parameters:
xmlString- XML Representation of theIDPEntryobject.- Throws:
SAML2Exception- ifIDPEntrycannot be created.
-
-
Method Detail
-
getProviderID
public String getProviderID()
Returns the value ofProviderIDattribute.- Specified by:
getProviderIDin interfaceIDPEntry- Returns:
- value of the
ProviderIDattribute. - See Also:
setProviderID(String)
-
setProviderID
public void setProviderID(String uri) throws SAML2Exception
Sets the value ofProviderIDattribute.- Specified by:
setProviderIDin interfaceIDPEntry- Parameters:
uri- new value ofProviderIDattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getProviderID()
-
getName
public String getName()
Returns the value ofNameattribute.- Specified by:
getNamein interfaceIDPEntry- Returns:
- value of the
Nameattribute. - See Also:
setName(String)
-
setName
public void setName(String name) throws SAML2Exception
Sets the value ofNameattribute.- Specified by:
setNamein interfaceIDPEntry- Parameters:
name- new value ofNameattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getName()
-
getLoc
public String getLoc()
Return the value ofLocattribute.- Specified by:
getLocin interfaceIDPEntry- Returns:
- value of
Locattribute. - See Also:
setLoc(String)
-
setLoc
public void setLoc(String locationURI) throws SAML2Exception
Sets the value ofLocattribute.- Specified by:
setLocin interfaceIDPEntry- Parameters:
locationURI- value ofLocattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getLoc()
-
toXMLString
public String toXMLString() throws SAML2Exception
Returns a String representation of this Object.- Specified by:
toXMLStringin interfaceIDPEntry- Returns:
- a String representation of this Object.
- Throws:
SAML2Exception- if cannot create String object.
-
toXMLString
public String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns a String representation of this Object.- Specified by:
toXMLStringin interfaceIDPEntry- 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:
- the String representation of this Object.
- Throws:
SAML2Exception- if cannot create String object.
-
makeImmutable
public void makeImmutable()
Makes this object immutable.- Specified by:
makeImmutablein interfaceIDPEntry
-
-