void (Element element) { for (Element optionElement : element.getChildren(ELEMENT_OPTION)) { String value = optionElement.getAttributeValue(ATTRIBUTE_VALUE); String name = optionElement.getAttributeValue(ATTRIBUTE_NAME); if (FILTER_NAME.equals(name)) { if (value != null) { myName = convertString(value); } } if (FILTER_DESCRIPTION.equals(name)) { myDescription = convertString(value); } if (FILTER_REGEXP.equals(name)) { myRegExp = convertString(value); } } }