/** {@inheritDoc} */ protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject) throws UnmarshallingException { AffiliationDescriptor descriptor = (AffiliationDescriptor) parentSAMLObject; if (childSAMLObject instanceof Extensions) { descriptor.setExtensions((Extensions) childSAMLObject); } else if (childSAMLObject instanceof Signature) { descriptor.setSignature((Signature) childSAMLObject); } else if (childSAMLObject instanceof AffiliateMember) { descriptor.getMembers().add((AffiliateMember) childSAMLObject); } else if (childSAMLObject instanceof KeyDescriptor) { descriptor.getKeyDescriptors().add((KeyDescriptor) childSAMLObject); } else { super.processChildElement(parentSAMLObject, childSAMLObject); } }