code: protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject) throws UnmarshallingException {
      RequestedAttributes attributes = (RequestedAttributes) parentSAMLObject;
  
      if (childSAMLObject instanceof RequestedAttribute) {
        attributes.getRequestedAttributes().add((RequestedAttribute) childSAMLObject);
      }
      else {
        super.processChildElement(parentSAMLObject, childSAMLObject);
      }
    }
docs: {@inheritDoc}