org.codehaus.enunciate.modules.objc
Class NameForEnumConstantMethod

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

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

Gets a C-style, unambiguous name for an enum contant.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
NameForEnumConstantMethod(java.lang.String pattern, java.lang.String projectLabel, java.util.Map<java.lang.String,java.lang.String> namespaces2ids, java.util.Map<java.lang.String,java.lang.String> packages2ids)
           
 
Method Summary
 java.lang.Object exec(java.util.List list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameForEnumConstantMethod

public NameForEnumConstantMethod(java.lang.String pattern,
                                 java.lang.String projectLabel,
                                 java.util.Map<java.lang.String,java.lang.String> namespaces2ids,
                                 java.util.Map<java.lang.String,java.lang.String> packages2ids)
Method Detail

exec

public java.lang.Object exec(java.util.List list)
                      throws freemarker.template.TemplateModelException
Specified by:
exec in interface freemarker.template.TemplateMethodModel
Specified by:
exec in interface freemarker.template.TemplateMethodModelEx
Throws:
freemarker.template.TemplateModelException