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

org.apache.tiles.renderer.impl
Class UntypedAttributeRenderer

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

Deprecated. Use ChainedDelegateAttributeRenderer.

public class UntypedAttributeRenderer
extends AbstractBaseAttributeRenderer
implements TilesContainerAware

Renders an attribute that has no associated renderer.

Since:
2.1.0
Version:
$Rev: 821299 $ $Date: 2009-10-03 14:15:05 +0200 (sab, 03 ott 2009) $

Field Summary
 
Fields inherited from class org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer
applicationContext, attributeEvaluatorFactory, contextFactory
 
Constructor Summary
UntypedAttributeRenderer()
          Deprecated.  
 
Method Summary
 void setContainer(TilesContainer container)
          Deprecated. Sets the Tiles container.
 void write(Object value, Attribute attribute, TilesRequestContext request)
          Deprecated. 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, setAttributeEvaluatorFactory, setRequestContextFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UntypedAttributeRenderer

public UntypedAttributeRenderer()
Deprecated. 
Method Detail

setContainer

public void setContainer(TilesContainer container)
Deprecated. 
Sets the Tiles container.

Specified by:
setContainer in interface TilesContainerAware
Parameters:
container - The Tiles container.

write

public void write(Object value,
                  Attribute attribute,
                  TilesRequestContext request)
           throws IOException
Deprecated. 
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-2010 Apache Software Foundation. All Rights Reserved.