Class ItemWithMergeKeys


  • public class ItemWithMergeKeys
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      ItemWithMergeKeys​(Item bItem, SortKeyDefinitionList sKeys, java.lang.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

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • baseItem

        Item baseItem
      • sortKeyValues

        java.util.List<AtomicValue> sortKeyValues
      • sourceName

        java.lang.String sourceName
    • Constructor Detail

      • ItemWithMergeKeys

        ItemWithMergeKeys​(Item bItem,
                          SortKeyDefinitionList sKeys,
                          java.lang.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