1 6 package org.jfox.ejb.meta; 7 8 import java.io.Serializable ; 9 10 import org.jfox.ioc.util.XMLUtils; 11 import org.w3c.dom.Node ; 12 13 16 17 public abstract class Descriptor implements Serializable { 18 protected String description = ""; 19 20 protected Descriptor() { 21 22 } 23 24 public String getDescription() { 25 return description; 26 } 27 28 public void setDescription(String description) { 29 this.description = description; 30 } 31 32 public void processXML(Node node) throws EJBDescriptionException { 33 setDescription(XMLUtils.getChildNodeValueOf(node, "description")); 34 } 35 36 public static void main(String [] args) { 37 38 } 39 } 40 41 | Popular Tags |