NodeImpl node = NodeImpl.deserialize( val.getData(), 0, val.getLength(), (DocumentImpl) p.doc); node.setGID(p.gid); node.setOwnerDocument(p.doc); node.setInternalAddress(p.getInternalAddress()); return node;
return null;
			public Object start() {				Value val = domDb.get(p.getInternalAddress());				if (val == null) {					LOG.debug("node " + p.gid + " not found in document " +					        p.doc.getCollection().getName() + '/' + p.doc.getFileName());					Thread.dumpStack();					return null;				}				NodeImpl node =					NodeImpl.deserialize(						val.getData(),						0,						val.getLength(),						(DocumentImpl) p.doc);				node.setGID(p.gid);				node.setOwnerDocument(p.doc);				node.setInternalAddress(p.getInternalAddress());				return node;			}