svn-gvsig-desktop / branches / F2 / extensions / extJCRS / install / IzPack / src / lib / com / izforge / izpack / event / SimpleCompilerListener.java @ 20036
History | View | Annotate | Download (2.68 KB)
1 | 20036 | dguerrero | /*
|
---|---|---|---|
2 | * $Id: SimpleCompilerListener.java 5819 2006-06-14 07:29:09Z cesar $
|
||
3 | * IzPack
|
||
4 | * Copyright (C) 2004 Klaus Bartz
|
||
5 | *
|
||
6 | * File : SimpleCompilerListener.java
|
||
7 | * Description : Custom action listener for compile time.
|
||
8 | * Author's email : klaus.bartz@coi.de
|
||
9 | * Author's Website : http://www.coi.de
|
||
10 | *
|
||
11 | * This program is free software; you can redistribute it and/or
|
||
12 | * modify it under the terms of the GNU General Public License
|
||
13 | * as published by the Free Software Foundation; either version 2
|
||
14 | * of the License, or any later version.
|
||
15 | *
|
||
16 | * This program is distributed in the hope that it will be useful,
|
||
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
19 | * GNU General Public License for more details.
|
||
20 | *
|
||
21 | * You should have received a copy of the GNU General Public License
|
||
22 | * along with this program; if not, write to the Free Software
|
||
23 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||
24 | */
|
||
25 | |||
26 | package com.izforge.izpack.event; |
||
27 | |||
28 | import java.util.Map; |
||
29 | |||
30 | import com.izforge.izpack.compiler.CompilerException; |
||
31 | import com.izforge.izpack.compiler.PackInfo; |
||
32 | import com.izforge.izpack.compiler.Packager; |
||
33 | |||
34 | import net.n3.nanoxml.XMLElement; |
||
35 | |||
36 | |||
37 | /**
|
||
38 | * <p>This class implements all methods of interface
|
||
39 | * CompilerListener, but do not do anything else.
|
||
40 | * It can be used as base class to save implementation
|
||
41 | * of unneeded methods.</p>
|
||
42 | *
|
||
43 | *
|
||
44 | * @author Klaus Bartz
|
||
45 | *
|
||
46 | */
|
||
47 | public class SimpleCompilerListener implements CompilerListener |
||
48 | { |
||
49 | |||
50 | /**
|
||
51 | * Creates a newly object.
|
||
52 | */
|
||
53 | public SimpleCompilerListener()
|
||
54 | { |
||
55 | super();
|
||
56 | } |
||
57 | |||
58 | /* (non-Javadoc)
|
||
59 | * @see com.izforge.izpack.compiler.CompilerListener#reviseAttributSetFile(java.util.Map, net.n3.nanoxml.XMLElement)
|
||
60 | */
|
||
61 | public Map reviseAdditionalDataMap(Map existentDataMap, XMLElement element) |
||
62 | throws CompilerException
|
||
63 | { |
||
64 | return null; |
||
65 | } |
||
66 | |||
67 | /* (non-Javadoc)
|
||
68 | * @see com.izforge.izpack.compiler.CompilerListener#AfterPack(com.izforge.izpack.compiler.Compiler.Pack, int, com.izforge.izpack.compiler.Packager)
|
||
69 | */
|
||
70 | public void afterPack(PackInfo pack, int packNumber, Packager packager) |
||
71 | throws CompilerException
|
||
72 | { |
||
73 | } |
||
74 | |||
75 | /* (non-Javadoc)
|
||
76 | * @see com.izforge.izpack.compiler.CompilerListener#BeforePack(com.izforge.izpack.compiler.Compiler.Pack, int, com.izforge.izpack.compiler.Packager)
|
||
77 | */
|
||
78 | public void beforePack(PackInfo pack, int packNumber, Packager packager) |
||
79 | { |
||
80 | } |
||
81 | |||
82 | |||
83 | /* (non-Javadoc)
|
||
84 | * @see com.izforge.izpack.compiler.CompilerListener#notify(java.lang.String, int, net.n3.nanoxml.XMLElement, com.izforge.izpack.compiler.Packager)
|
||
85 | */
|
||
86 | public void notify(String position, int state, XMLElement data, Packager packager) |
||
87 | { |
||
88 | } |
||
89 | |||
90 | } |