public String[] getData(String type) {
		if (dataValues == null)
			return null;
		if (type.equalsIgnoreCase("types")) {
			String[] info = new String[2];
			info[0] = "types";
			info[1] = "";
			Enumeration e = (dataValues.keys());
			while (e.hasMoreElements())
				info[1] += "," + e.nextElement();
			if (info[1].length() > 0)
				info[1] = info[1].substring(1);
			return info;
		}
		return (String[]) dataValues.get(type);
	}