00001
00028 package org.objectweb.jonas_lib.deployment.api;
00029
00030
00031 import org.xml.sax.SAXParseException;
00032
00033
00044 public abstract class DescriptionGroupDesc implements DescriptionGroup {
00045
00049 protected String description = null;
00050
00054 protected String displayName = null;
00055
00059 protected String smallIcon = null;
00060
00064 protected String largeIcon = null;
00065
00070 public String getDisplayName() {
00071 return displayName;
00072 }
00073
00078 public String getDescription() {
00079 return description;
00080 }
00081
00086 public String getSmallIcon() {
00087 return smallIcon;
00088 }
00089
00094 public String getLargeIcon() {
00095 return largeIcon;
00096 }
00097
00102 public abstract String toString();
00103
00112 protected static String getSAXMsg(String fileName,
00113 SAXParseException exception, String msg) {
00114 String ret = fileName + ":" + exception.getLineNumber() + ":"
00115 + exception.getColumnNumber() + ": ";
00116 ret += msg;
00117 return ret;
00118 }
00119
00120 }