org.fenfire.loom
Class StatementSelector.SimpleSelector
java.lang.Object
|
+--org.fenfire.loom.StatementSelector.SimpleSelector
- All Implemented Interfaces:
- StatementSelector
- Direct Known Subclasses:
- PropertySetSelector
- Enclosing class:
- StatementSelector
- public static class StatementSelector.SimpleSelector
- extends java.lang.Object
- implements StatementSelector
The posward or negward connections of focus
to show,
in order.
Returns a set of statements, not a set of nodes.
XXX refactor-- slow because we iterate though
ALL triples in the graph.
Method Summary |
protected boolean |
accept(Statement s)
|
java.util.Collection |
getConnections(Resource focus,
int dir)
The posward or negward connections of focus to show,
in order.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatementSelector.SimpleSelector
public StatementSelector.SimpleSelector()
accept
protected boolean accept(Statement s)
getConnections
public java.util.Collection getConnections(Resource focus,
int dir)
- Description copied from interface:
StatementSelector
- The posward or negward connections of
focus
to show,
in order.
Returns a collection of statements, not a set of nodes.
- Specified by:
getConnections
in interface StatementSelector