Interface CvTermSelectionHandler

  • All Known Implementing Classes:
    RemoveUserParams

    public interface CvTermSelectionHandler
    Interface for JxPath subtree selection handling. The argument is the valid JxPath selection consisting of pairs of pointers into the object hierarchy and the corresponding Parameter. Implementations of this interface can act as filters, removing pairs from the collection before returning it.
    Author:
    nilshoffmann
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      List<org.apache.commons.lang3.tuple.Pair<org.apache.commons.jxpath.Pointer,​Parameter>> handleSelection​(List<org.apache.commons.lang3.tuple.Pair<org.apache.commons.jxpath.Pointer,​Parameter>> selection)
      Handle the provided selection, e.g. by filtering it or by modifying elements therein.
    • Method Detail

      • handleSelection

        List<org.apache.commons.lang3.tuple.Pair<org.apache.commons.jxpath.Pointer,​Parameter>> handleSelection​(List<org.apache.commons.lang3.tuple.Pair<org.apache.commons.jxpath.Pointer,​Parameter>> selection)
        Handle the provided selection, e.g. by filtering it or by modifying elements therein.
        Parameters:
        selection - the selection to handle.
        Returns:
        the selection or any processed variant of it. Should never be null.