1 26 27 28 package com.bull.eclipse.jonas.utils.xml; 29 30 import org.xml.sax.SAXParseException ; 32 33 34 43 44 public abstract class DescriptionGroupDesc implements DescriptionGroup { 45 46 49 protected String description = null; 50 51 54 protected String displayName = null; 55 56 59 protected String smallIcon = null; 60 61 64 protected String largeIcon = null; 65 66 70 public String getDisplayName() { 71 return displayName; 72 } 73 74 78 public String getDescription() { 79 return description; 80 } 81 82 86 public String getSmallIcon() { 87 return smallIcon; 88 } 89 90 94 public String getLargeIcon() { 95 return largeIcon; 96 } 97 98 102 public abstract String toString(); 103 104 112 protected static String getSAXMsg(String fileName, 113 SAXParseException exception, String msg) { 114 String ret = fileName + ":" + exception.getLineNumber() + ":" 115 + exception.getColumnNumber() + ": "; 116 ret += msg; 117 return ret; 118 } 119 120 } 121 | Popular Tags |