// try for each key in TAG_MAP
Iterator it = TAG_MAP.keySet().iterator();
while (it.hasNext()) {
Integer key = (Integer) it.next();
int tag = key.intValue();
String tagName = (String) TAG_MAP.get(key);
try {
String value =
userData.getTextAsString (tag,
1,
IOConstants.langUnspecified);
System.out.println (tagName + ": " + value);
} catch (QTException qte) {} // no such tag
}