public final class CompositeTagDecorator extends Object implements TagDecorator
Constructor and Description |
---|
CompositeTagDecorator(TagDecorator[] decorators) |
Modifier and Type | Method and Description |
---|---|
Tag |
decorate(Tag tag)
Uses the chain of responsibility pattern to stop processing if any of
the TagDecorators return a value other than null.
|
public CompositeTagDecorator(TagDecorator[] decorators)
public Tag decorate(Tag tag)
decorate
in interface TagDecorator
tag
- tag to be decoratedCopyright © 1997–2019 Eclipse Foundation. All rights reserved.