Class JMustacheCompilerFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<com.samskivert.mustache.Mustache.Compiler>, org.springframework.beans.factory.InitializingBean

    public class JMustacheCompilerFactoryBean
    extends org.springframework.beans.factory.config.AbstractFactoryBean<com.samskivert.mustache.Mustache.Compiler>
    implements org.springframework.beans.factory.FactoryBean<com.samskivert.mustache.Mustache.Compiler>
    Factory used to create instance of Mustache.Compiler. Bean instance is thread safe.
    • Constructor Detail

      • JMustacheCompilerFactoryBean

        public JMustacheCompilerFactoryBean()
        Create factory with default settings.
    • Method Detail

      • getObjectType

        public Class<?> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<com.samskivert.mustache.Mustache.Compiler>
        Specified by:
        getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<com.samskivert.mustache.Mustache.Compiler>
      • createInstance

        protected com.samskivert.mustache.Mustache.Compiler createInstance()
        Specified by:
        createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<com.samskivert.mustache.Mustache.Compiler>
      • setZeroIsFalse

        public void setZeroIsFalse​(boolean zeroIsFalse)
        Parameters:
        zeroIsFalse - zeroIsFalse
      • setEscapeHTML

        public void setEscapeHTML​(boolean escapeHTML)
        Parameters:
        escapeHTML - escapeHTML
      • setStrictSections

        public void setStrictSections​(boolean strictSections)
        Parameters:
        strictSections - strictSections
      • setStandardsMode

        public void setStandardsMode​(boolean standardsMode)
        Parameters:
        standardsMode - standardsMode