net.sf.jelly.apt.freemarker.transforms
Class UnwrapIfPrimitiveTransform

java.lang.Object
  extended by net.sf.jelly.apt.freemarker.FreemarkerTransform<UnwrapIfPrimitiveStrategy>
      extended by net.sf.jelly.apt.freemarker.transforms.UnwrapIfPrimitiveTransform
All Implemented Interfaces:
freemarker.template.TemplateModel, freemarker.template.TemplateTransformModel

public class UnwrapIfPrimitiveTransform
extends FreemarkerTransform<UnwrapIfPrimitiveStrategy>

Unwrap body if type is primitive.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
UnwrapIfPrimitiveTransform(java.lang.String namespace)
           
 
Method Summary
 UnwrapIfPrimitiveStrategy newStrategy()
          Instantiate a new strategy instance.
 
Methods inherited from class net.sf.jelly.apt.freemarker.FreemarkerTransform
convertString, findSetter, getTransformName, getTransformNamespace, getWriter, setupStrategy, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnwrapIfPrimitiveTransform

public UnwrapIfPrimitiveTransform(java.lang.String namespace)
Method Detail

newStrategy

public UnwrapIfPrimitiveStrategy newStrategy()
Description copied from class: FreemarkerTransform
Instantiate a new strategy instance.

Specified by:
newStrategy in class FreemarkerTransform<UnwrapIfPrimitiveStrategy>
Returns:
The strategy.