public class LoadPathEntry {
public static final String TYPE_PROJECT = "project";
-
+
protected IProject project;
+
protected String type;
public LoadPathEntry(IProject aProjectEntry) {
public IPath getPath() {
return project.getFullPath();
}
-
+
public IProject getProject() {
return project;
}
-
+
public String getType() {
return type;
}
-
+
public String toXML() {
StringBuffer buffer = new StringBuffer();
-
+
buffer.append("<pathentry type=\"");
buffer.append(type + "\" ");
buffer.append("path=\"" + getPath() + "\"/>");
-
+
return buffer.toString();
}
}