}
for (Object ele : document.getRootElement().elements("update")) {
Element element = (Element) ele;
Update updateObj = SqlmappingconfigFactory.eINSTANCE.createUpdate();
updateObj.setId(element.attributeValue("id"));
updateObj.setParameterType(element.attributeValue("parameterType"));
updateObj.setRemark(element.attributeValue("remark"));
updateObj.setSqlValue(element.getText());
String classPathString=element.attributeValue("classPath");
if(StringUtil.isNotEmpty(classPathString)){
Class<?> classObj=ReflectUtil.loadClass(classPathString);
if(classObj!=null){
updateObj.setClassPath(classPathString);
ruleClassMap.put(element.attributeValue("id"), classObj);
}
}
ruleMap.put(updateObj.getId(), updateObj);
}
for (Object ele : document.getRootElement().elements("select")) {
Element element = (Element) ele;
Select selectObj = SqlmappingconfigFactory.eINSTANCE.createSelect();