/**
*
*/
package com.pingan.drlgen.service;
import com.pingan.drlgen.model.DrlFile;
import com.pingan.drlgen.model.RuleExpression;
/**
* @author Administrator
*
*/
public class Test {
/**
*
*/
public Test() {
}
/**
* 测试入口
*
* @param args
* @throws Exception
*/
public static void main(String[] args) throws Exception {
RuleExpressionService reService = new RuleExpressionService();
RuleExpression ruleExpression = reService
.getRuleExpFromXmlFile("C:/Users/Administrator/workspace/drl_generator/resources/xml/Expression1.xml");
DrlFileService drlFileService = new DrlFileService();
DrlFile drlFile = drlFileService.generateDrlFile(ruleExpression);
// 1、多值实现;2、值节点的类型处理;3、XML文件生成;4、DRL调用执行;
}
}