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:GraphGeneratorReturns the graph being generated.- Specified by:
getGraphin interfaceGraphGenerator- Overrides:
getGraphin classBasicGraphGenerator- Returns:
- The generated graph.
- See Also:
-
getGraphBuilder
Description copied from interface:GraphGeneratorReturns the underlying builder.- Specified by:
getGraphBuilderin interfaceGraphGenerator- Overrides:
getGraphBuilderin classBasicGraphGenerator- Returns:
- The underyling builder.
- See Also:
-
getDecorated
-
add
Description copied from interface:GraphGeneratorAdds an object to the graph.- Specified by:
addin interfaceGraphGenerator- Overrides:
addin 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:GraphGeneratorRemoves an object from the graph.- Specified by:
removein interfaceGraphGenerator- Overrides:
removein 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:GraphGeneratorRetrieves a component of the graph.- Specified by:
getin interfaceGraphGenerator- Overrides:
getin classBasicGraphGenerator- Parameters:
obj- The object modelled by the component.- Returns:
- The graph component used to model the object.
- See Also:
-