Class clz = (Class) clzMethod[0];
String result = null;
try {
result = (String) method.invoke(clz.newInstance(), iDocument);
} catch (Exception ex) {
throw new OException("Failed to invoke method " + method.getName(), ex);
}
if (result == null) {
return RESULT.RECORD_NOT_CHANGED;
}
return RESULT.valueOf(result);