public class ShapefileStreetModule extends Object implements GraphBuilderModule
Modifier and Type | Field and Description |
---|---|
StreetEdgeFactory |
edgeFactory |
Constructor and Description |
---|
ShapefileStreetModule() |
Modifier and Type | Method and Description |
---|---|
void |
buildGraph(Graph graph,
HashMap<Class<?>,Object> extra)
Process whatever inputs were supplied to this module and add the resulting elements to the given graph.
|
void |
checkInputs()
Check that all inputs to the graphbuilder are valid; throw an exception if not.
|
List<String> |
getPrerequisites() |
List<String> |
provides() |
void |
setFeatureSourceFactory(FeatureSourceFactory factory) |
void |
setSchema(ShapefileStreetSchema schema) |
public StreetEdgeFactory edgeFactory
public void setFeatureSourceFactory(FeatureSourceFactory factory)
public void setSchema(ShapefileStreetSchema schema)
public void buildGraph(Graph graph, HashMap<Class<?>,Object> extra)
GraphBuilderModule
buildGraph
in interface GraphBuilderModule
public void checkInputs()
GraphBuilderModule
checkInputs
in interface GraphBuilderModule
Copyright © 2018. All rights reserved.