InspectorFactory[] inspectorFactories = InspectorRegistry.getInstance().getFactoriesOfType(
ResponseInspectorFactory.class);
for (InspectorFactory factory : inspectorFactories) {
ResponseInspectorFactory f = (ResponseInspectorFactory) factory;
XmlInspector inspector = (XmlInspector) f.createResponseInspector(this, modelItem);
if (inspector != null) {
addInspector((EditorInspector<T2>) inspector);
}
}
}