org.milyn.templating.freemarker
Class NodeModelSerializer

java.lang.Object
  extended by org.milyn.templating.freemarker.NodeModelSerializer
All Implemented Interfaces:
freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel

public class NodeModelSerializer
extends Object
implements freemarker.template.TemplateDirectiveModel

Serialize a NodeModel variable to the template stream.

Author:
tom.fennelly@jboss.com

Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
NodeModelSerializer()
           
 
Method Summary
 void execute(freemarker.core.Environment environment, Map map, freemarker.template.TemplateModel[] templateModels, freemarker.template.TemplateDirectiveBody templateDirectiveBody)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeModelSerializer

public NodeModelSerializer()
Method Detail

execute

public void execute(freemarker.core.Environment environment,
                    Map map,
                    freemarker.template.TemplateModel[] templateModels,
                    freemarker.template.TemplateDirectiveBody templateDirectiveBody)
             throws freemarker.template.TemplateException,
                    IOException
Specified by:
execute in interface freemarker.template.TemplateDirectiveModel
Throws:
freemarker.template.TemplateException
IOException


Copyright © 2014. All Rights Reserved.