org.apache.velocity.runtime.directive
Class Define.Block
java.lang.Object
org.apache.velocity.runtime.directive.Define.Block
- All Implemented Interfaces:
- Renderable
- Enclosing class:
- Define
public static class Define.Block
- extends java.lang.Object
- implements Renderable
actual class placed in the context, holds the context and writer
being used for the render, as well as the parent (which already holds
everything else we need).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Define.Block
public Define.Block(InternalContextAdapter context,
Define parent)
render
public boolean render(InternalContextAdapter context,
java.io.Writer writer)
- Specified by:
render
in interface Renderable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object