com.sun.identity.saml2.assertion
Interface NameIDType

All Known Subinterfaces:
Issuer, NameID

public interface NameIDType

The 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


Method Summary
 java.lang.String getFormat()
          Returns the format
 java.lang.String getNameQualifier()
          Returns the name qualifier
 java.lang.String getSPNameQualifier()
          Returns the SP name qualifier
 java.lang.String getSPProvidedID()
          Returns the SP provided ID
 java.lang.String getValue()
          Returns the string-valued identifier
 boolean isMutable()
          Returns true if the object is mutable
 void makeImmutable()
          Makes the object immutable
 void setFormat(java.lang.String value)
          Sets the format
 void setNameQualifier(java.lang.String value)
          Sets the name qualifier
 void setSPNameQualifier(java.lang.String value)
          Sets the SP name qualifier
 void setSPProvidedID(java.lang.String value)
          Sets the SP provided ID
 void setValue(java.lang.String value)
          Sets the string-valued identifier
 java.lang.String toXMLString()
          Returns a String representation
 java.lang.String toXMLString(boolean includeNSPrefix, boolean declareNS)
          Returns a String representation
 

Method Detail

getValue

public java.lang.String getValue()
Returns the string-valued identifier

Returns:
the string-valued identifier

setValue

public void setValue(java.lang.String value)
              throws SAML2Exception
Sets the string-valued identifier

Parameters:
value - the string-valued identifier
Throws:
SAML2Exception - if the object is immutable

getNameQualifier

public java.lang.String getNameQualifier()
Returns the name qualifier

Returns:
the name qualifier

setNameQualifier

public void setNameQualifier(java.lang.String value)
                      throws SAML2Exception
Sets the name qualifier

Parameters:
value - the name qualifier
Throws:
SAML2Exception - if the object is immutable

getSPProvidedID

public java.lang.String getSPProvidedID()
Returns the SP provided ID

Returns:
the SP provided ID

setSPProvidedID

public void setSPProvidedID(java.lang.String value)
                     throws SAML2Exception
Sets the SP provided ID

Parameters:
value - the SP provided ID
Throws:
SAML2Exception - if the object is immutable

getSPNameQualifier

public java.lang.String getSPNameQualifier()
Returns the SP name qualifier

Returns:
the SP name qualifier

setSPNameQualifier

public void setSPNameQualifier(java.lang.String value)
                        throws SAML2Exception
Sets the SP name qualifier

Parameters:
value - the SP name qualifier
Throws:
SAML2Exception - if the object is immutable

getFormat

public java.lang.String getFormat()
Returns the format

Returns:
the format

setFormat

public void setFormat(java.lang.String value)
               throws SAML2Exception
Sets the format

Parameters:
value - the format
Throws:
SAML2Exception - if the object is immutable

toXMLString

public java.lang.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 converted
declareNS - Determines whether or not the namespace is declared within the Element.
Returns:
A String representation
Throws:
SAML2Exception - if something is wrong during conversion

toXMLString

public java.lang.String toXMLString()
                             throws SAML2Exception
Returns a String representation

Returns:
A String representation
Throws:
SAML2Exception - if something is wrong during conversion

makeImmutable

public void makeImmutable()
Makes the object immutable


isMutable

public boolean isMutable()
Returns true if the object is mutable

Returns:
true if the object is mutable


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.