question: protected void tagHandlerGeneralMethods ( ) throws Exception { writer . writeLineComment ( "General Methods" ) ; String rendererType = renderer . getRendererType ( ) ; String componentType = component . getComponentType ( ) ; writer . fwrite ( "public String getRendererType() {\n" ) ; writer . indent ( ) ; writer . fwrite ( "return " ) ; writer . write ( '\"' + rendererType + "\";\n" ) ; writer . outdent ( ) ; writer . fwrite ( "}\n\n" ) ; writer . fwrite ( "public String getComponentType() {\n" ) ; writer . indent ( ) ; writer . fwrite ( "return " ) ; if ( componentType . equals ( rendererType ) ) { writer . write ( "\"javax.faces.Html" + GeneratorUtil . stripJavaxFacesPrefix ( componentType ) + "\";\n" ) ; } else { writer . write ( "\"javax.faces.Html" + GeneratorUtil . stripJavaxFacesPrefix ( componentType ) + GeneratorUtil . stripJavaxFacesPrefix ( rendererType ) + "\";\n" ) ; } writer . outdent ( ) ; writer . fwrite ( "}\n\n" ) ; }
target:  Generate Tag Handler general methods from component properties and renderer attributes.