Package edu.uiuc.ncsa.sas.client
Class ClientConverter<V extends SASClient>
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.data.MapConverter<V>
-
- edu.uiuc.ncsa.sas.client.ClientConverter<V>
-
- All Implemented Interfaces:
XMLConverter<V>
public class ClientConverter<V extends SASClient> extends MapConverter<V>
Created by Jeff Gaynor
on 8/15/22 at 9:38 AM
-
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.security.storage.data.MapConverter
keys, provider
-
-
Constructor Summary
Constructors Constructor Description ClientConverter(ClientKeys keys, ClientProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
fromMap(ConversionMap<String,Object> map, V client)
ClientKeys
getKeys()
void
toMap(V client, ConversionMap<String,Object> map)
Takes the value and writes the data to the map.-
Methods inherited from class edu.uiuc.ncsa.security.storage.data.MapConverter
createIfNeeded, fromMap, fromMap, getProvider, subset, toMap
-
-
-
-
Constructor Detail
-
ClientConverter
public ClientConverter(ClientKeys keys, ClientProvider provider)
-
-
Method Detail
-
getKeys
public ClientKeys getKeys()
- Overrides:
getKeys
in classMapConverter<V extends SASClient>
-
fromMap
public V fromMap(ConversionMap<String,Object> map, V client)
- Overrides:
fromMap
in classMapConverter<V extends SASClient>
-
toMap
public void toMap(V client, ConversionMap<String,Object> map)
Description copied from class:MapConverter
Takes the value and writes the data to the map. The reason that the map is supplied is that there are many specialized maps. It would place undue constraints on this class to try and manage these as well.- Overrides:
toMap
in classMapConverter<V extends SASClient>
-
-