KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jfun > yan > xml > ComponentDecorator


1 /**
2  *
3  */

4 package jfun.yan.xml;
5
6 import jfun.yan.Component;
7
8 /**
9  * A decorator strategy for Component.
10  * <p>
11  * @author Ben Yu
12  * Nov 11, 2005 1:38:23 PM
13  */

14 public interface ComponentDecorator{
15   /**
16    * Apply the decoration.
17    * @param c the decoratee.
18    * @return the decorated Component.
19    */

20   Component decorate(Component c);
21 }
Popular Tags