public interface CompilerListener
Implementations of this class are used to add extensions to the packs at compilation.
Modifier and Type | Method and Description |
---|---|
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.
|
static final int BEGIN
static final int END
Map reviseAdditionalDataMap(Map existentDataMap, net.n3.nanoxml.XMLElement element) throws CompilerException
existentDataMap
- attribute set with previos setted attributeselement
- current file related XML nodeCompilerException
void notify(String position, int state, net.n3.nanoxml.XMLElement data, Packager packager)
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