for (Element entryElement: elements) {
if ("entry".equals(XmlUtil.getTagName(entryElement))) {
// key
Element keyElement = XmlUtil.element(entryElement, "key");
Element keyDescriptorElement = (keyElement!=null ? XmlUtil.element(keyElement) : null);
Descriptor keyDescriptor = (Descriptor) parser.parseElement(keyDescriptorElement, parse, WireParser.CATEGORY_DESCRIPTOR);
// value
Element valueElement = XmlUtil.element(entryElement, "value");
Element valueDescriptorElement = (valueElement!=null ? XmlUtil.element(valueElement) : null);
Descriptor valueDescriptor = (Descriptor) parser.parseElement(valueDescriptorElement, parse, WireParser.CATEGORY_DESCRIPTOR);
if ( (keyDescriptor!=null)
&& (valueDescriptor!=null)
) {
keyDescriptors.add(keyDescriptor);