HashMap feideattribs = getAttribs();
    private Vector printTableToVector(Map userData, ResourceBundle bundle) {                /* Stores the data in a temporary vector */        Vector temp = new Vector();        for (Iterator iterator = feideattribs.keySet().iterator(); iterator.hasNext();) {            String key = (String) iterator.next();            AttribsData attribsData = (AttribsData) feideattribs.get(key);            temp.add(attribsData);        }        /* Sorts the description fields according to the xml file */        Object[] attribsArray = temp.toArray();        Arrays.sort(attribsArray, new AttribsData(0));        Vector out = new Vector();        /* Fetch the data to print */        int n = temp.size();        for (int i = 0; i < n; i++) {            AttribsData adata = (AttribsData) attribsArray[i];            String key2 = (String) adata.getData("key");            boolean hasuserdata = userData.containsKey(key2);            // Vector userdata = (Vector) userData.get(key2);            String[] userdata = (String[]) userData.get(key2);            String description = adata.getData("description");            String bundleid = adata.getData("resourcebundle");            String bundlename = (String) bundle.getString(bundleid);            /* see if resourcebundle has a name */            if (bundlename != null)                description = bundlename;            String link = adata.getData("link");            String relevance = adata.getData("relevance");            String userstring = "";            String relevance_string = null;            if (userdata != null) {                for (int j = 0; j < userdata.length; j++) {                    // log.logInfo("found data for '" + key2 + "' = " + userdata[j]);                    userstring += userdata[j];                    userstring += "<BR>";                }            }            /*             * Checks if the data is mandatory or optional for printing in the             * right language             */            if (relevance.equals("Mandatory")) {                // set to bundle name                relevance_string = "fd_mandatory";            } else {                // set to bundle name                relevance_string = "fd_optional";            }            out.add(link);            out.add(description);            out.add(userstring);            out.add(relevance_string);        }        return out;    }