EventLogExternalOptions (@NotNull Element root) { myOptions.clear(); for (Element option : root.getChildren(OPTION)) { String name = option.getAttributeValue(OPTION_NAME); String value = option.getAttributeValue(OPTION_VALUE); if (name != null && value != null) { myOptions.put(name, value); } } return this; }