public class MustacheCompilerFactoryBean extends Object implements FactoryBean<com.samskivert.mustache.Mustache.Compiler>
@Bean
definition in Java it probably doesn't help to use this factory since the underlying
fluent API is actually richer.MustacheResourceTemplateLoader
Constructor and Description |
---|
MustacheCompilerFactoryBean() |
Modifier and Type | Method and Description |
---|---|
com.samskivert.mustache.Mustache.Compiler |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setCollector(com.samskivert.mustache.Mustache.Collector collector) |
void |
setDefaultValue(String defaultValue) |
void |
setDelims(String delims) |
void |
setEmptyStringIsFalse(Boolean emptyStringIsFalse) |
void |
setEscaper(com.samskivert.mustache.Mustache.Escaper escaper) |
void |
setFormatter(com.samskivert.mustache.Mustache.Formatter formatter) |
void |
setTemplateLoader(com.samskivert.mustache.Mustache.TemplateLoader templateLoader) |
public void setDelims(String delims)
public void setTemplateLoader(com.samskivert.mustache.Mustache.TemplateLoader templateLoader)
public void setFormatter(com.samskivert.mustache.Mustache.Formatter formatter)
public void setEscaper(com.samskivert.mustache.Mustache.Escaper escaper)
public void setCollector(com.samskivert.mustache.Mustache.Collector collector)
public void setDefaultValue(String defaultValue)
public void setEmptyStringIsFalse(Boolean emptyStringIsFalse)
public com.samskivert.mustache.Mustache.Compiler getObject() throws Exception
getObject
in interface FactoryBean<com.samskivert.mustache.Mustache.Compiler>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<com.samskivert.mustache.Mustache.Compiler>
public boolean isSingleton()
isSingleton
in interface FactoryBean<com.samskivert.mustache.Mustache.Compiler>
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.