Interface ObjectExtractor<C,O>

Type Parameters:
C - container type
O - extracted object type (i.e. pageObject)
All Known Implementing Classes:
ComponentPageObjectExtractor, PageObjectExtractor, ScriptExtractor, WebbpmProcessScriptExtractor

public interface ObjectExtractor<C,O>
Base interface for extractors that extract sub objects (i.e. extracting from page for pageObject converters) Supported container types are those for which either a FileReader or an extractor exists.
Author:
krylov
  • Method Summary

    Modifier and Type
    Method
    Description
    extract(C container)
    Extract objects from a container object
     
  • Method Details

    • getContainerType

      Class<C> getContainerType()
      Returns:
      class representing container type
    • extract

      Stream<O> extract(C container)
      Extract objects from a container object
      Parameters:
      container - container object
      Returns:
      stream of contained objects