for (int i = 0; i < nodeList.getLength(); i++) {
Element fileElem = (Element) nodeList.item(i);
String path = getPath(fileElem, metadata);
String writer = getWriter(fileElem, metadata);
List<String> args = getArgs(fileElem, metadata);
dynamicConfigFiles.add(new DynamicConfigFile(path, writer, args
.toArray(new String[0])));
}
}
return dynamicConfigFiles;
}