Package com.reallifedeveloper.tools.gis
Class Shape2Sql.BarFeatureProcessor
java.lang.Object
com.reallifedeveloper.tools.gis.Shape2Sql.BarFeatureProcessor
- All Implemented Interfaces:
ShapefileProcessor.FeatureProcessor
- Enclosing class:
- Shape2Sql
public static class Shape2Sql.BarFeatureProcessor
extends Object
implements ShapefileProcessor.FeatureProcessor
Interprets a
org.opengis.feature.Feature from a shapefile with bar information and processes it with a Shape2Sql.BarProcessor.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the attribute in the shapefile that contains the geometric shape.static final StringThe name of the attribute in the shapefile that contains the name.static final StringThe name of the attribute in the shapefile that contains the URL. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessFeature(org.geotools.api.feature.Feature feature) Reads bar information from aorg.opengis.feature.Featureand processes this information with the currentShape2Sql.BarProcessor.
-
Field Details
-
ATTRIBUTE_NAME
The name of the attribute in the shapefile that contains the name.- See Also:
-
ATTRIBUTE_URL
The name of the attribute in the shapefile that contains the URL.- See Also:
-
ATTRIBUTE_GEOMETRY
The name of the attribute in the shapefile that contains the geometric shape.- See Also:
-
-
Constructor Details
-
BarFeatureProcessor
- Parameters:
barProcessor- theBarProcessorto use, must not benull
-
-
Method Details
-
processFeature
public void processFeature(org.geotools.api.feature.Feature feature) Reads bar information from aorg.opengis.feature.Featureand processes this information with the currentShape2Sql.BarProcessor.- Specified by:
processFeaturein interfaceShapefileProcessor.FeatureProcessor- Parameters:
feature- theFeatureto process with the currentBarProcessor
-