|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ggtools.grand.filters.AbstractGraphFilter
net.ggtools.grand.filters.GraphWalkFilter
public abstract class GraphWalkFilter
An abstract class implementing generic filtering from a graph walk. Derived class need to implemented the getLinkFinder method.
| Field Summary |
|---|
| Fields inherited from class net.ggtools.grand.filters.AbstractGraphFilter |
|---|
name |
| Constructor Summary | |
|---|---|
GraphWalkFilter(java.lang.String nodeName)
Creates a new filter. |
|
| Method Summary | |
|---|---|
protected java.util.Collection |
getFilteredNodes()
Get the nodes from the graph that pass the filter. |
abstract LinkFinder |
getLinkFinder()
Returns an object finding the links to follow from a specific node. |
| Methods inherited from class net.ggtools.grand.filters.AbstractGraphFilter |
|---|
getGraph, getGraphProducer, getName, getProducersGraph, setProducer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.ggtools.grand.filters.GraphFilter |
|---|
getName |
| Methods inherited from interface net.ggtools.grand.graph.GraphProducer |
|---|
getGraph |
| Methods inherited from interface net.ggtools.grand.graph.GraphConsumer |
|---|
setProducer |
| Constructor Detail |
|---|
public GraphWalkFilter(java.lang.String nodeName)
nodeName - node to search from.| Method Detail |
|---|
protected java.util.Collection getFilteredNodes()
throws GrandException
AbstractGraphFilterUnsupportedOperationExceptionon modification methods.
getFilteredNodes in class AbstractGraphFilterGrandException - if the filtering cannot be donepublic abstract LinkFinder getLinkFinder()
getFilteredNodes()
to find the filtered nodes.
LinkFinder object used for filtering.LinkFinder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||