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.

The runtime must provide a default implementation of this interface that performs the following actions in its decorate(javax.faces.view.facelets.Tag) method.

The Tag instance returned from this decoration process must ultimately be passed to a FaceletHandler instance as described in the spec prose document section titled, "Specification of the ViewDeclarationLanguage Implementation for Facelets for JSF 2.0".


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


Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms