void (final Element node) { removeAllExcludeEntryDescriptions(); for (final Element element : node.getChildren()) { String url = element.getAttributeValue(URL); if (url == null) continue; if (FILE.equals(element.getName())) { ExcludeEntryDescription excludeEntryDescription = new ExcludeEntryDescription(url, false, true, this); addExcludeEntryDescription(excludeEntryDescription); } if (DIRECTORY.equals(element.getName())) { boolean includeSubdirectories = Boolean.parseBoolean(element.getAttributeValue(INCLUDE_SUBDIRECTORIES)); ExcludeEntryDescription excludeEntryDescription = new ExcludeEntryDescription(url, includeSubdirectories, false,this); addExcludeEntryDescription(excludeEntryDescription); } } }