|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.graph.query.Matcher
public abstract class Matcher
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.
| Field Summary | |
|---|---|
static Matcher |
always
This matcher always answers true and doesn't even look at
the domain, never mind update it. |
| Constructor Summary | |
|---|---|
Matcher()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Matcher always
true and doesn't even look at
the domain, never mind update it.
| Constructor Detail |
|---|
public Matcher()
| Method Detail |
|---|
public abstract boolean match(Domain d,
Triple t)
t given the bindings
in d, updating those bindings if appropriate; the bindings
may be updated even if the match answers false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||