|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.reasoner.rulesys.BasicFBReifier
public class BasicFBReifier
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.hp.hpl.jena.graph.Reifier |
|---|
Reifier.Util |
| Constructor Summary | |
|---|---|
BasicFBReifier(BasicForwardRuleInfGraph parent,
Reifier base,
com.hp.hpl.jena.reasoner.rulesys.BasicFBReifier.GetReifier deductions,
ReificationStyle style)
|
|
| Method Summary | |
|---|---|
com.hp.hpl.jena.util.iterator.ExtendedIterator<Node> |
allNodes()
return an iterator over all the nodes that are reifiying something in this reifier. |
com.hp.hpl.jena.util.iterator.ExtendedIterator<Node> |
allNodes(Triple t)
return an iterator over all the nodes that are reifiying t in this reifier. |
void |
close()
The reifier will no longer be used. |
com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> |
find(TripleMatch m)
Answer an iterator over all the reification triples in this Reifier that match m. |
com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> |
findEither(TripleMatch m,
boolean showHidden)
Answer an iterator over the reification triples of this Reifier, or an empty iterator - if showHidden is false, only the exposed triples, otherwise only the concealed ones. |
com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> |
findExposed(TripleMatch m)
Answer an iterator over all the reification triples that this Reifier exposes (ie all if Standard, none otherwise) that match m. |
Graph |
getParentGraph()
get the Graph which uses this reifier. |
ReificationStyle |
getStyle()
Answer this reifier's style. |
Triple |
getTriple(Node n)
Answer the triple associated with the node n. |
boolean |
handledAdd(Triple t)
true iff the Reifier has handled an add of the triple _t_. |
boolean |
handledRemove(Triple t)
true iff the Reifier has handled a remove of the triple _t_. |
boolean |
hasTriple(Node n)
true iff _n_ is associated with some triple. |
boolean |
hasTriple(Triple t)
|
Node |
reifyAs(Node n,
Triple t)
note the triple _t_ as reified using _n_ as its representing node. |
void |
remove(Node n,
Triple t)
remove any existing binding for _n_; hasNode(n) will return false and getTriple(n) will return null. |
void |
remove(Triple t)
remove all bindings which map to this triple. |
int |
size()
Answer the number of exposed reification quadlets held in this reifier. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicFBReifier(BasicForwardRuleInfGraph parent,
Reifier base,
com.hp.hpl.jena.reasoner.rulesys.BasicFBReifier.GetReifier deductions,
ReificationStyle style)
| Method Detail |
|---|
public com.hp.hpl.jena.util.iterator.ExtendedIterator<Node> allNodes()
Reifier
allNodes in interface Reifierpublic com.hp.hpl.jena.util.iterator.ExtendedIterator<Node> allNodes(Triple t)
Reifier
allNodes in interface Reifierpublic void close()
Reifier
close in interface Reifierpublic com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> find(TripleMatch m)
Reifierm.
find in interface Reifier
public com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> findEither(TripleMatch m,
boolean showHidden)
Reifier
findEither in interface Reifierpublic com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> findExposed(TripleMatch m)
Reifier
findExposed in interface Reifierpublic Graph getParentGraph()
Reifier
getParentGraph in interface Reifierpublic ReificationStyle getStyle()
Reifier
getStyle in interface Reifierpublic boolean handledAdd(Triple t)
Reifier
handledAdd in interface Reifierpublic boolean handledRemove(Triple t)
Reifier
handledRemove in interface Reifierpublic boolean hasTriple(Node n)
Reifier
hasTriple in interface Reifierpublic boolean hasTriple(Triple t)
hasTriple in interface Reifier
public Node reifyAs(Node n,
Triple t)
Reifier
reifyAs in interface Reifier
public void remove(Node n,
Triple t)
Reifier
remove in interface Reifierpublic void remove(Triple t)
Reifier
remove in interface Reifierpublic int size()
Reifier
size in interface Reifierpublic Triple getTriple(Node n)
GetTriplen.
getTriple in interface GetTriplen - the node to use as the key
null if none
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||