Class 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.
    • 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 encapsulated
        sKeys - the merge key definitions
        name - the merge source name
        context - the dynamic context, used for evaluating the merge keys for the item
        Throws:
        XPathException - if evaluation of a sort key fails