NodeImpl node = (NodeImpl)doc.getFirstChild(); domDb.removeAll(node.getInternalAddress());              return null; }
try { Value ref = new NodeRef(doc.getDocId()); IndexQuery query = new IndexQuery(IndexQuery.TRUNC_RIGHT, ref); domDb.remove(query, null); domDb.flush(); } catch (BTreeException e) { LOG.warn("btree error while removing document", e); } catch (DBException e) { LOG.warn("db error while removing document", e); } catch (IOException e) { LOG.warn("io error while removing document", e); } catch (TerminatedException e) { LOG.warn("method terminated", e); } return null; }
				public Object start() {				    NodeImpl node = (NodeImpl)doc.getFirstChild();					domDb.removeAll(node.getInternalAddress());//					NodeList children = doc.getChildNodes();//					NodeImpl node;//					for (int i = 0; i < children.getLength(); i++) {//						node = (NodeImpl) children.item(i);//						Iterator j =//							getDOMIterator(//								new NodeProxy(//									doc,//									node.getGID(),//									node.getInternalAddress()));//						removeNodes(j);//					}//					domDb.remove(doc.getAddress());					return null;				}