Class XSLMergeKey

All Implemented Interfaces:
Source, SourceLocator, ActiveSource, GroundedValue, Item, MutableNodeInfo, NamespaceResolver, NodeInfo, Sequence, Location, SteppingNode, SiblingCountingNode, Locator

public class XSLMergeKey extends XSLSortOrMergeKey
An xsl:merge-key element in the stylesheet.
  • Constructor Details

    • XSLMergeKey

      public XSLMergeKey()
  • Method Details

    • prepareAttributes

      protected void prepareAttributes()
      Description copied from class: StyleElement
      Set the attribute list for the element. This is called to process the attributes (note the distinction from processAttributes in the superclass). Must be supplied in a subclass
      Overrides:
      prepareAttributes in class XSLSortOrMergeKey
    • getReturnedItemType

      protected ItemType getReturnedItemType()
      Determine the type of item returned by this instruction (only relevant if it is an instruction). Default implementation returns Type.ITEM, indicating that we don't know, it might be anything. Returns null in the case of an element such as xsl:sort or xsl:variable that can appear in a sequence constructor but contributes nothing to the result sequence.
      Returns:
      the item type returned
    • getErrorCode

      protected String getErrorCode()
      Overrides:
      getErrorCode in class XSLSortOrMergeKey