private static Collection<String> getStringValues(final List<?> items) {
        val list = new ArrayList<String>(items.size());
        items.forEach(d -> {
            if (d instanceof final XSURI value) {
                list.add(value.getURI());
            } else if (d instanceof final XSString value) {
                list.add(value.getValue());
            }
        });
        return list;
    }
Gets string values from the list of mdui objects.

@param items the items
@return the string values
support/cas-server-support-saml-mdui-core/src/main/java/org/apereo/cas/support/saml/mdui/SamlMetadataUIInfo.java