Interface ProductNodeFilter<T extends ProductNode>


public interface ProductNodeFilter<T extends ProductNode>
A filter for abstract product nodes.

Instances of this interface may be passed to the ProductNodeList.createSubset(ProductNodeFilter) method.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(T productNode)
    Tests whether or not the specified abstract product node should be included in a product node list.
  • Method Details

    • accept

      boolean accept(T productNode)
      Tests whether or not the specified abstract product node should be included in a product node list.
      Parameters:
      productNode - the product node to be tested
      Returns:
      true if and only if product node should be included