params.addElement(encoding); params.addElement(new Integer(indent));
params.addElement(properties);
	public Object getContent() throws XMLDBException {		if (content != null)			return content;		if (file != null)			return file;		byte[] data = null;		if (id == null) {			Vector params = new Vector();			params.addElement(path);			params.addElement(encoding);			params.addElement(new Integer(indent));			try {				data = (byte[]) parent.getClient().execute("getDocument", params);			} catch (XmlRpcException xre) {				throw new XMLDBException(ErrorCodes.INVALID_RESOURCE, xre.getMessage(), xre);			} catch (IOException ioe) {				throw new XMLDBException(ErrorCodes.VENDOR_ERROR, ioe.getMessage(), ioe);			}		} else {			Vector params = new Vector();			params.addElement(new Integer(handle));			params.addElement(new Integer(pos));			params.addElement(new Integer(indent));			params.addElement(encoding);			try {				data = (byte[]) parent.getClient().execute("retrieve", params);			} catch (XmlRpcException xre) {				throw new XMLDBException(ErrorCodes.INVALID_RESOURCE, xre.getMessage(), xre);			} catch (IOException ioe) {				throw new XMLDBException(ErrorCodes.VENDOR_ERROR, ioe.getMessage(), ioe);			}		}		try {			content = new String(data, encoding);		} catch (UnsupportedEncodingException ue) {			content = new String(data);		}		return content;	}