00001
00028 package org.objectweb.jonas_lib.deployment.api;
00029
00030
00031 import org.xml.sax.SAXParseException;
00032
00033
00041 public abstract class AbsDeploymentDesc implements DeploymentDesc {
00042
00043
00047 protected String displayName = null;
00048
00049
00054 public String getDisplayName() {
00055 return displayName;
00056 }
00057
00062 public abstract String toString();
00063
00072 protected static String getSAXMsg(String fileName,
00073 SAXParseException exception, String msg) {
00074 String ret = fileName + ":" + exception.getLineNumber() + ":"
00075 + exception.getColumnNumber() + ": ";
00076 ret += msg;
00077 return ret;
00078 }
00079
00080 }