Package org.apache.dvsl
Class TemplateHandler
- java.lang.Object
-
- org.apache.dvsl.TemplateHandler
-
public class TemplateHandler extends java.lang.ObjectCurrently 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.
-
-
Constructor Summary
Constructors Constructor Description TemplateHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidregisterMatch(java.lang.String xpath, org.apache.velocity.runtime.parser.node.SimpleNode node)(package private) booleanrender(DVSLNode node, org.apache.velocity.context.Context context, java.io.Writer writer)
-
-
-
Method Detail
-
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
-
-