ReflectionUtils.setField(binder, "dtObjectHandler", handler);
}
private void createModel(String path, Object object) throws Exception {
DocumentElement xmlElement = m_pathToElementMap.get(path);
XmlObjectInfo objectInfo =
XmlObjectUtils.createObject(
m_context,
object.getClass(),
new ElementCreationSupport(xmlElement));
GlobalStateXml.activate(objectInfo);
objectInfo.setObject(object);
m_pathToModelMap.put(path, objectInfo);
}