|
Tsukuyomi OpenID 0.2.0 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.sourceforge.tsukuyomi.openid.message.ax.AxMessage
public class AxMessage
Base class for the Attribute Exchange implementation.
Encapsulates:
MessageExtension
フィールドの概要 | |
---|---|
static String |
OPENID_NS_AX
The Attribute Exchange Type URI. |
protected ParameterList |
parameters
The Attribute Exchange extension-specific parameters. |
コンストラクタの概要 | |
---|---|
AxMessage()
Constructs an empty (no parameters) Attribute Exchange extension. |
|
AxMessage(ParameterList params)
Constructs an Attribute Exchange extension with a specified list of parameters. |
メソッドの概要 | |
---|---|
MessageExtension |
getExtension(ParameterList parameterList,
boolean isRequest)
Instantiates the apropriate Attribute Exchange object (fetch / store - request / response) for the supplied parameter list. |
ParameterList |
getParameters()
Gets ParameterList containing the Attribute Exchange 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 Attribute Exchange 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()
Attribute exchange 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_AX
protected ParameterList parameters
The openid.
コンストラクタの詳細 |
---|
public AxMessage()
public AxMessage(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 Attribute Exchange 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 Attribute Exchange object could not be instantiated from
the supplied parameter list.
|
Tsukuyomi OpenID 0.2.0 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |