code: protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject) throws UnmarshallingException {
      MetadataList mdl = (MetadataList) parentSAMLObject;
  
      if (childSAMLObject instanceof MetadataLocation) {
        mdl.getMetadataLocations().add((MetadataLocation) childSAMLObject);
      }    
      else {
        super.processChildElement(parentSAMLObject, childSAMLObject);
      }
    }
docs: {@inheritDoc}