com.hp.hpl.jena.graph
Class TripleMatchFilter

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface com.hp.hpl.jena.util.iterator.Filter
any
 
Constructor Summary
TripleMatchFilter(Triple tMatch)
          Creates new TripleMatchFilter
 
Method Summary
 boolean accept(Object t)
          The object is wanted.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TripleMatchFilter

public TripleMatchFilter(Triple tMatch)
Creates new TripleMatchFilter

Method Detail

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