public class ContentBasedTreeNodeFilter extends Object implements TreeNodeFilter
TreeNodeFilter
selects only treeNode containing
a StructureElement interesting w.r.t. a StructureElementFilter
Constructor and Description |
---|
ContentBasedTreeNodeFilter(StructureElementFilter elementFilter)
Constructor for ContentBasedTreeNodeFilter
|
Modifier and Type | Method and Description |
---|---|
boolean |
isNodeOfInterest(TreeNode node)
Returns whether
node must be selected or not according to a
policy specified by this object |
public ContentBasedTreeNodeFilter(StructureElementFilter elementFilter)
elementFilter
- a StructureElementFilter to be used for selecting tree nodes of
interest by the method isNodeOfInterest
public boolean isNodeOfInterest(TreeNode node)
TreeNodeFilter
node
must be selected or not according to a
policy specified by this objectisNodeOfInterest
in interface TreeNodeFilter
node
- a TreeNodenode
must be selected or not according to a
policy specified by this objectCopyright © 2016 Semantic Analytics Group @ Uniroma2. All rights reserved.