All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.mustachejava.codes.ExtendNameCode Maven / Gradle / Ivy

There is a newer version: 0.9.14
Show newest version
package com.github.mustachejava.codes;

import com.github.mustachejava.DefaultMustacheFactory;
import com.github.mustachejava.Mustache;
import com.github.mustachejava.TemplateContext;

/**
 * Name a section: {{$name}}...{{/name}}
 */
public class ExtendNameCode extends DefaultCode {
  public ExtendNameCode(TemplateContext templateContext, DefaultMustacheFactory df, Mustache mustache, String variable) {
    super(templateContext, df, mustache, variable, "$");
  }

  public String getName() {
    return name;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy