Class Block.Reference
- java.lang.Object
-
- org.apache.velocity.runtime.directive.Block.Reference
-
- All Implemented Interfaces:
Renderable
- Enclosing class:
- Block
public static class Block.Reference extends java.lang.Object implements Renderable
actual class placed in the context, holds the context being used for the render, as well as the parent (which already holds everything else we need).
-
-
Constructor Summary
Constructors Constructor Description Reference(InternalContextAdapter context, Block parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
render(InternalContextAdapter context, java.io.Writer writer)
Render the AST of this block into the writer using the context.java.lang.String
toString()
-
-
-
Constructor Detail
-
Reference
public Reference(InternalContextAdapter context, Block parent)
-
-
Method Detail
-
render
public boolean render(InternalContextAdapter context, java.io.Writer writer)
Render the AST of this block into the writer using the context.- Specified by:
render
in interfaceRenderable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-