/* */ public void buildKeyIndex(String name, DOM dom) /* */ { /* 464 */ if (this._keyIndexes == null) this._keyIndexes = new Hashtable(); /* */ /* 466 */ KeyIndex index = (KeyIndex) this._keyIndexes.get(name); /* 467 */ if (index == null) { /* 468 */ this._keyIndexes.put(name, index = new KeyIndex(this._indexSize)); /* */ } /* 470 */ index.setDom(dom, dom.getDocument()); /* */ }
/* */ public void buildKeyIndex(String name, int node, Object value) /* */ { /* 449 */ if (this._keyIndexes == null) this._keyIndexes = new Hashtable(); /* */ /* 451 */ KeyIndex index = (KeyIndex) this._keyIndexes.get(name); /* 452 */ if (index == null) { /* 453 */ this._keyIndexes.put(name, index = new KeyIndex(this._indexSize)); /* */ } /* 455 */ index.add(value, node, this._currentRootForKeys); /* */ }