org.apache.velocity.runtime.directive
Class Define.Block

java.lang.Object
  extended by org.apache.velocity.runtime.directive.Define.Block
All Implemented Interfaces:
Renderable
Enclosing class:
Define

public static class Define.Block
extends 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).


Constructor Summary
Define.Block(InternalContextAdapter context, Define parent)
           
 
Method Summary
 boolean render(InternalContextAdapter context, Writer writer)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Define.Block

public Define.Block(InternalContextAdapter context,
                    Define parent)
Method Detail

render

public boolean render(InternalContextAdapter context,
                      Writer writer)
Specified by:
render in interface Renderable

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2008 The Apache Software Foundation. All Rights Reserved.