Alignment API and Server 4.2.${version.update}

fr.inrialpes.exmo.ontowrap.util
Class EntityFilter<T>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<T>
          extended by fr.inrialpes.exmo.ontowrap.util.FilteredSet<T>
              extended by fr.inrialpes.exmo.ontowrap.util.EntityFilter<T>
All Implemented Interfaces:
Iterable<T>, Collection<T>, Set<T>

public class EntityFilter<T>
extends FilteredSet<T>


Field Summary
private  LoadedOntology<?> onto
           
private  String ontoURI
           
 
Constructor Summary
EntityFilter(Set<T> s, LoadedOntology<?> onto)
           
 
Method Summary
protected  boolean isFiltered(T obj)
          filter ontology entities which have no URI or external URI ontoURI.equals(entURI.toString()) is for OWL API 1 : it seems that anonymous entities have their URI = ontology URI
 
Methods inherited from class fr.inrialpes.exmo.ontowrap.util.FilteredSet
iterator, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray
 

Field Detail

ontoURI

private String ontoURI

onto

private LoadedOntology<?> onto
Constructor Detail

EntityFilter

public EntityFilter(Set<T> s,
                    LoadedOntology<?> onto)
Method Detail

isFiltered

protected boolean isFiltered(T obj)
filter ontology entities which have no URI or external URI ontoURI.equals(entURI.toString()) is for OWL API 1 : it seems that anonymous entities have their URI = ontology URI

Specified by:
isFiltered in class FilteredSet<T>

Alignment API and Server 4.2.${version.update}

(C) INRIA & friends, 2003-${curryear}