org.apache.velocity.test.view
public class TemplateNodeView extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private SimpleNode |
document
Root of the AST node structure that results from
parsing a template.
|
private NodeViewMode |
visitor
Visitor used to traverse the AST node structure
and produce a visual representation of the
node structure.
|
Constructor and Description |
---|
TemplateNodeView(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
For testing
|
private SimpleNode document
private NodeViewMode visitor
Copyright ? 2002 Apache Software Foundation. All Rights Reserved.