*
* @return the related mapping resolver implementation
*/
public IXMappingResolver readXMappingResolver(String implType)
{
XMappingResolverFactory xMappingResolverFactory = XStructurePlugin.getInstance()
.getXMappingResolverFactory();
IXMappingResolver xMappingResolver = xMappingResolverFactory.getMappingResolver(implType);
if (xMappingResolver == null)
{
// TODO display message to user
// TODO check if implementation is supported
throw new ConversionException("Unkown implementation type : " + implType
+ ". Use one of these : " + xMappingResolverFactory.getRegisterTypes());
}
return xMappingResolver;
}