org.apache.dvsl
Class TemplateHandler
java.lang.Object
org.apache.dvsl.TemplateHandler
public class TemplateHandler
- extends java.lang.Object
Currently provides the match rule accumulation
as well as the AST storage and rendering
Rule stuff might be replaced with the dom4j RuleManager
- Author:
- Geir Magnusson Jr.
Field Summary |
private java.util.Map |
astmap
|
private java.util.List |
xpathList
|
Method Summary |
void |
registerMatch(java.lang.String xpath,
org.apache.velocity.runtime.parser.node.SimpleNode node)
|
(package private) boolean |
render(DVSLNode node,
org.apache.velocity.context.Context context,
java.io.Writer writer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
astmap
private java.util.Map astmap
xpathList
private java.util.List xpathList
TemplateHandler
public TemplateHandler()
registerMatch
public void registerMatch(java.lang.String xpath,
org.apache.velocity.runtime.parser.node.SimpleNode node)
render
boolean render(DVSLNode node,
org.apache.velocity.context.Context context,
java.io.Writer writer)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright (c) 2001-2007 Apache Software Foundation