Interface FeatureTransformationService

All Superinterfaces:
BiFunction<InputStream,WfsMetadata,org.codice.ddf.spatial.ogc.wfs.catalog.WfsFeatureCollection>

public interface FeatureTransformationService extends BiFunction<InputStream,WfsMetadata,org.codice.ddf.spatial.ogc.wfs.catalog.WfsFeatureCollection>
The FeatureTransformationService aggregates the FeatureTransformer services. It splits the given WFS response into individual FeatureMembers and passes those to FeatureTransformer services. It passes the FeatureMember to FeatureTransformers in some implementation-dependent order until one of them returns something other than Optional.empty() or there are no FeatureTransformers left.

This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library.

  • Method Summary

    Modifier and Type
    Method
    Description
    org.codice.ddf.spatial.ogc.wfs.catalog.WfsFeatureCollection
    apply(InputStream featureCollection, WfsMetadata metadata)
     

    Methods inherited from interface java.util.function.BiFunction

    andThen
  • Method Details

    • apply

      org.codice.ddf.spatial.ogc.wfs.catalog.WfsFeatureCollection apply(InputStream featureCollection, WfsMetadata metadata)
      Specified by:
      apply in interface BiFunction<InputStream,WfsMetadata,org.codice.ddf.spatial.ogc.wfs.catalog.WfsFeatureCollection>
      Parameters:
      featureCollection - - the WFS response XML to be de-serialized.
      metadata - - describes the structure of the WFS response.
      Returns:
      a WfsFeatureCollection representing a response to either a 'hits' or 'results' request.