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.
|
setGraphBuilder
public FeatureGraphGenerator(GraphGenerator decorated)
public Graph getGraph()
GraphGenerator
getGraph
in interface GraphGenerator
getGraph
in class BasicGraphGenerator
GraphGenerator.getGraph()
public GraphBuilder getGraphBuilder()
GraphGenerator
getGraphBuilder
in interface GraphGenerator
getGraphBuilder
in class BasicGraphGenerator
GraphGenerator.getGraphBuilder()
public GraphGenerator getDecorated()
public Graphable add(Object obj)
GraphGenerator
add
in interface GraphGenerator
add
in class BasicGraphGenerator
obj
- The object to be modelled in the graph.GraphGenerator.add(Object)
public Graphable remove(Object obj)
GraphGenerator
remove
in interface GraphGenerator
remove
in class BasicGraphGenerator
obj
- The object modelled by the component.GraphGenerator.remove(Object)
public Graphable get(Object obj)
GraphGenerator
get
in interface GraphGenerator
get
in class BasicGraphGenerator
obj
- The object modelled by the component.GraphGenerator.get(Object)
Copyright © 1996–2019 Geotools. All rights reserved.