com.sun.facelets.tag
Interface TagDecorator

All Known Implementing Classes:
CompositeTagDecorator, HtmlDecorator

public interface TagDecorator

Provides the ability to completely change the Tag before it's processed for compiling with the associated TagHandler.

You could take <input type="text" /> and convert it to <h:inputText /> before compiling.

Version:
$Id: TagDecorator.java,v 1.2 2005/08/24 04:38:48 jhook Exp $
Author:
Jacob Hookom

Method Summary
 Tag decorate(Tag tag)
          If handled, return a new Tag instance, otherwise return null
 

Method Detail

decorate

Tag decorate(Tag tag)
If handled, return a new Tag instance, otherwise return null

Parameters:
tag - tag to be decorated
Returns:
a decorated tag, otherwise null


Copyright © 2005 All Rights Reserved.