public interface Anonymizer<K>
| Modifier and Type | Method and Description |
|---|---|
Attribute |
anonymize(java.util.Map<Value<K>,Value<K>> valueMap,
Attribute attribute)
Take an attribute and its value, anonymizing all of them.
|
void |
setAnonymizers(java.util.Map<java.lang.String,Anonymizer> attributeAnonymizers)
Set the list of existing anonymizers
|
void |
setSchemaManager(SchemaManager schemaManager)
Inject a SchemaManager instance in this Anonymizer
|
Attribute anonymize(java.util.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(java.util.Map<java.lang.String,Anonymizer> attributeAnonymizers)
attributeAnonymizers - The list of existing anonymizers