|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.saml.assertion.NameIdentifier com.sun.identity.federation.message.common.OldProvidedNameIdentifier
This class OldProvidedNameIdentifier
represents the ID-FF
OldProvidedNameIdentifier
element.
Constructor Summary | |
OldProvidedNameIdentifier(org.w3c.dom.Element oldProvidedNameIdentifierElement)
Constructs a OldProvidedNameIdentifier element from an
existing XML block. |
|
OldProvidedNameIdentifier(java.lang.String securityDomain,
java.lang.String name)
Constructs a OldProvidedNameIdentifier instance. |
|
OldProvidedNameIdentifier(java.lang.String name,
java.lang.String nameQualifier,
java.lang.String format)
Constructs a OldProvidedNameIdentifier instance. |
Method Summary | |
int |
getMinorVersion()
Gets minor version |
void |
setMinorVersion(int version)
Sets minor version |
java.lang.String |
toXMLString()
Gets a String representation of the OldProvidedNameIdentifier element. |
java.lang.String |
toXMLString(boolean includeNS,
boolean declareNS)
Gets a String representation of the OldProvidedNameIdentifier element. |
Methods inherited from class com.sun.identity.saml.assertion.NameIdentifier |
equals, getFormat, getName, getNameQualifier, setFormat, setNameQualifier, toString, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OldProvidedNameIdentifier(java.lang.String name, java.lang.String nameQualifier, java.lang.String format) throws SAMLException
OldProvidedNameIdentifier
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.public OldProvidedNameIdentifier(org.w3c.dom.Element oldProvidedNameIdentifierElement) throws FSMsgException
OldProvidedNameIdentifier
element from an
existing XML block.
oldProvidedNameIdentifierElement
- A org.w3c.dom.Element
representing DOM tree for IDPProvidedNameIdentifier
object
FSMsgException
- 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 OldProvidedNameIdentifier(java.lang.String securityDomain, java.lang.String name) throws FSMsgException
OldProvidedNameIdentifier
instance.
securityDomain
- The security or administrative domain that qualifies
the name of the Subject
. This is optional, could be
null or "".name
- The string representing the name of the Subject
FSMsgException
- if the input has an error.Method Detail |
public void setMinorVersion(int version)
version
- minor version to be setpublic int getMinorVersion()
public java.lang.String toXMLString() throws FSMsgException
OldProvidedNameIdentifier
element.
FSMsgException
- if unable to get the XML stringpublic java.lang.String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
OldProvidedNameIdentifier
element.
includeNS
- 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.
FSMsgException
- if unable to get the XML string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |