domIter = broker.getDOMIterator(p);
domIter = broker.getNodeIterator(p);
	protected void serializeToSAX(		NodeSet set,		int start,		int howmany,		long queryTime)		throws SAXException {		Iterator iter = set.iterator();		for (int i = 0; i < start - 1; i++)			iter.next();		if (!iter.hasNext())			return;		contentHandler.startDocument();		contentHandler.startPrefixMapping(			"exist",			EXIST_NS);		AttributesImpl attribs = new AttributesImpl();		attribs.addAttribute(			"",			"hitCount",			"hitCount",			"CDATA",			Integer.toString(set.getLength()));		if (queryTime >= 0)			attribs.addAttribute(				"",				"queryTime",				"queryTime",				"CDATA",				Long.toString(queryTime));		contentHandler.startElement(			EXIST_NS,			"result",			"exist:result",			attribs);		NodeProxy p;		long startTime = System.currentTimeMillis();		Iterator domIter;		for (int i = 0; i < howmany && iter.hasNext(); i++) {			p = (NodeProxy) iter.next();			if (p == null)				continue;			domIter = broker.getDOMIterator(p);			if (domIter == null)				continue;			serializeToSAX(null, domIter, p.doc, p.gid, true, p.matches);		}		contentHandler.endElement(			EXIST_NS,			"result",			"exist:result");		contentHandler.endDocument();	}