org.apache.myfaces.view.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.3 2008/07/13 19:01:35 rlubke 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 © 2010 The Apache Software Foundation. All Rights Reserved.