net.sf.jelly.apt
Class APTJellyTag<S extends TemplateStrategy>

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by net.sf.jelly.apt.APTJellyTag<S>
All Implemented Interfaces:
TemplateBlock, org.apache.commons.jelly.Tag
Direct Known Subclasses:
AnnotationValueTag, DeclarationLoopTag, FileTag, ForAllThrownTypesTag, IfHasAnnotationTag, IfHasDeclarationTag, JavaSourceTag, PrimitiveWrapperTag, UnwrapIfPrimitiveTag, WrapIfPrimitiveTag

public abstract class APTJellyTag<S extends TemplateStrategy>
extends org.apache.commons.jelly.TagSupport
implements TemplateBlock

Tag support for jelly tags.

Author:
Ryan Heaton

Field Summary
protected  S strategy
           
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
protected APTJellyTag(S strategy)
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 APTJellyContext getContext()
          Get the context.
 S getStrategy()
          The strategy for this tag.
 
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
 

Field Detail

strategy

protected final S extends TemplateStrategy strategy
Constructor Detail

APTJellyTag

protected APTJellyTag(S strategy)
Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.JellyTagException
Specified by:
doTag in interface org.apache.commons.jelly.Tag
Throws:
org.apache.commons.jelly.JellyTagException

getStrategy

public S getStrategy()
The strategy for this tag.

Returns:
The strategy.

getContext

public APTJellyContext getContext()
Get the context.

Specified by:
getContext in interface org.apache.commons.jelly.Tag
Overrides:
getContext in class org.apache.commons.jelly.TagSupport
Returns:
The context.