NodeList children = doc.getChildNodes(); NodeImpl node; for (int j = 0; j < children.getLength(); j++) { node = (NodeImpl) children.item(j);
if(doc.getResourceType() == DocumentImpl.BINARY_FILE) { domDb.remove(doc.getAddress()); domDb.removeOverflowValue(((BinaryDocument)doc).getPage()); } else { NodeImpl node = (NodeImpl)doc.getFirstChild();
					public Object start() {						NodeList children = doc.getChildNodes();						NodeImpl node;						for (int j = 0; j < children.getLength(); j++) {							node = (NodeImpl) children.item(j);							Iterator k =								getDOMIterator(									new NodeProxy(										doc,										node.getGID(),										node.getInternalAddress()));							removeNodes(k);						}						domDb.remove(doc.getAddress());						return null;					}