01: /*
02: * Copyright (C) 2005-2007 JasperSoft http://www.jaspersoft.com
03: *
04: * This program is free software; you can redistribute it and/or modify
05: * it under the terms of the GNU General Public License as published by
06: * the Free Software Foundation; either version 2 of the License, or
07: * (at your option) any later version.
08: *
09: * This program is distributed WITHOUT ANY WARRANTY; and without the
10: * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11: * See the GNU General Public License for more details.
12: *
13: * You should have received a copy of the GNU General Public License
14: * along with this program; if not, see http://www.gnu.org/licenses/gpl.txt
15: * or write to:
16: *
17: * Free Software Foundation, Inc.,
18: * 59 Temple Place - Suite 330,
19: * Boston, MA USA 02111-1307
20: *
21: *
22: * JRXMLDataSourcePlugin.java
23: *
24: * Created on March 28, 2007, 11:19 PM
25: *
26: * To change this template, choose Tools | Template Manager
27: * and open the template in the editor.
28: */
29:
30: package it.businesslogic.ireport.plugin.jrx;
31:
32: import it.businesslogic.ireport.gui.MainFrame;
33: import it.businesslogic.ireport.gui.queryexecuters.QueryExecuterDef;
34: import it.businesslogic.ireport.plugin.IReportPlugin;
35:
36: /**
37: *
38: * @author gtoffoli
39: */
40: public class JRXMLDataSourcePlugin extends IReportPlugin {
41:
42: /**
43: * Creates a new instance of JRXMLDataSourcePlugin
44: */
45: public JRXMLDataSourcePlugin() {
46: MainFrame
47: .getMainInstance()
48: .addConnectionImplementation(
49: "it.businesslogic.ireport.plugin.jrx.JRXMLDataSourceConnection");
50: QueryExecuterDef qed = new QueryExecuterDef("xpath2",
51: "com.jaspersoft.jrx.query.JRXPathQueryExecuterFactory");
52: MainFrame.getMainInstance().addQueryExecuterDef(qed, true);
53: }
54:
55: public void call() {
56: }
57:
58: }
|