KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jfun > yan > xml > nuts > optional > InjectionCase


1 package jfun.yan.xml.nuts.optional;
2
3 import jfun.yan.Component;
4 import jfun.yan.xml.nuts.MapEntry;
5
6 /**
7  * An injection case. Supports "type" and "injection" attributes.
8  * <p>
9  * @author Ben Yu
10  * Dec 17, 2005 12:33:53 PM
11  */

12 public class InjectionCase extends MapEntry {
13   public void setType(Class JavaDoc type){
14     super.setKey(type);
15   }
16   public void setInjection(Component inj){
17     super.setVal(inj);
18   }
19 }
20
Popular Tags