org.apache.myfaces.view.facelets.tag
Class CompositeTagDecorator
java.lang.Object
org.apache.myfaces.view.facelets.tag.CompositeTagDecorator
- All Implemented Interfaces:
- TagDecorator
public final class CompositeTagDecorator
- extends Object
- implements TagDecorator
A TagDecorator that is composed of 1 or more TagDecorator instances. It uses the chain of responsibility pattern to
stop processing if any of the TagDecorators return a value other than null.
- Version:
- $Id: CompositeTagDecorator.java,v 1.5 2008/07/13 19:01:35 rlubke Exp $
- Author:
- Jacob Hookom
Method Summary |
Tag |
decorate(Tag tag)
Uses the chain of responsibility pattern to stop processing if any of the TagDecorators return a value other than
null. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeTagDecorator
public CompositeTagDecorator(TagDecorator[] decorators)
decorate
public Tag decorate(Tag tag)
- Uses the chain of responsibility pattern to stop processing if any of the TagDecorators return a value other than
null.
- Specified by:
decorate
in interface TagDecorator
- See Also:
org.apache.myfaces.view.facelets.tag.TagDecorator#decorate(org.apache.myfaces.view.facelets.tag.Tag)
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.