Class Tags.TagsWrapper

  • All Implemented Interfaces:
    freemarker.template.ObjectWrapper, freemarker.template.ObjectWrapperAndUnwrapper, freemarker.template.utility.ObjectWrapperWithAPISupport, freemarker.template.utility.RichObjectWrapper, freemarker.template.utility.WriteProtectable
    Enclosing class:
    Tags

    public static class Tags.TagsWrapper
    extends freemarker.ext.beans.BeansWrapper
    Script and stylesheet lists are wrapped with a specialized BeansWrapper that exposes certain write methods, instead of the configuration's object wrapper, which doesn't. The templates can then add stylesheets and scripts to the lists by calling their add() methods.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class freemarker.ext.beans.BeansWrapper

        freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision, freemarker.ext.beans.BeansWrapper.MethodAppearanceDecisionInput
    • Field Summary

      • Fields inherited from class freemarker.ext.beans.BeansWrapper

        EXPOSE_ALL, EXPOSE_NOTHING, EXPOSE_PROPERTIES_ONLY, EXPOSE_SAFE
      • Fields inherited from interface freemarker.template.ObjectWrapper

        BEANS_WRAPPER, DEFAULT_WRAPPER, SIMPLE_WRAPPER
      • Fields inherited from interface freemarker.template.ObjectWrapperAndUnwrapper

        CANT_UNWRAP_TO_TARGET_CLASS
    • Constructor Summary

      Constructors 
      Constructor Description
      TagsWrapper()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void finetuneMethodAppearance​(Class cls, Method method, freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision decision)  
      • Methods inherited from class freemarker.ext.beans.BeansWrapper

        checkModifiable, clearClassIntrospecitonCache, clearClassIntrospectionCache, coerceBigDecimal, coerceBigDecimals, coerceBigDecimals, finalizeConstruction, getDefaultDateType, getDefaultInstance, getEnumModels, getExposureLevel, getIncompatibleImprovements, getInstance, getMemberAccessPolicy, getMethodAppearanceFineTuner, getModelFactory, getOuterIdentity, getPreferIndexedReadMethod, getStaticModels, getTreatDefaultMethodsAsBeanMembers, getUseCache, invokeMethod, isClassIntrospectionCacheRestricted, isExposeFields, isSimpleMapWrapper, isStrict, isWriteProtected, newInstance, normalizeIncompatibleImprovementsVersion, readField, removeFromClassIntrospectionCache, setDefaultDateType, setExposeFields, setExposureLevel, setMemberAccessPolicy, setMethodAppearanceFineTuner, setMethodsShadowItems, setNullModel, setOuterIdentity, setPreferIndexedReadMethod, setSimpleMapWrapper, setStrict, setTreatDefaultMethodsAsBeanMembers, setUseCache, toPropertiesString, toString, tryUnwrapTo, unwrap, unwrap, wrap, wrap, wrapAsAPI, writeProtect
    • Constructor Detail

      • TagsWrapper

        public TagsWrapper()
    • Method Detail

      • finetuneMethodAppearance

        protected void finetuneMethodAppearance​(Class cls,
                                                Method method,
                                                freemarker.ext.beans.BeansWrapper.MethodAppearanceDecision decision)
        Overrides:
        finetuneMethodAppearance in class freemarker.ext.beans.BeansWrapper