com.sun.identity.federation.message.common
クラス SPProvidedNameIdentifier

java.lang.Object
  上位を拡張 com.sun.identity.saml.assertion.NameIdentifier
      上位を拡張 com.sun.identity.federation.message.common.SPProvidedNameIdentifier

public class SPProvidedNameIdentifier
extends NameIdentifier

This class contains methods to create Service Provider NameIdentifier.


フィールドの概要
protected  int minorVersion
           
 
コンストラクタの概要
SPProvidedNameIdentifier(Element spProvidedNameIdentifierElement)
          Constructor creates SPProvidedNameIdentifier object from Document Element.
SPProvidedNameIdentifier(String securityDomain, String name)
          Constructor creates SPProvidedNameIdentifier object.
SPProvidedNameIdentifier(String name, String nameQualifier, String format)
          Constructor creates SPProvidedNameIdentifier object.
 
メソッドの概要
 int getMinorVersion()
          Returns the MinorVersion attribute.
 void setMinorVersion(int version)
          Sets the MinorVersion attribute.
 String toXMLString()
          Returns the string representation of this object.
 String toXMLString(boolean includeNS, boolean declareNS)
          Returns the string representation of this object.
 
クラス com.sun.identity.saml.assertion.NameIdentifier から継承されたメソッド
equals, getFormat, getName, getNameQualifier, setFormat, setName, setNameQualifier, toString, toString
 

フィールドの詳細

minorVersion

protected int minorVersion
コンストラクタの詳細

SPProvidedNameIdentifier

public SPProvidedNameIdentifier(String name,
                                String nameQualifier,
                                String format)
                         throws SAMLException
Constructor creates SPProvidedNameIdentifier object.

パラメータ:
name -
nameQualifier -
format -
例外:
SAMLException - on errors.

SPProvidedNameIdentifier

public SPProvidedNameIdentifier(Element spProvidedNameIdentifierElement)
                         throws FSMsgException
Constructor creates SPProvidedNameIdentifier object from Document Element.

パラメータ:
spProvidedNameIdentifierElement - the Document Element.
例外:
FSMsgException - on errors.

SPProvidedNameIdentifier

public SPProvidedNameIdentifier(String securityDomain,
                                String name)
                         throws FSMsgException
Constructor creates SPProvidedNameIdentifier object.

パラメータ:
securityDomain - the Security Domain
name - the identifier
例外:
FSMsgException - if there is an error .
メソッドの詳細

setMinorVersion

public void setMinorVersion(int version)
Sets the MinorVersion attribute.

パラメータ:
version - the MinorVersion attribute.
関連項目:
SPProvidedNameIdentifier.getMinorVersion()

getMinorVersion

public int getMinorVersion()
Returns the MinorVersion attribute.

戻り値:
the MinorVersion attribute.
関連項目:
SPProvidedNameIdentifier.setMinorVersion(int)

toXMLString

public String toXMLString()
                   throws FSMsgException
Returns the string representation of this object.

戻り値:
a string containing the valid XML for this element
例外:
FSMsgException - if there is an error creating XML string from this object.

toXMLString

public String toXMLString(boolean includeNS,
                          boolean declareNS)
                   throws FSMsgException
Returns the string representation of this object.

パラメータ:
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.
戻り値:
a string containing the valid XML for this element
例外:
FSMsgException - if there is an error creating XML string from this object.