com.hp.hpl.jena.graph
Class TripleMatchFilter
java.lang.Object
com.hp.hpl.jena.graph.TripleMatchFilter
- All Implemented Interfaces:
- Filter
public class TripleMatchFilter
- extends Object
- implements Filter
A class to turn a triple (treated as a pattern) into a Filter.
It used to take a TripleMatch but those are obsolete.
- Author:
- bwm, kers
Fields inherited from interface com.hp.hpl.jena.util.iterator.Filter |
any |
Method Summary |
boolean |
accept(Object t)
The object is wanted. |
TripleMatchFilter
public TripleMatchFilter(Triple tMatch)
- Creates new TripleMatchFilter
accept
public boolean accept(Object t)
- The object is wanted.
- Specified by:
accept
in interface Filter
- Parameters:
t
- The object to accept or reject. Must be a Triple
- Returns:
- true if the object is wanted.
Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP