public class IndexedValue extends SearchableValue
end, value
Modifier and Type | Method and Description |
---|---|
boolean |
containsNode(NodeInfo sought)
Determine whether the value contains a particular node.
|
SequenceIterator |
findItems(Expression use,
SequenceIterator values,
boolean convertUntypedToOther,
boolean firstOnly,
AtomicComparer comparer,
XPathContext context)
Retrieve items that match a given index value
|
effectiveBooleanValue, getLength, getStringValue, getUnicodeStringValue, head, itemAt, iterate, makeSearchableValue, reduce, subsequence
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asIterable, concatenate, materialize, toShortString
makeRepeatable
public SequenceIterator findItems(Expression use, SequenceIterator values, boolean convertUntypedToOther, boolean firstOnly, AtomicComparer comparer, XPathContext context) throws XPathException
findItems
in class SearchableValue
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 occurspublic boolean containsNode(NodeInfo sought)
sought
- the sought-after nodeCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.