com.hp.hpl.jena.graph
Class TripleMatchFilter
java.lang.Object
com.hp.hpl.jena.util.iterator.Filter<Triple>
com.hp.hpl.jena.graph.TripleMatchFilter
public class TripleMatchFilter
- extends com.hp.hpl.jena.util.iterator.Filter<Triple>
A class to turn a triple (treated as a pattern) into a Filter.
It used to take a TripleMatch but those are obsolete.
Fields inherited from class com.hp.hpl.jena.util.iterator.Filter |
any |
Method Summary |
boolean |
accept(Triple t)
The object is wanted. |
Methods inherited from class com.hp.hpl.jena.util.iterator.Filter |
and, any, filterKeep, isAny |
TripleMatchFilter
public TripleMatchFilter(Triple tMatch)
- Creates new TripleMatchFilter
accept
public boolean accept(Triple t)
- The object is wanted.
- Specified by:
accept
in class com.hp.hpl.jena.util.iterator.Filter<Triple>
- Parameters:
t
- The object to accept or reject. Must be a Triple
- Returns:
- true if the object is wanted.
Licenced under the Apache License, Version 2.0