javax.faces.view.facelets
Interface TagDecorator


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.


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 2002-2009 Sun Microsystems, Inc. All Rights Reserved.