com.hp.hpl.jena.ontology
Class OntTools.PredicatesFilter
java.lang.Object
com.hp.hpl.jena.util.iterator.Filter<Statement>
com.hp.hpl.jena.ontology.OntTools.PredicatesFilter
- Enclosing class:
- OntTools
public static class OntTools.PredicatesFilter
- extends com.hp.hpl.jena.util.iterator.Filter<Statement>
A filter which accepts statements whose predicate matches one of a collection
of predicates held by the filter object.
Fields inherited from class com.hp.hpl.jena.util.iterator.Filter |
any |
Methods inherited from class com.hp.hpl.jena.util.iterator.Filter |
and, any, filterKeep, isAny |
m_preds
public Collection<Property> m_preds
OntTools.PredicatesFilter
public OntTools.PredicatesFilter(Collection<Property> preds)
- Accept statements with any predicate from
preds
OntTools.PredicatesFilter
public OntTools.PredicatesFilter(Property[] preds)
- Accept statements with any predicate from
preds
OntTools.PredicatesFilter
public OntTools.PredicatesFilter(Property pred)
- Accept statements with predicate
pred
accept
public boolean accept(Statement s)
- Specified by:
accept
in class com.hp.hpl.jena.util.iterator.Filter<Statement>
Licenced under the Apache License, Version 2.0