|
|||||||||
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
Constructor Summary | |
NameIdentifier(org.w3c.dom.Element nameIdentifierElement)
This constructor builds a NameIdentifer element from an existing XML block |
|
NameIdentifier(java.lang.String name)
constructor |
|
NameIdentifier(java.lang.String name,
java.lang.String nameQualifier)
constructor |
|
NameIdentifier(java.lang.String name,
java.lang.String nameQualifier,
java.lang.String format)
constructor |
Method Summary | |
boolean |
equals(NameIdentifier nid)
Checks for equality between this object and the NameIdentifier passed down as paramater. |
java.lang.String |
getFormat()
get format from NameIdentifier |
java.lang.String |
getName()
get the name from NameIdentifier |
java.lang.String |
getNameQualifier()
get the name from NameIdentifier /** get nameQualifier from NameIdentifier |
boolean |
setFormat(java.lang.String format)
set the format attribute for NameIdentifier |
boolean |
setNameQualifier(java.lang.String nameQualifier)
set the nameQualifier attribute for NameIdentifier |
java.lang.String |
toString()
Create a String representation of the element |
java.lang.String |
toString(boolean includeNS,
boolean declareNS)
Create a 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
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
name
- - The string representing the name of the SubjectnameQualifier
- - The security or adminstrative 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
name
- - The string representing the name of the SubjectnameQualifier
- - The security or adminstrative 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)
name
- : A String representing the format of the
NameIdentifier elementpublic java.lang.String getNameQualifier()
public boolean setNameQualifier(java.lang.String nameQualifier)
name
- : A String representing the nameQualifier of the
NameIdentifier elementpublic java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean includeNS, boolean declareNS)
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)
NameIdentifier
- to be checked
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |