}
private void fillSearch(Application application, Vector searchList,
Vector maps, Vector regexps) {
for (Iterator it = searchList.iterator(); it.hasNext();) {
Search s = (Search) it.next();
if(LOG.isDebugEnabled()) {
LOG.debug("Search mapper mapped: " + s.getName());
}
regexps.addAll(s.getRegexps());
Resource r = new Resource(s.getName(), s.getRoot(), null,
ConsoleCst.SEARCH_MAPPER_TYPE, s.getFilter(), s
.getSearchScope());
Vector inputAttr = new Vector();
Vector outputAttr = new Vector();
for (Iterator it2 = maps.iterator(); it2.hasNext();) {
Map m = (Map) it2.next();
if (s.getInput().equals(m.getName())) {
inputAttr = m.getAttributes();
} else if (s.getOutput().equals(m.getName())) {
outputAttr = m.getAttributes();
}
}
fillInAttributes(r, inputAttr, regexps);
fillOutAttributes(r, outputAttr, regexps);