public interface PresentationDecoratorFactory<D>
ArticlePresentationManager
and
PresentationPoolManager
In the context of ArticlePresentationManager
<D> will be PresentationArticle
.
A simple implementation of this factory creating a PresentationArticle
decorator would be:
class MyArticleDecoratorFactory implements PresentationDecoratorFactory {
Modifier and Type | Method and Description |
---|---|
D |
decorate(D pToBeDecorated)
Returns a decorated version of pToBeDecorated
|
D decorate(D pToBeDecorated) throws Exception
pToBeDecorated
- the object to decoratenull
. A null implementation
of this method should return pToBeDecorated instead null
Exception
- if decorating pToBeDecorated failed.© 1998- 2018 Stibo DX