freemarker.template.compiler
Class TemplateElement

java.lang.Object
  |
  +--freemarker.template.compiler.TemplateObject
        |
        +--freemarker.template.compiler.TemplateElement
Direct Known Subclasses:
Function

public abstract class TemplateElement
extends freemarker.template.compiler.TemplateObject

Objects that represent elements in the compiled tree representation of the template necessarily descend from this abstract class.


Method Summary
abstract  void process(TemplateModelRoot modelRoot, java.io.Writer out)
          Processes the contents of this TemplateElement and outputs the resulting text to a Writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

process

public abstract void process(TemplateModelRoot modelRoot,
                             java.io.Writer out)
                      throws TemplateException,
                             java.io.IOException
Processes the contents of this TemplateElement and outputs the resulting text to a Writer.
Parameters:
modelRoot - the root node of the data model.
out - a Writer to send the output to.