Class BaseClientConverter<V extends BaseClient>
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.data.MapConverter<V>
-
- edu.uiuc.ncsa.security.storage.data.MonitoredConverter<V>
-
- org.oa4mp.delegation.common.clients.storage.BaseClientConverter<V>
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.XMLConverter<V>
- Direct Known Subclasses:
ClientConverter
public abstract class BaseClientConverter<V extends BaseClient> extends edu.uiuc.ncsa.security.storage.data.MonitoredConverter<V>
Created by Jeff Gaynor
on 10/20/16 at 12:58 PM
-
-
Constructor Summary
Constructors Constructor Description BaseClientConverter(BaseClientKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> provider)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description V
fromJSON(net.sf.json.JSONObject json)
V
fromMap(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map, V v)
protected BaseClientKeys
getBKK()
abstract String
getJSONComponentName()
JSONUtil
getJsonUtil()
void
toJSON(V client, net.sf.json.JSONObject json)
void
toMap(V client, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map)
-
-
-
Constructor Detail
-
BaseClientConverter
public BaseClientConverter(BaseClientKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> provider)
-
-
Method Detail
-
getJSONComponentName
public abstract String getJSONComponentName()
-
getJsonUtil
public JSONUtil getJsonUtil()
-
getBKK
protected BaseClientKeys getBKK()
-
fromMap
public V fromMap(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map, V v)
- Overrides:
fromMap
in classedu.uiuc.ncsa.security.storage.data.MonitoredConverter<V extends BaseClient>
-
toMap
public void toMap(V client, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map)
- Overrides:
toMap
in classedu.uiuc.ncsa.security.storage.data.MonitoredConverter<V extends BaseClient>
-
fromJSON
public V fromJSON(net.sf.json.JSONObject json)
-
toJSON
public void toJSON(V client, net.sf.json.JSONObject json)
-
-