Class AssetConverter
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.data.MapConverter<Asset>
-
- org.oa4mp.client.api.storage.AssetConverter
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.XMLConverter<Asset>
- Direct Known Subclasses:
OA2AssetConverter
public class AssetConverter extends edu.uiuc.ncsa.security.storage.data.MapConverter<Asset>
A serializer that convertsAsset
s to/from key/value pairs. This is used by everyAssetStore
and provides a consistent mechanism for these conversions.Created by Jeff Gaynor
on 1/28/13 at 3:39 PM
-
-
Constructor Summary
Constructors Constructor Description AssetConverter(edu.uiuc.ncsa.security.storage.data.SerializationKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<Asset> provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Asset
fromMap(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map, Asset asset)
protected AssetSerializationKeys
getAR()
void
toMap(Asset asset, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map)
-
-
-
Constructor Detail
-
AssetConverter
public AssetConverter(edu.uiuc.ncsa.security.storage.data.SerializationKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<Asset> provider)
-
-