Class GroupNode

    • Constructor Detail

      • GroupNode

        public GroupNode​(GroupNode parent,
                         StartGroupData data)
        Creates a new GroupNode object with a given StartGroupData resource and parent.
        Parameters:
        parent - the parent of this new group node (use null for top-level groups).
        data - the data for this new group node.
    • Method Detail

      • isUnit

        public boolean isUnit()
        Description copied from interface: IGroupOrUnitNode
        Indicates if this node is a UnitNode.
        Specified by:
        isUnit in interface IGroupOrUnitNode
        Returns:
        true if it is a UnitNode, false if it is a GroupNode.
      • getParent

        public GroupNode getParent()
        Gets the parent for this group node.
        Returns:
        the parent for this group node, or null for a top-level group.
      • createEventIterator

        public Iterator<Event> createEventIterator​(Stack<URIContext> uriContext)
        Creates an iterator for the events in this group node.
        Parameters:
        uriContext - the URI context.
        Returns:
        a new iterator for the events in this group node.