|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanonymizer.SensitiveAttribute
public class SensitiveAttribute
Data structure that holds all relevant information related to a sensitive attribute. Namely, attribute index in the input, string->integer domain mapping for categorical attributes and etc.
Field Summary | |
---|---|
java.util.Hashtable<java.lang.String,java.lang.Integer> |
catDomMapping
Mapping from the categorical domain to discrete-valued numerical (integer) domain for categorical attributes |
int |
index
Index of the attribute |
Constructor Summary | |
---|---|
SensitiveAttribute(int index,
org.w3c.dom.Node att)
Class constructor |
Method Summary | |
---|---|
private void |
parseMapping(org.w3c.dom.Node map)
Assign the mapping from the categorical domain to discrete valued numerical domain |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.Hashtable<java.lang.String,java.lang.Integer> catDomMapping
public int index
Constructor Detail |
---|
public SensitiveAttribute(int index, org.w3c.dom.Node att) throws java.lang.Exception
att
- The node that describes a QID attribute in the configuration fileindex
- Index of the attribute
java.lang.Exception
Method Detail |
---|
private void parseMapping(org.w3c.dom.Node map) throws java.lang.Exception
map
- Root node that contains (category, integer-value) pairs
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |