fr.inrialpes.exmo.ontowrap.util
Class EntityFilter<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<T>
fr.inrialpes.exmo.ontowrap.util.FilteredSet<T>
fr.inrialpes.exmo.ontowrap.util.EntityFilter<T>
- All Implemented Interfaces:
- Iterable<T>, Collection<T>, Set<T>
public class EntityFilter<T>
- extends FilteredSet<T>
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 java.util.AbstractCollection |
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString |
ontoURI
private String ontoURI
onto
private LoadedOntology<?> onto
EntityFilter
public EntityFilter(Set<T> s,
LoadedOntology<?> onto)
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>
(C) INRIA & friends, 2003-${curryear}