org.richfaces.cdk.templatecompiler.statements
Class HelperMethodFactoryImpl

java.lang.Object
  extended by org.richfaces.cdk.templatecompiler.statements.HelperMethodFactoryImpl
All Implemented Interfaces:
HelperMethodFactory

public class HelperMethodFactoryImpl
extends java.lang.Object
implements HelperMethodFactory

Author:
asmirnov@exadel.com

Constructor Summary
HelperMethodFactoryImpl(org.richfaces.cdk.Logger log)
           
 
Method Summary
 JavaMethod getHelperMethod(HelperMethod helper)
           
 void initHelperMethods(FreeMarkerRenderer renderer, TypesFactory typesFactory)
          

Initialization code.

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelperMethodFactoryImpl

@Inject
public HelperMethodFactoryImpl(org.richfaces.cdk.Logger log)
Method Detail

initHelperMethods

@Inject
public void initHelperMethods(FreeMarkerRenderer renderer,
                                     TypesFactory typesFactory)

Initialization code. It should be called after field injection, so render kit utils class name should have proper value here.

Parameters:
renderer -
typesFactory -

getHelperMethod

public JavaMethod getHelperMethod(HelperMethod helper)
Specified by:
getHelperMethod in interface HelperMethodFactory


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.