java.lang.Object
org.apache.velocity.runtime.directive.Directive
org.apache.velocity.runtime.directive.Block
All Implemented Interfaces:
Cloneable, DirectiveConstants
Direct Known Subclasses:
BlockMacro, Define

public abstract class Block extends Directive
Directive that puts an unrendered AST block in the context under the specified key, postponing rendering until the reference is used and rendered.
Since:
1.7
Version:
$Id: Block.java 686842 2008-08-18 18:29:31Z nbubna $
Author:
Andrew Tetlaw, Nathan Bubna, Jarkko Viinamaki
  • Field Details

    • block

      protected Node block
    • log

      protected org.slf4j.Logger log
    • maxDepth

      protected int maxDepth
    • key

      protected String key
  • Constructor Details

    • Block

      public Block()
  • Method Details