Class GroupStartingTester

java.lang.Object
com.saxonica.ee.stream.adjunct.GroupBoundaryTester
com.saxonica.ee.stream.adjunct.GroupStartingTester

public class GroupStartingTester extends GroupBoundaryTester
This class implements GroupingFeed when the group-starting-with option is used. It contains the logic to decide whether an item starts a new group
  • Constructor Details

  • Method Details

    • notifyItem

      public boolean notifyItem() throws XPathException
      Signal an item that matches the selection has been found.
      Specified by:
      notifyItem in class GroupBoundaryTester
      Returns:
      true if this item is the start of a new group
      Throws:
      XPathException - May be raised if a dynamic error occurs