public interface NameIDType
NameIDType
is 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:
NameQualifier
SPNameQualifier
Format
SPProvidedID
Modifier and Type | Method and Description |
---|---|
String |
getFormat()
Returns the format
|
String |
getNameQualifier()
Returns the name qualifier
|
String |
getSPNameQualifier()
Returns the
SP name qualifier |
String |
getSPProvidedID()
Returns the
SP provided ID |
String |
getValue()
Returns the string-valued identifier
|
boolean |
isMutable()
Returns true if the object is mutable
|
void |
makeImmutable()
Makes the object immutable
|
void |
setFormat(String value)
Sets the format
|
void |
setNameQualifier(String value)
Sets the name qualifier
|
void |
setSPNameQualifier(String value)
Sets the
SP name qualifier |
void |
setSPProvidedID(String value)
Sets the
SP provided ID |
void |
setValue(String value)
Sets the string-valued identifier
|
String |
toXMLString()
Returns a String representation
|
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a String representation
|
String getValue()
void setValue(String value) throws SAML2Exception
value
- the string-valued identifierSAML2Exception
- if the object is immutableString getNameQualifier()
void setNameQualifier(String value) throws SAML2Exception
value
- the name qualifierSAML2Exception
- if the object is immutableString getSPProvidedID()
SP
provided IDSP
provided IDvoid setSPProvidedID(String value) throws SAML2Exception
SP
provided IDvalue
- the SP
provided IDSAML2Exception
- if the object is immutableString getSPNameQualifier()
SP
name qualifierSP
name qualifiervoid setSPNameQualifier(String value) throws SAML2Exception
SP
name qualifiervalue
- the SP
name qualifierSAML2Exception
- if the object is immutableString getFormat()
void setFormat(String value) throws SAML2Exception
value
- the formatSAML2Exception
- if the object is immutableString toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
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 something is wrong during conversionString toXMLString() throws SAML2Exception
SAML2Exception
- if something is wrong during conversionvoid makeImmutable()
boolean isMutable()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.