ontopoly.utils
Class SchemaOnlyFilter

java.lang.Object
  extended by ontopoly.utils.SchemaOnlyFilter
All Implemented Interfaces:
DeciderIF

public class SchemaOnlyFilter
extends java.lang.Object
implements DeciderIF

INTERNAL: Filters out instances from the topic map so that only the Ontopoly meta-ontology and the ontology remain.


Field Summary
protected  TypeHierarchyUtils thutils
           
 
Constructor Summary
SchemaOnlyFilter()
           
 
Method Summary
protected  boolean includeAssociation(AssociationIF assoc)
           
protected  boolean includeTopic(TopicIF topic)
           
 boolean ok(java.lang.Object object)
          PUBLIC: Returns true if the object is accepted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thutils

protected TypeHierarchyUtils thutils
Constructor Detail

SchemaOnlyFilter

public SchemaOnlyFilter()
Method Detail

ok

public boolean ok(java.lang.Object object)
Description copied from interface: DeciderIF
PUBLIC: Returns true if the object is accepted.

Specified by:
ok in interface DeciderIF

includeTopic

protected boolean includeTopic(TopicIF topic)

includeAssociation

protected boolean includeAssociation(AssociationIF assoc)


Copyright © 2000-2012 Ontopia.