com.github.mustachejava.codes.ExtendNameCode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compiler Show documentation
Show all versions of compiler Show documentation
Implementation of mustache.js for Java
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 cf, Mustache mustache, String variable) {
super(templateContext, cf.getObjectHandler(), mustache, variable, "$");
}
public String getName() {
return name;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy