public Pair<View, View> getView(final String type) {
        return registeredViews.get(type);
    }
Gets view.

@param type the type
@return the view
support/cas-server-support-validation-core/src/main/java/org/apereo/cas/web/ServiceValidationViewFactory.java