Interface ItemFactory

All Known Implementing Classes:
ItemFactoryImpl

public interface ItemFactory
Used to create ItemReaderContext which is used to create item readers. (xml readers)
  • Method Summary

    Modifier and Type
    Method
    Description
    create(@Nullable MenuItem parentItem)
    Create a new context by passing a parent menu item.
  • Method Details

    • create

      ItemReaderContext create(@Nullable @Nullable MenuItem parentItem)
      Create a new context by passing a parent menu item. With the context you are able to create a reader for a tag name. Readers are contributed by modules.
      Parameters:
      parentItem - if you create a root menu item, this can be null. otherwise not.
      Returns:
      a new item reader context for creating item readers