Permission perm =
perm =
	public Permission getPermissions(Collection coll) throws XMLDBException {		if (coll == null)			throw new XMLDBException(ErrorCodes.INVALID_RESOURCE, "collection is null");		try {			Vector params = new Vector();			params.addElement(((CollectionImpl) coll).getPath());			Hashtable result = (Hashtable) parent.getClient().execute("getPermissions", params);			Permission perm =				new Permission((String) result.get("owner"), (String) result.get("group"));			perm.setPermissions(((Integer) result.get("permissions")).intValue());			return perm;		} catch (XmlRpcException e) {			throw new XMLDBException(ErrorCodes.VENDOR_ERROR, e.getMessage(), e);		} catch (IOException e) {			throw new XMLDBException(ErrorCodes.VENDOR_ERROR, e.getMessage(), e);		}	}