public final TagDecorator createTagDecorator() { if (this.decorators.size() > 0) { return new CompositeTagDecorator(this.decorators.toArray(new TagDecorator[this.decorators.size()])); } return EMPTY_DECORATOR; }
public final TagDecorator createTagDecorator() { if (this.decorators.size() > 0) { return new CompositeTagDecorator(this.decorators.toArray(new TagDecorator[this.decorators.size()])); } return EMPTY_DECORATOR; }
public final TagDecorator createTagDecorator() { if (this.decorators.size() > 0) { return new BaseMultipleTagDecorator(new DefaultTagDecorator(), new CompositeTagDecorator(this.decorators.toArray( new TagDecorator[this.decorators.size()]))); } // JSF 2.2 has always enabled the default tag decorator. return new BaseTagDecorator(new DefaultTagDecorator()); //return EMPTY_DECORATOR; }