T - the type which this stores data for.@NotThreadSafe public class RelyingPartyUIData<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
private Map<String,String> |
dataMap
The map of languages to service names from the RP.
|
private com.google.common.base.Function<T,Map<String,String>> |
dataStrategy
How to get from the generic type RP to the list of supported
information of this class.
|
private String |
defaultData
The string to return when we cannot find a service name.
|
private Logger |
log
logger.
|
| Constructor and Description |
|---|
RelyingPartyUIData() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getDataMap()
Get the map of languages to service names from the RP.
|
com.google.common.base.Function<T,Map<String,String>> |
getDataStrategy()
Gets the mechanism to get the data.
|
String |
getDefaultData()
Get the string to return when we cannot find a language match.
|
void |
setDataStrategy(com.google.common.base.Function<T,Map<String,String>> strategy)
Sets the mechanism to get the data.
|
void |
setDefaultData(String data)
Set the string to return when we cannot find a language match.
|
void |
setRelyingParty(T relyingParty)
Set up the default map from the relying party.
|
@Nullable private com.google.common.base.Function<T,Map<String,String>> dataStrategy
@Nonnull private Map<String,String> dataMap
@Nullable public com.google.common.base.Function<T,Map<String,String>> getDataStrategy()
public void setDataStrategy(@Nullable com.google.common.base.Function<T,Map<String,String>> strategy)
strategy - what set.@Nonnull public String getDefaultData()
public void setDefaultData(@Nullable String data)
data - what to set.@Nonnull public Map<String,String> getDataMap()
public void setRelyingParty(T relyingParty)
relyingParty - the relyingParty to interrogateCopyright © 1999–2014. All rights reserved.