|
Tsukuyomi OpenID 0.2.0 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.sourceforge.tsukuyomi.openid.message.sreg.SRegMessage
public class SRegMessage
Base class for the Simple Registration implementation.
Encapsulates:
MessageExtension
フィールドの概要 | |
---|---|
static String |
OPENID_NS_SREG
The Simple Registration Type URI. |
protected ParameterList |
parameters
The Simple Registration extension-specific parameters. |
コンストラクタの概要 | |
---|---|
SRegMessage()
Constructs an empty (no parameters) Simple Registration extension. |
|
SRegMessage(ParameterList params)
Constructs an Simple Registration extension with a specified list of parameters. |
メソッドの概要 | |
---|---|
MessageExtension |
getExtension(ParameterList parameterList,
boolean isRequest)
Instantiates the apropriate Simple Registration object (request / response) for the supplied parameter list. |
ParameterList |
getParameters()
Gets ParameterList containing the Simple Registration extension-specific parameters. |
String |
getParameterValue(String name)
Gets a the value of the parameter with the specified name. |
String |
getTypeUri()
Gets the Type URI that identifies the Simple Registration extension. |
String |
multivalDecode(String value)
Decodes a string value according to the conventions for supporting multiple values for a parameter (commas and backslashes are escaped). |
String |
multivalEncode(String value)
Encodes a string value according to the conventions for supporting multiple values for a parameter (commas and backslashes are escaped). |
boolean |
providesIdentifier()
Simple Registration doesn't implement authentication services. |
void |
setParameters(ParameterList params)
Sets the extension's parameters to the supplied list. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final String OPENID_NS_SREG
protected ParameterList parameters
The openid.
コンストラクタの詳細 |
---|
public SRegMessage()
public SRegMessage(ParameterList params)
The parameter names in the list should not contain the openid.
メソッドの詳細 |
---|
public String getTypeUri()
MessageExtension
内の getTypeUri
MessageExtensionFactory
内の getTypeUri
public ParameterList getParameters()
The openid.
The openid.ns.
MessageExtension
内の getParameters
Message
public String getParameterValue(String name)
name
- The name of the parameter, without the openid.public void setParameters(ParameterList params)
The parameter names in the list should not contain the openid.
MessageExtension
内の setParameters
Message
public String multivalEncode(String value)
value
- String value to be encoded.
public String multivalDecode(String value)
value
- String value to be decoded.
public boolean providesIdentifier()
MessageExtension
内の providesIdentifier
public MessageExtension getExtension(ParameterList parameterList, boolean isRequest) throws MessageException
MessageExtensionFactory
内の getExtension
parameterList
- The Simple Registration specific parameters (without the
openid.isRequest
- Indicates whether the parameters were extracted from an OpenID
request (true), or from an OpenID response.
MessageException
- If a Simple Registration object could not be instantiated
from the supplied parameter list.
|
Tsukuyomi OpenID 0.2.0 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |