KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfox > ejb > meta > Descriptor


1 /* JFox, the OpenSource J2EE Application Server
2  *
3  * Distributable under GNU LGPL license by gun.org
4  * more details please visit http://www.huihoo.org/jfox
5  */

6 package org.jfox.ejb.meta;
7
8 import java.io.Serializable JavaDoc;
9
10 import org.jfox.ioc.util.XMLUtils;
11 import org.w3c.dom.Node JavaDoc;
12
13 /**
14  * @author <a HREF="mailto:young_yy@hotmail.com">Young Yang</a>
15  */

16
17 public abstract class Descriptor implements Serializable JavaDoc {
18     protected String JavaDoc description = "";
19
20     protected Descriptor() {
21
22     }
23
24     public String JavaDoc getDescription() {
25         return description;
26     }
27
28     public void setDescription(String JavaDoc description) {
29         this.description = description;
30     }
31
32     public void processXML(Node JavaDoc node) throws EJBDescriptionException {
33         setDescription(XMLUtils.getChildNodeValueOf(node, "description"));
34     }
35
36     public static void main(String JavaDoc[] args) {
37
38     }
39 }
40
41
Popular Tags