org.apache.velocity.test.view
public class TemplateNodeView extends Object
Field Summary | |
---|---|
SimpleNode | document
Root of the AST node structure that results from
parsing a template. |
NodeViewMode | visitor
Visitor used to traverse the AST node structure
and produce a visual representation of the
node structure. |
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 |