Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Constructor Summary
`TemplateHandler()`

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`

Field Detail

### astmap

    private java.util.Map astmap

### xpathList

    private java.util.List xpathList

Constructor Detail

### TemplateHandler

    public TemplateHandler()

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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2001-2007 Apache Software Foundation