| java.lang.Object com.hp.hpl.jena.graph.query.Matcher
Matcher | abstract public class Matcher (Code) | | A Matcher knows how to match itself against a concrete triple (the triple
to be matched) and a domain (of bindings to check and extend). It is part
of the improved-we-hope PatternStage code.
author: kers |
Field Summary | |
final public static Matcher | always This matcher always answers true and doesn't even look at
the domain, never mind update it. |
Method Summary | |
abstract public boolean | match(Domain d, Triple t) Answer true iff we match the triple t given the bindings
in d , updating those bindings if appropriate; the bindings
may be updated even if the match answers false . |
always | final public static Matcher always(Code) | | This matcher always answers true and doesn't even look at
the domain, never mind update it.
|
match | abstract public boolean match(Domain d, Triple t)(Code) | | Answer true iff we match the triple t given the bindings
in d , updating those bindings if appropriate; the bindings
may be updated even if the match answers false .
|
|
|