From: Wolfgang M. M. <wol...@us...> - 2004-08-11 12:47:12
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/dom In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18056/src/org/exist/dom Modified Files: NodeImpl.java Log Message: Some more smaller refactorings in the storage backend. Index: NodeImpl.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/dom/NodeImpl.java,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** NodeImpl.java 27 Jun 2004 21:10:07 -0000 1.26 --- NodeImpl.java 11 Aug 2004 12:47:03 -0000 1.27 *************** *** 30,33 **** --- 30,34 ---- import org.exist.storage.NodePath; import org.exist.storage.Signatures; + import org.exist.storage.store.StorageAddress; import org.w3c.dom.DOMException; import org.w3c.dom.Document; *************** *** 50,53 **** --- 51,55 ---- protected long gid; protected long internalAddress = -1; + protected StorageAddress absoluteAddress = null; protected short nodeType = 0; protected DocumentImpl ownerDocument = null; *************** *** 215,218 **** --- 217,224 ---- } + public StorageAddress getAbsoluteAddress() { + return absoluteAddress; + } + /** * @see org.w3c.dom.Node#getLastChild() *************** *** 477,480 **** --- 483,491 ---- } + public void setAbsoluteAddress(StorageAddress absoluteAddress) { + this.internalAddress = absoluteAddress.getPointer(); + this.absoluteAddress = absoluteAddress; + } + /** * Set the node name. |