Package com.sun.identity.saml2.assertion
Interface NameIDType
-
- All Known Implementing Classes:
IssuerImpl,NameIDImpl,NameIDImplWithoutSPNameQualifier,NameIDTypeImpl
public interface NameIDTypeTheNameIDTypeis used when an element serves to represent an entity by a string-valued name. In addition to the string content containing the actual identifier, it provides the following optional attributes:NameQualifierSPNameQualifierFormatSPProvidedID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFormat()Returns the formatStringgetNameQualifier()Returns the name qualifierStringgetSPNameQualifier()Returns theSPname qualifierStringgetSPProvidedID()Returns theSPprovided IDStringgetValue()Returns the string-valued identifierbooleanisMutable()Returns true if the object is mutablevoidmakeImmutable()Makes the object immutablevoidsetFormat(String value)Sets the formatvoidsetNameQualifier(String value)Sets the name qualifiervoidsetSPNameQualifier(String value)Sets theSPname qualifiervoidsetSPProvidedID(String value)Sets theSPprovided IDvoidsetValue(String value)Sets the string-valued identifierStringtoXMLString()Returns a String representationStringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a String representation
-
-
-
Method Detail
-
getValue
String getValue()
Returns the string-valued identifier- Returns:
- the string-valued identifier
-
setValue
void setValue(String value) throws SAML2Exception
Sets the string-valued identifier- Parameters:
value- the string-valued identifier- Throws:
SAML2Exception- if the object is immutable
-
getNameQualifier
String getNameQualifier()
Returns the name qualifier- Returns:
- the name qualifier
-
setNameQualifier
void setNameQualifier(String value) throws SAML2Exception
Sets the name qualifier- Parameters:
value- the name qualifier- Throws:
SAML2Exception- if the object is immutable
-
getSPProvidedID
String getSPProvidedID()
Returns theSPprovided ID- Returns:
- the
SPprovided ID
-
setSPProvidedID
void setSPProvidedID(String value) throws SAML2Exception
Sets theSPprovided ID- Parameters:
value- theSPprovided ID- Throws:
SAML2Exception- if the object is immutable
-
getSPNameQualifier
String getSPNameQualifier()
Returns theSPname qualifier- Returns:
- the
SPname qualifier
-
setSPNameQualifier
void setSPNameQualifier(String value) throws SAML2Exception
Sets theSPname qualifier- Parameters:
value- theSPname qualifier- Throws:
SAML2Exception- if the object is immutable
-
getFormat
String getFormat()
Returns the format- Returns:
- the format
-
setFormat
void setFormat(String value) throws SAML2Exception
Sets the format- Parameters:
value- the format- Throws:
SAML2Exception- if the object is immutable
-
toXMLString
String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
Returns a String representation- 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
- Throws:
SAML2Exception- if something is wrong during conversion
-
toXMLString
String toXMLString() throws SAML2Exception
Returns a String representation- Returns:
- A String representation
- Throws:
SAML2Exception- if something is wrong during conversion
-
makeImmutable
void makeImmutable()
Makes the object immutable
-
isMutable
boolean isMutable()
Returns true if the object is mutable- Returns:
- true if the object is mutable
-
-