long queryTime, String encoding)
long queryTime)
	protected String printAll(		DBBroker broker,		NodeList resultSet,		int howmany,		int start,		boolean prettyPrint,		long queryTime,		String encoding)		throws Exception {		if (resultSet.getLength() == 0)			return "<?xml version=\"1.0\"?>\n"				+ "<exist:result xmlns:exist=\"http://exist.sourceforge.net/NS/exist\" "				+ "hitCount=\"0\"/>";		Node n;		Node nn;		Element temp;		DocumentImpl owner;		if (howmany > resultSet.getLength() || howmany == 0)			howmany = resultSet.getLength();		if (start < 1 || start > resultSet.getLength())			throw new EXistException("start parameter out of range");		Serializer serializer = broker.getSerializer();		Map properties = new TreeMap();		properties.put(Serializer.ENCODING, encoding);		properties.put(Serializer.PRETTY_PRINT, Boolean.toString(prettyPrint));		serializer.setProperties(properties);		return serializer.serialize((NodeSet) resultSet, start, howmany, queryTime);	}