org.codehaus.enunciate.modules.c
Class NameForTypeDefinitionMethod
java.lang.Object
org.codehaus.enunciate.modules.c.NameForTypeDefinitionMethod
- All Implemented Interfaces:
- freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel
public class NameForTypeDefinitionMethod
- extends java.lang.Object
- implements freemarker.template.TemplateMethodModelEx
Gets a C-style, unambiguous name for a given type definition.
- Author:
- Ryan Heaton
| Fields inherited from interface freemarker.template.TemplateModel |
NOTHING |
|
Constructor Summary |
NameForTypeDefinitionMethod(java.lang.String pattern,
java.lang.String projectLabel,
java.util.Map<java.lang.String,java.lang.String> namespaces2ids)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameForTypeDefinitionMethod
public NameForTypeDefinitionMethod(java.lang.String pattern,
java.lang.String projectLabel,
java.util.Map<java.lang.String,java.lang.String> namespaces2ids)
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
calculateName
public java.lang.Object calculateName(TypeDefinition typeDefinition)