HierarchicalContainer Filtering - Including Children

Hi,

the hierarchical container has the option to include parents of an item with
setIncludeParentsWhenFiltering.
But how is it possible that the children of a filtered item are also included? Is there an easy way to do this or do I have to write my own filter? If so, what would be the starting to point to do this.