Class DelegatingFeed

  • All Implemented Interfaces:
    javax.xml.transform.Result, Receiver

    public abstract class DelegatingFeed
    extends ItemFeed
    A DelegatingFeed is an ItemFeed that delegates most of its work to a supplied Outputter. This allows standard Outputter code (for example, the WherePopulatedReceiver) to be used in a streaming pipeline.
    • Method Detail

      • getResult

        public ItemFeed getResult()
        Get the result, that is, the ItemFeed to which the items in the result of the expression should be supplied
        getResult in class ItemFeed
        the Outputter that consumes the results of this expression
      • append

        public void append​(Item item)
                    throws XPathException
        Description copied from class: ItemFeed
        Supply one item towards the streamed input of the expression
        Specified by:
        append in interface Receiver
        Specified by:
        append in class ItemFeed
        item - the item to be supplied
        XPathException - if the operation fails