Package com.github.mustachejava.codes
Class ExtendNameCode
- java.lang.Object
-
- com.github.mustachejava.codes.DefaultCode
-
- com.github.mustachejava.codes.ExtendNameCode
-
- All Implemented Interfaces:
Code,java.lang.Cloneable
public class ExtendNameCode extends DefaultCode
Name a section: {{$name}}...{{/name}}
-
-
Field Summary
-
Fields inherited from class com.github.mustachejava.codes.DefaultCode
appended, binding, df, mustache, name, oh, returnThis, tc, type
-
-
Constructor Summary
Constructors Constructor Description ExtendNameCode(TemplateContext templateContext, DefaultMustacheFactory df, Mustache mustache, java.lang.String variable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()-
Methods inherited from class com.github.mustachejava.codes.DefaultCode
addScope, append, appendText, clone, clone, execute, filterText, get, getCodes, identity, init, invert, matchAppended, run, runIdentity, setCodes, tag
-
-
-
-
Constructor Detail
-
ExtendNameCode
public ExtendNameCode(TemplateContext templateContext, DefaultMustacheFactory df, Mustache mustache, java.lang.String variable)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceCode- Overrides:
getNamein classDefaultCode
-
-