newInstance = getTypeHandled().newInstance();
ctx.recordObject(objID, newInstance);
return newInstance;
}
final InstantiationMapping cMapping = definition.getInstantiationMapping();
final Object[] parms = new Object[cMapping.getMappings().length];
final Class[] targetTypes = cMapping.getSignature();
int i = 0;
for (final Mapping mapping : cMapping.getMappings()) {
final Marshaller<Object> marshaller = ctx.getMarshallerInstance(mapping.getType().getFullyQualifiedName());
//noinspection unchecked
parms[i] = DataConversion.convert(
marshaller.demarshall(oMap.get(mapping.getKey()), ctx), targetTypes[i++]);
}