public class FeatureGraphGenerator extends BasicGraphGenerator
org.geotools.feature.Feature objects.
This graph generator decorates another graph generator which builds a graph from geometries.
| Constructor and Description |
|---|
FeatureGraphGenerator(GraphGenerator decorated) |
| Modifier and Type | Method and Description |
|---|---|
Graphable |
add(Object obj)
Adds an object to the graph.
|
Graphable |
get(Object obj)
Retrieves a component of the graph.
|
GraphGenerator |
getDecorated() |
Graph |
getGraph()
Returns the graph being generated.
|
GraphBuilder |
getGraphBuilder()
Returns the underlying builder.
|
Graphable |
remove(Object obj)
Removes an object from the graph.
|
setGraphBuilderpublic FeatureGraphGenerator(GraphGenerator decorated)
public Graph getGraph()
GraphGeneratorgetGraph in interface GraphGeneratorgetGraph in class BasicGraphGeneratorGraphGenerator.getGraph()public GraphBuilder getGraphBuilder()
GraphGeneratorgetGraphBuilder in interface GraphGeneratorgetGraphBuilder in class BasicGraphGeneratorGraphGenerator.getGraphBuilder()public GraphGenerator getDecorated()
public Graphable add(Object obj)
GraphGeneratoradd in interface GraphGeneratoradd in class BasicGraphGeneratorobj - The object to be modelled in the graph.GraphGenerator.add(Object)public Graphable remove(Object obj)
GraphGeneratorremove in interface GraphGeneratorremove in class BasicGraphGeneratorobj - The object modelled by the component.GraphGenerator.remove(Object)public Graphable get(Object obj)
GraphGeneratorget in interface GraphGeneratorget in class BasicGraphGeneratorobj - The object modelled by the component.GraphGenerator.get(Object)Copyright © 1996–2019 Geotools. All rights reserved.