}
}
private static void fetchTasksByTagName(String tagName, Element rootElement, List<SkinConfigTask> tasks) {
NodeList nodes = rootElement.getElementsByTagName(tagName);
SkinConfigTask task;
for (int i = 0; i < nodes.getLength(); i++) {
task = (SkinConfigTask) elemtToTask(tagName);
if (task != null) {
task.binding((Element) nodes.item(i));
tasks.add(task);
}
}
}