}
}
// get the names for this mapping
ClassCustom custom = m_custom.addClassCustomization(map.getClassName());
QName tname = map.getTypeQName();
if (tname == null) {
NamespaceElement dfltns = map.getDefinitions().getElementDefaultNamespace();
if (dfltns != null) {
tname = new QName(dfltns.getUri(), custom.getTypeQName().getName());
} else {
tname = custom.getTypeQName();
}
}
QName oname = null;
String name = map.getName();
if (name == null) {
oname = custom.getElementQName();
} else {
oname = new QName(map.getNamespace().getUri(), name);
}
// add new mapping detail based on information found
MappingDetail detail = new MappingDetail(map, haschild, hastext, base, tname, oname);
m_mappingMap.put(map, detail);