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 VfromMap(ConversionMap<String,Object> map, V client)ClientKeysgetKeys()voidtoMap(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, fromJSON, fromMap, fromMap, getProvider, isA, subset, toJSON, toMap
-
-
-
-
Constructor Detail
-
ClientConverter
public ClientConverter(ClientKeys keys, ClientProvider provider)
-
-
Method Detail
-
getKeys
public ClientKeys getKeys()
- Overrides:
getKeysin classMapConverter<V extends SASClient>
-
fromMap
public V fromMap(ConversionMap<String,Object> map, V client)
- Overrides:
fromMapin classMapConverter<V extends SASClient>
-
toMap
public void toMap(V client, ConversionMap<String,Object> map)
Description copied from class:MapConverterTakes 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:
toMapin classMapConverter<V extends SASClient>
-
-