org.codehaus.enunciate.template.freemarker
Class SimpleNameWithParamsMethod

java.lang.Object
  extended by org.codehaus.enunciate.template.freemarker.SimpleNameWithParamsMethod
All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

public class SimpleNameWithParamsMethod
extends java.lang.Object
implements freemarker.template.TemplateMethodModelEx

Gets the client-side component type for the specified classname.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
SimpleNameWithParamsMethod(ClassnameForMethod typeConversion)
           
 
Method Summary
 java.lang.Object exec(java.util.List list)
          Gets the client-side package for the type, type declaration, package, or their string values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNameWithParamsMethod

public SimpleNameWithParamsMethod(ClassnameForMethod typeConversion)
Method Detail

exec

public java.lang.Object exec(java.util.List list)
                      throws freemarker.template.TemplateModelException
Gets the client-side package for the type, type declaration, package, or their string values.

Specified by:
exec in interface freemarker.template.TemplateMethodModel
Specified by:
exec in interface freemarker.template.TemplateMethodModelEx
Parameters:
list - The arguments.
Returns:
The string value of the client-side package.
Throws:
freemarker.template.TemplateModelException