com.hp.hpl.jena.graph.query
Class Matcher
java.lang.Object
com.hp.hpl.jena.graph.query.Matcher
public abstract class Matcher
- extends Object
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 |
static Matcher |
always
This matcher always answers true and doesn't even look at
the domain, never mind update it. |
|
Method Summary |
abstract 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
public static final Matcher always
- This matcher always answers
true and doesn't even look at
the domain, never mind update it.
Matcher
public Matcher()
match
public abstract 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.
Licenced under the Apache License, Version 2.0