Protégé-OWL 3.3.1

edu.stanford.smi.protegex.owl.ui.explorer
Interface ExplorerFilter

All Known Implementing Classes:
DefaultExplorerFilter, HiddenClassesFilter

public interface ExplorerFilter

An interface for objects that define the policy by which child nodes are added to an ExplorerNode. Objects of this type essentially determine whether a child node shall appear or not, and whether asserted or inferred class relationships shall be taken into account.

Author:
Holger Knublauch

Method Summary
 boolean getUseInferredSuperclasses()
          Checks if the tree should display inferred relationships instead of asserted ones.
 boolean isValidChild(RDFSClass parentClass, RDFSClass childClass)
          Checks whether a given superclass (childClass) shall be be displayed as a child of a given subclass node (parentClass).
 

Method Detail

getUseInferredSuperclasses

boolean getUseInferredSuperclasses()
Checks if the tree should display inferred relationships instead of asserted ones.

Returns:
true if inferred superclasses shall be displayed

isValidChild

boolean isValidChild(RDFSClass parentClass,
                     RDFSClass childClass)
Checks whether a given superclass (childClass) shall be be displayed as a child of a given subclass node (parentClass).

Parameters:
parentClass - the class displayed by the parent node
childClass - the class displayed by the potential child node
Returns:
true if childClass shall be used as child node for parentClass

Protégé-OWL 3.3.1

Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.