⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test.java

📁 日常的办公系统 应用工作流框架等增加员工的基本信息、培训信息、奖罚信息、薪资信息
💻 JAVA
字号:
//// Test.java//// john.mettraux@openwfe.org//// generated with // jtmpl 1.1.01 2004/05/19 (john.mettraux@openwfe.org)//package openwfe.org.query._test;import openwfe.org.ApplicationContext;import openwfe.org.query.*;import openwfe.org.query.sets.*;import openwfe.org.query.item.*;import openwfe.org.query.impl.*;/** * no comment * * <p><font size=2>CVS Info : * <br>$Author: jmettraux $ * <br>$Id: Test.java,v 1.4 2005/05/17 16:40:56 jmettraux Exp $ </font> * * @author john.mettraux@openwfe.org */public class Test{    private final static org.apache.log4j.Logger log = org.apache.log4j.Logger        .getLogger(Test.class.getName());    public static void main (String[] args)        throws Exception    {        //        // init query map        //ApplicationContext con = new ApplicationContext();                java.util.Map params = new java.util.HashMap();        params.put            ("queryConfigurationFile",              "tst/query-config.xml");        XmlQueryMap queryMap = new XmlQueryMap();        queryMap.init("queryMap", null, params);        QueryItem qi =             queryMap.lookupQuery("tst/query-map.xml#Store.querystore#charly");        //log.debug("qi.class is "+qi.getClass().getName());        org.jdom.Element elt = new org.jdom.Element("toto");        elt.setAttribute("participantName", "role-bravo");        log.debug("validate returns "+qi.validate(elt));    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -