This project has retired. For details please refer to its Attic page.
TemplateAttributeRenderer (Tiles 2 2.1.4 API)

org.apache.tiles.renderer.impl
Class TemplateAttributeRenderer

Package class diagram package TemplateAttributeRenderer
java.lang.Object
  extended by org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer
      extended by org.apache.tiles.renderer.impl.TemplateAttributeRenderer
All Implemented Interfaces:
TilesApplicationContextAware, TilesRequestContextFactoryAware, AttributeEvaluatorAware, AttributeRenderer

public class TemplateAttributeRenderer
extends AbstractBaseAttributeRenderer

Renders an attribute that contains a reference to a template.

Since:
2.1.0
Version:
$Rev: 736275 $ $Date: 2009-01-21 10:58:20 +0100 (mer, 21 gen 2009) $

Field Summary
 
Fields inherited from class org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer
applicationContext, contextFactory, evaluator
 
Constructor Summary
TemplateAttributeRenderer()
           
 
Method Summary
 void write(Object value, Attribute attribute, TilesRequestContext request)
          Implement this method knowing that the attribute won't be null and it will be authorized.
 
Methods inherited from class org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer
getRequestContext, isPermitted, render, setApplicationContext, setEvaluator, setRequestContextFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateAttributeRenderer

public TemplateAttributeRenderer()
Method Detail

write

public void write(Object value,
                  Attribute attribute,
                  TilesRequestContext request)
           throws IOException
Implement this method knowing that the attribute won't be null and it will be authorized.

Specified by:
write in class AbstractBaseAttributeRenderer
Parameters:
value - The value of the attribute to be rendered.
attribute - The attribute to render.
request - The Tiles request object.
Throws:
IOException - If something goes wrong during rendition.


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.