public interface Anonymizer<K>
Modifier and Type | Method and Description |
---|---|
Attribute |
anonymize(Map<Value<K>,Value<K>> valueMap,
Attribute attribute)
Take an attribute and its value, anonymizing all of them.
|
void |
setAnonymizers(Map<String,Anonymizer> attributeAnonymizers)
Set the list of existing anonymizers
|
void |
setSchemaManager(SchemaManager schemaManager)
Inject a SchemaManager instance in this Anonymizer
|
Attribute anonymize(Map<Value<K>,Value<K>> valueMap, Attribute attribute)
valueMap
- The existing map for value to the associated anonymized counterpartattribute
- The attribute to anonymizevoid setSchemaManager(SchemaManager schemaManager)
schemaManager
- The SchemaManager instancevoid setAnonymizers(Map<String,Anonymizer> attributeAnonymizers)
attributeAnonymizers
- The list of existing anonymizersCopyright © 2016. All rights reserved.