net.sf.jelly.apt.strategies
Interface TemplateStrategy<B extends TemplateBlock>

All Known Implementing Classes:
AnnotationFilterableDeclarationLoopStrategy, AnnotationValueStrategy, ConstructorDeclarationLoopStrategy, DeclarationLoopStrategy, ExecutableDeclarationLoopStrategy, FieldDeclarationLoopStrategy, FileStrategy, IfHasAnnotationStrategy, IfHasDeclarationStrategy, ImportedTypeDeclarationLoopStrategy, JavaSourceStrategy, MemberDeclarationLoopStrategy, MethodDeclarationLoopStrategy, NestedTypeDeclarationLoopStrategy, PackageDeclarationLoopStrategy, ParameterDeclarationLoopStrategy, PrimitiveWrapperStrategy, PropertyDeclarationLoopStrategy, TemplateBlockStrategy, TemplateLoopStrategy, TemplateOutputRedirectionStrategy, TemplateStrategyControl, TemplateValueStrategy, ThrownTypeLoopStrategy, TypeDeclarationLoopStrategy, UnwrapIfPrimitiveStrategy, WrapIfPrimitiveStrategy

public interface TemplateStrategy<B extends TemplateBlock>

A strategy for using template output.

Author:
Ryan Heaton

Method Summary
 void invoke(B block, TemplateOutput<B> output, TemplateModel model)
          Invoke the strategy on a template block with the specified output, given a model.
 

Method Detail

invoke

void invoke(B block,
            TemplateOutput<B> output,
            TemplateModel model)
            throws java.io.IOException,
                   TemplateException
Invoke the strategy on a template block with the specified output, given a model.

Parameters:
block - The template block.
output - The output.
model - The data model.
Throws:
java.io.IOException
TemplateException