public class IndexedValue<T extends Item<?>> extends SearchableValue<T>
end, value
Modifier and Type | Method and Description |
---|---|
SequenceIterator<T> |
findItems(Expression use,
SequenceIterator<? extends AtomicValue> values,
boolean convertUntypedToOther,
boolean firstOnly,
AtomicComparer comparer,
XPathContext context)
Retrieve items that match a given index value
|
effectiveBooleanValue, getLength, getStringValue, getStringValueCS, head, itemAt, iterate, makeSearchableValue, reduce, subsequence
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asIterable, iterator, materialize, toShortString
makeRepeatable
public SequenceIterator<T> findItems(Expression use, SequenceIterator<? extends AtomicValue> values, boolean convertUntypedToOther, boolean firstOnly, AtomicComparer comparer, XPathContext context) throws XPathException
findItems
in class SearchableValue<T extends Item<?>>
use
- the expression whose value is to be matchedvalues
- the set of values to be foundconvertUntypedToOther
- true if untypedAtomic values are to be converted to the
type of the other operandfirstOnly
- true if only the first matching item is requiredcomparer
- AtomicComparer used to compare values for equality (encapsulates a collation
if necessary)context
- the dynamic evaluation context @return an iterator over the items that match the specified valuesXPathException
- if an error occursCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.