- Type Parameters:
C- The context type of the elements this
E- The element type this
- All Superinterfaces:
public interface HolisticTransformer<C,
extends Transformer<C, E>
A transformer that takes its input altogether, transforms it, and pushes the results into the given sink. To make a custom
HolisticTransformeravailable in Cytoscape, create an
HolisticTransformerFactorythat constructs the custom
HolisticTransformer, and register the factory as an OSGi service. To make the transformer show up in the UI, create a
TransformerViewFactoryand register it as an OSGi service. The
TransformerViewFactoryneed to have the same id.
Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>filter-api</artifactId> </dependency>
applyTransforms the elements in
context. The results of the transformation are collected by
context- the context object of the transformed element.
source- provides the elements to transform.
sink- collects the results of the transformation.