if (nextChild.getLocalName().equals("key")) {
key = (String) nextChild.readNextChild();
} else if (nextChild.getLocalName().equals("value")) {
value = (String) nextChild.readNextChild();
} else { // (nextChild.getLocalName().equals("type"))
type = (String) nextChild.readNextChild();
}
}
// add the entry to the typeMap
put(tMap, key, value, type);
}