Package org.geotools.graph.build.feature
Class FeatureGraphGenerator
Object
BasicGraphGenerator
FeatureGraphGenerator
- All Implemented Interfaces:
GraphGenerator
Builds a graph from
org.geotools.feature.Feature
objects.
This graph generator decorates another graph generator which builds a graph from geometries.
- Author:
- Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org, Anders Bakkevold, Bouvet AS, bakkedev@gmail.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds an object to the graph.Retrieves a component of the graph.getGraph()
Returns the graph being generated.Returns the underlying builder.Removes an object from the graph.Methods inherited from class BasicGraphGenerator
setGraphBuilder
-
Constructor Details
-
FeatureGraphGenerator
-
-
Method Details
-
getGraph
Description copied from interface:GraphGenerator
Returns the graph being generated.- Specified by:
getGraph
in interfaceGraphGenerator
- Overrides:
getGraph
in classBasicGraphGenerator
- Returns:
- The generated graph.
- See Also:
-
getGraphBuilder
Description copied from interface:GraphGenerator
Returns the underlying builder.- Specified by:
getGraphBuilder
in interfaceGraphGenerator
- Overrides:
getGraphBuilder
in classBasicGraphGenerator
- Returns:
- The underyling builder.
- See Also:
-
getDecorated
-
add
Description copied from interface:GraphGenerator
Adds an object to the graph.- Specified by:
add
in interfaceGraphGenerator
- Overrides:
add
in classBasicGraphGenerator
- Parameters:
obj
- The object to be modelled in the graph.- Returns:
- The graph component used to model the object.
- See Also:
-
remove
Description copied from interface:GraphGenerator
Removes an object from the graph.- Specified by:
remove
in interfaceGraphGenerator
- Overrides:
remove
in classBasicGraphGenerator
- Parameters:
obj
- The object modelled by the component.- Returns:
- The graph component used to model the object.
- See Also:
-
get
Description copied from interface:GraphGenerator
Retrieves a component of the graph.- Specified by:
get
in interfaceGraphGenerator
- Overrides:
get
in classBasicGraphGenerator
- Parameters:
obj
- The object modelled by the component.- Returns:
- The graph component used to model the object.
- See Also:
-