if(doc.getResourceType() == DocumentImpl.BINARY_FILE) { domDb.remove(doc.getAddress()); domDb.removeOverflowValue(((BinaryDocument)doc).getPage()); } else { NodeImpl node = (NodeImpl)doc.getFirstChild(); domDb.removeAll(node.getInternalAddress()); } return null; }
Value val = domDb.get(new NodeProxy((DocumentImpl) doc, gid)); if (val == null) { if(LOG.isDebugEnabled()) { LOG.debug("node " + gid + " not found in document " + ((DocumentImpl)doc).getDocId()); Thread.dumpStack(); } return null; } NodeImpl node = NodeImpl.deserialize( val.getData(), 0, val.getLength(), (DocumentImpl) doc); node.setGID(gid); node.setOwnerDocument(doc); node.setInternalAddress(val.getAddress()); return node; }
	            public Object start() {	                if(doc.getResourceType() == DocumentImpl.BINARY_FILE) {	                    domDb.remove(doc.getAddress());	                    domDb.removeOverflowValue(((BinaryDocument)doc).getPage());	                } else {	                    NodeImpl node = (NodeImpl)doc.getFirstChild();	                    domDb.removeAll(node.getInternalAddress());	                }	                return null;	            }