com.saxonica.stream.feed

## Class NoOpenOrCloseFeed

- java.lang.Object
- - com.saxonica.stream.feed.ItemFeed
  - - com.saxonica.stream.feed.NoOpenOrCloseFeed

- All Implemented Interfaces:
    Feed

      public class NoOpenOrCloseFeed
      extends ItemFeed

  Created by IntelliJ IDEA. User: mike Date: 03/12/2012 Time: 19:09 To change this template use File | Settings | File Templates.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NoOpenOrCloseFeed(Expression exp, Feed parentFeed, Stack<XPathContext> contextStack)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `append(Item item)` Supply one item towards the streamed input of the expression
    `void` | `close()` Finish evaluating the expression.
    `void` | `open()` Start evaluating the expression.

    - ### Methods inherited from class com.saxonica.stream.feed.ItemFeed

      `getContext, getContextStack, getExpression, getPipelineConfiguration, getResult, setPipelineConfiguration`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NoOpenOrCloseFeed

          public NoOpenOrCloseFeed(Expression exp,
                           Feed parentFeed,
                           Stack<XPathContext> contextStack)

  - ### Method Detail

    - #### open

          public void open()

      Description copied from class: `ItemFeed`
      Start evaluating the expression. The default implementation does nothing.
      Specified by:
        `open` in interface `Feed`
      Overrides:
        `open` in class `ItemFeed`

    - #### 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 `Feed`
      Specified by:
        `append` in class `ItemFeed`
      Parameters:
        `item` - the item to be supplied
      Throws:
        `XPathException` - to report any failure

    - #### close

          public void close()

      Description copied from class: `ItemFeed`
      Finish evaluating the expression. The default implementation does nothing.
      Specified by:
        `close` in interface `Feed`
      Overrides:
        `close` in class `ItemFeed`

Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.