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