Class RenderSubContentTransform

  • All Implemented Interfaces:
    freemarker.template.TemplateModel, freemarker.template.TemplateTransformModel

    public class RenderSubContentTransform
    extends java.lang.Object
    implements freemarker.template.TemplateTransformModel
    RenderSubContentTransform - Freemarker Transform for Content rendering This transform cannot be called recursively (at this time).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String module  
      • Fields inherited from interface freemarker.template.TemplateModel

        NOTHING
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static java.lang.String getArg​(java.util.Map<java.lang.String,​java.lang.Object> args, java.lang.String key, freemarker.core.Environment env)
      Deprecated.
      use FreeMarkerWorker.getArg()
      static java.lang.String getArg​(java.util.Map<java.lang.String,​java.lang.Object> args, java.lang.String key, java.util.Map<java.lang.String,​java.lang.Object> ctx)
      Deprecated.
      use FreeMarkerWorker.getArg()
      java.io.Writer getWriter​(java.io.Writer out, java.util.Map args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
    • Constructor Detail

      • RenderSubContentTransform

        public RenderSubContentTransform()
    • Method Detail

      • getArg

        @Deprecated
        public static java.lang.String getArg​(java.util.Map<java.lang.String,​java.lang.Object> args,
                                              java.lang.String key,
                                              freemarker.core.Environment env)
        Deprecated.
        use FreeMarkerWorker.getArg()

        Does a conditional search to return a value for a parameter with the passed name. Looks first to see if it was passed as an argument to the transform. Secondly, it looks to see if it is passed as a parameter in the template context object.

        Note that this is different from the getArg method of EditRenderDataResourceTransform, which checks the request object instead of the template context object.

      • getArg

        @Deprecated
        public static java.lang.String getArg​(java.util.Map<java.lang.String,​java.lang.Object> args,
                                              java.lang.String key,
                                              java.util.Map<java.lang.String,​java.lang.Object> ctx)
        Deprecated.
        use FreeMarkerWorker.getArg()
      • getWriter

        public java.io.Writer getWriter​(java.io.Writer out,
                                        java.util.Map args)
        Specified by:
        getWriter in interface freemarker.template.TemplateTransformModel