net.sf.jelly.apt.tags
Class UnwrapIfPrimitiveTag

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

public class UnwrapIfPrimitiveTag
extends APTJellyTag<UnwrapIfPrimitiveStrategy>

Unwrap 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
UnwrapIfPrimitiveTag()
           
 
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

UnwrapIfPrimitiveTag

public UnwrapIfPrimitiveTag()
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.