Package net.sf.saxon.expr.sort
Class ItemWithMergeKeys
java.lang.Object
net.sf.saxon.expr.sort.ItemWithMergeKeys
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
FieldsModifier and TypeFieldDescription(package private) Item
(package private) List<AtomicValue>
(package private) String
-
Constructor Summary
ConstructorsConstructorDescriptionItemWithMergeKeys
(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 -
Method Summary
-
Field Details
-
baseItem
Item baseItem -
sortKeyValues
List<AtomicValue> sortKeyValues -
sourceName
String sourceName
-
-
Constructor Details
-
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
-