|
Tsukuyomi OpenID 0.2.1 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.sourceforge.tsukuyomi.openid.message.ax.AxMessage
jp.sourceforge.tsukuyomi.openid.message.ax.StoreRequest
public class StoreRequest
Implements the extension for Attribute Exchange store requests.
| フィールドの概要 |
|---|
| クラス jp.sourceforge.tsukuyomi.openid.message.ax.AxMessage から継承されたフィールド |
|---|
OPENID_NS_AX, parameters |
| コンストラクタの概要 | |
|---|---|
protected |
StoreRequest()
Constructs a Store Request with an empty parameter list. |
protected |
StoreRequest(ParameterList params)
Constructs a StoreRequest from a parameter list. |
| メソッドの概要 | |
|---|---|
void |
addAttribute(String alias,
String typeUri,
String value)
Adds an attribute to the store request. |
static StoreRequest |
createStoreRequest()
Constructs a Store Request with an empty parameter list. |
static StoreRequest |
createStoreRequest(ParameterList params)
Constructs a StoreRequest from a parameter list. |
List<String> |
getAttributeAliases()
Gets a list of attribute aliases. |
Map<String,Object> |
getAttributes()
Gets a map with attribute aliases -> list of values. |
List<String> |
getAttributeValues(String alias)
Returns a list with the attribute value(s) associated with the specified alias. |
int |
getCount(String alias)
Gets the number of values provided in the fetch response for the specified attribute alias. |
boolean |
isValid()
Checks the validity of the extension. |
| クラス jp.sourceforge.tsukuyomi.openid.message.ax.AxMessage から継承されたメソッド |
|---|
getExtension, getParameters, getParameterValue, getTypeUri, multivalDecode, multivalEncode, providesIdentifier, setParameters |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
protected StoreRequest()
protected StoreRequest(ParameterList params)
The parameter list can be extracted from a received message with the
getExtensionParams method of the Message class, and MUST NOT contain the
"openid.
| メソッドの詳細 |
|---|
public static StoreRequest createStoreRequest()
public static StoreRequest createStoreRequest(ParameterList params)
throws MessageException
The parameter list can be extracted from a received message with the
getExtensionParams method of the Message class, and MUST NOT contain the
"openid.
MessageException
public void addAttribute(String alias,
String typeUri,
String value)
alias - The identifier that will be associated with the attribute name
URItypeUri - The attribute name URIvalue - The value of the attributepublic List<String> getAttributeValues(String alias)
alias - Attribute alias.
public List<String> getAttributeAliases()
public Map<String,Object> getAttributes()
public int getCount(String alias)
alias - The attribute alias.public boolean isValid()
Used when constructing a extension from a parameter list.
|
Tsukuyomi OpenID 0.2.1 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||