public static boolean hasViewer ( String type ) { return s_viewers . containsKey ( type ) || type . endsWith ( "+xml" ) && s_viewers . containsKey ( "text/xml" ) ; }
Can the factory provide a viewer for the given type?