try {
obj = Class.forName(compClass).newInstance();
} catch (Exception e) {
throw new FixFlowException("",e);
}
ISvgComponent comp = null;
if(obj instanceof ISvgComponent)
comp = (ISvgComponent)obj;
else
throw new FixFlowException(compClass+"没有继承自组件类ISvgComponent!");
result = comp.createComponent(svgTo);
return result;
}