/** * Create a {@link KeyIndexIterator} that iterates over the nodes that * result from a reference to the XSLT <code>key</code> function or * XPath <code>id</code> function. * * @param keyValue A string or iterator representing the key values or id * references * @param isKeyCall A <code>boolean</code> indicating whether the iterator * is being created for a reference <code>key</code> or * <code>id</code> */ public KeyIndexIterator getKeyIndexIterator(Object keyValue, boolean isKeyCall) { if (keyValue instanceof DTMAxisIterator) { return getKeyIndexIterator((DTMAxisIterator) keyValue, isKeyCall); } else { return getKeyIndexIterator(BasisLibrary.stringF(keyValue, _dom), isKeyCall); } }
/** * Create a {@link KeyIndexIterator} that iterates over the nodes that * result from a reference to the XSLT <code>key</code> function or * XPath <code>id</code> function. * * @param keyValue A string or iterator representing the key values or id * references * @param isKeyCall A <code>boolean</code> indicating whether the iterator * is being created for a reference <code>key</code> or * <code>id</code> */ public KeyIndexIterator getKeyIndexIterator(Object keyValue, boolean isKeyCall) { if (keyValue instanceof DTMAxisIterator) { return getKeyIndexIterator((DTMAxisIterator) keyValue, isKeyCall); } else { return getKeyIndexIterator(BasisLibrary.stringF(keyValue, _dom), isKeyCall); } }
/** * Create a {@link KeyIndexIterator} that iterates over the nodes that * result from a reference to the XSLT <code>key</code> function or * XPath <code>id</code> function. * * @param keyValue A string or iterator representing the key values or id * references * @param isKeyCall A <code>boolean</code> indicating whether the iterator * is being created for a reference <code>key</code> or * <code>id</code> */ public KeyIndexIterator getKeyIndexIterator(Object keyValue, boolean isKeyCall) { if (keyValue instanceof DTMAxisIterator) { return getKeyIndexIterator((DTMAxisIterator) keyValue, isKeyCall); } else { return getKeyIndexIterator(BasisLibrary.stringF(keyValue, _dom), isKeyCall); } }
/** * Create a {@link KeyIndexIterator} that iterates over the nodes that * result from a reference to the XSLT <code>key</code> function or * XPath <code>id</code> function. * * @param keyValue A string or iterator representing the key values or id * references * @param isKeyCall A <code>boolean</code> indicating whether the iterator * is being created for a reference <code>key</code> or * <code>id</code> */ public KeyIndexIterator getKeyIndexIterator(Object keyValue, boolean isKeyCall) { if (keyValue instanceof DTMAxisIterator) { return getKeyIndexIterator((DTMAxisIterator) keyValue, isKeyCall); } else { return getKeyIndexIterator(BasisLibrary.stringF(keyValue, _dom), isKeyCall); } }