org.apache.velocity.test.view
Class TemplateNodeView

java.lang.Object
  extended by org.apache.velocity.test.view.TemplateNodeView

public class TemplateNodeView
extends Object

Simple class for dumping the AST for a template. Good for debugging and writing new directives.


Constructor Summary
TemplateNodeView(String template)
          Default constructor: sets up the Velocity Runtime, creates the visitor for traversing the node structure and then produces the visual representation by the visitation.
 
Method Summary
static void main(String[] args)
          For testing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateNodeView

public TemplateNodeView(String template)
Default constructor: sets up the Velocity Runtime, creates the visitor for traversing the node structure and then produces the visual representation by the visitation.

Method Detail

main

public static void main(String[] args)
For testing



Copyright © 2002 Apache Software Foundation. All Rights Reserved.