Class NameForTypeDefinitionMethod

  • All Implemented Interfaces:
    freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

    public class NameForTypeDefinitionMethod
    extends Object
    implements freemarker.template.TemplateMethodModelEx
    Gets a C-style, unambiguous name for a given type definition.
    Author:
    Ryan Heaton
    • Constructor Detail

      • NameForTypeDefinitionMethod

        public NameForTypeDefinitionMethod​(String pattern,
                                           String projectLabel,
                                           Map<String,​String> namespaces2ids)
    • Method Detail

      • exec

        public Object exec​(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