public class SimpleCompilerListener extends Object implements CompilerListener
This class implements all methods of interface CompilerListener, but do not do anything else. It can be used as base class to save implementation of unneeded methods.
BEGIN, END
Constructor and Description |
---|
SimpleCompilerListener()
Creates a newly object.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPack(PackInfo pack,
int packNumber,
Packager packager) |
void |
beforePack(PackInfo pack,
int packNumber,
Packager packager) |
void |
notify(String position,
int state,
net.n3.nanoxml.XMLElement data,
Packager packager)
This method will be called from each step of packaging.
|
Map |
reviseAdditionalDataMap(Map existentDataMap,
net.n3.nanoxml.XMLElement element)
This method is called from the compiler for each file (or dir) parsing.
|
public SimpleCompilerListener()
public Map reviseAdditionalDataMap(Map existentDataMap, net.n3.nanoxml.XMLElement element) throws CompilerException
CompilerListener
reviseAdditionalDataMap
in interface CompilerListener
existentDataMap
- attribute set with previos setted attributeselement
- current file related XML nodeCompilerException
public void afterPack(PackInfo pack, int packNumber, Packager packager) throws CompilerException
CompilerException
public void beforePack(PackInfo pack, int packNumber, Packager packager)
public void notify(String position, int state, net.n3.nanoxml.XMLElement data, Packager packager)
CompilerListener
notify
in interface CompilerListener
position
- name of the calling method, e.g. "addVariables"state
- BEGIN or ENDdata
- current install datapackager
- current packager objectWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses