private static View findNewsView ( HtmlRenderer htmlRenderer ) throws ServletException { // Find the news view, which this RSS extends and iteroperates with View view = htmlRenderer . getViewsByName ( ) . get ( NewsView . VIEW_NAME ) ; if ( view == null ) throw new ServletException ( "View not found: " + NewsView . VIEW_NAME ) ; return view ; }
Finds the news view .