Package net.sf.saxon.expr.sort
Class ItemWithMergeKeys
- java.lang.Object
-
- net.sf.saxon.expr.sort.ItemWithMergeKeys
-
public class ItemWithMergeKeys extends Object
A class representing an item together with its merge keys and the name of the merge source object from which it derived, suitable for encapsulation as an ObjectValue. The input sequences are mapped to sequences of these items, and the merge keys are then stripped off before applying the merge action.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Item
baseItem
(package private) List<AtomicValue>
sortKeyValues
(package private) String
sourceName
-
Constructor Summary
Constructors Constructor Description ItemWithMergeKeys(Item bItem, SortKeyDefinitionList sKeys, String name, XPathContext context)
Create an item, calculate with its merge keys, and construct the composite item in which the merge key values are saved
-
-
-
Field Detail
-
baseItem
Item baseItem
-
sortKeyValues
List<AtomicValue> sortKeyValues
-
sourceName
String sourceName
-
-
Constructor Detail
-
ItemWithMergeKeys
ItemWithMergeKeys(Item bItem, SortKeyDefinitionList sKeys, String name, XPathContext context) throws XPathException
Create an item, calculate with its merge keys, and construct the composite item in which the merge key values are saved- Parameters:
bItem
- the item to be encapsulatedsKeys
- the merge key definitionsname
- the merge source namecontext
- the dynamic context, used for evaluating the merge keys for the item- Throws:
XPathException
- if evaluation of a sort key fails
-
-