net.sf.jelly.apt.tags
Class WrapIfPrimitiveTag

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by net.sf.jelly.apt.APTJellyTag<WrapIfPrimitiveStrategy>
          extended by net.sf.jelly.apt.tags.WrapIfPrimitiveTag
All Implemented Interfaces:
TemplateBlock, org.apache.commons.jelly.Tag

public class WrapIfPrimitiveTag
extends APTJellyTag<WrapIfPrimitiveStrategy>

Wrap body if type is primitive.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from class net.sf.jelly.apt.APTJellyTag
strategy
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
WrapIfPrimitiveTag()
           
 
Method Summary
 void setType(com.sun.mirror.type.TypeMirror type)
          The type to check for primitiveness.
 
Methods inherited from class net.sf.jelly.apt.APTJellyTag
doTag, getContext, getStrategy
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrapIfPrimitiveTag

public WrapIfPrimitiveTag()
Method Detail

setType

public void setType(com.sun.mirror.type.TypeMirror type)
The type to check for primitiveness.

Parameters:
type - The type to check for primitiveness.