}
private void fillAdd(Application application, Vector addList, Vector maps,
Vector regexps) {
for (Iterator it = addList.iterator(); it.hasNext();) {
Add a = (Add) it.next();
if(LOG.isDebugEnabled()) {
LOG.debug("Add mapper mapped: " + a.getName());
}
regexps.addAll(a.getRegexps());
Resource r = new Resource(a.getName(), getBaseDn(a.getRoot()), getIdentifiant(a.getRoot()),
ConsoleCst.ADD_MAPPER_TYPE, null, null);
Vector inputAttr = new Vector();
Vector outputAttr = new Vector();
for (Iterator it2 = maps.iterator(); it2.hasNext();) {
Map m = (Map) it2.next();
if (a.getInput().equals(m.getName())) {
inputAttr = m.getAttributes();
} else if (a.getOutput().equals(m.getName())) {
outputAttr = m.getAttributes();
}
}
fillInAttributes(r, inputAttr, regexps);
fillOutAttributes(r, outputAttr, regexps);