| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sun.identity.saml.assertion.NameIdentifier
The NameIdentifier element specifies a Subject by a combination 
of a name and a security domain governing the name of the Subject.
| Constructor Summary | |
| NameIdentifier(org.w3c.dom.Element nameIdentifierElement)Constructs a NameIdentiferelement from an existing XML
 block. | |
| NameIdentifier(java.lang.String name)constructor | |
| NameIdentifier(java.lang.String name,
               java.lang.String nameQualifier)Constructs a NameQualifierinstance. | |
| NameIdentifier(java.lang.String name,
               java.lang.String nameQualifier,
               java.lang.String format)Constructs a NameQualifierinstance. | |
| Method Summary | |
|  boolean | equals(NameIdentifier nid)Checks for equality between this object and the NameQualifierpassed down as parameter. | 
|  java.lang.String | getFormat()Returns format. | 
|  java.lang.String | getName()Returns the name from NameQualifier. | 
|  java.lang.String | getNameQualifier()Returns the name. | 
|  boolean | setFormat(java.lang.String format)Set the format attribute. | 
|  boolean | setNameQualifier(java.lang.String nameQualifier)Set nameQualifierattribute. | 
|  java.lang.String | toString()Returns a String representation of the element. | 
|  java.lang.String | toString(boolean includeNS,
         boolean declareNS)Returns String representation of the <NameIdentifier>element. | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public NameIdentifier(org.w3c.dom.Element nameIdentifierElement)
               throws SAMLException
NameIdentifer element from an existing XML
 block.nameIdentifierElement - A org.w3c.dom.Element 
        representing DOM tree for NameIdentifier objectSAMLException - if it could not process the 
            org.w3c.dom.Element properly, implying that there
            is an error in the sender or in the element definition.
public NameIdentifier(java.lang.String name)
               throws SAMLException
name - - The string representing the name of the SubjectSAMLException - if the input has an error.
public NameIdentifier(java.lang.String name,
                      java.lang.String nameQualifier)
               throws SAMLException
NameQualifier instance.name - The string representing the name of the SubjectnameQualifier - The security or administrative domain that qualifies
        the name of the Subject. This is optional, could be
        null or "".SAMLException - if the input has an error.
public NameIdentifier(java.lang.String name,
                      java.lang.String nameQualifier,
                      java.lang.String format)
               throws SAMLException
NameQualifier instance.name - The string representing the name of the SubjectnameQualifier - The security or administrative domain that qualifies
        the name of the Subject. This is optional could be
        null or "".format - The syntax used to describe the name of the
        Subject. This optional, could be null or "".SAMLException - if the input has an error.| Method Detail | 
public java.lang.String getFormat()
public boolean setFormat(java.lang.String format)
format - A String representing the format.public java.lang.String getNameQualifier()
nameQualifier. 
 Returns null if there is no nameQualifier.public boolean setNameQualifier(java.lang.String nameQualifier)
nameQualifier attribute.nameQualifier - name qualifier.public java.lang.String getName()
NameQualifier.public java.lang.String toString()
toString in class java.lang.Object<saml:NameIdentifier>.
public java.lang.String toString(boolean includeNS,
                                 boolean declareNS)
<NameIdentifier>
 element.includeNS - 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.public boolean equals(NameIdentifier nid)
NameQualifier passed down as parameter. Checks if Name is
 equal and if it has NameQualifier and Format defined
 checks for equality in those too.nid - NameIdentifier to be checkedNameQualifier are equal or not| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||