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 String
The name of the attribute in the shapefile that contains the geometric shape.static final String
The name of the attribute in the shapefile that contains the name.static final String
The name of the attribute in the shapefile that contains the URL. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
processFeature
(org.geotools.api.feature.Feature feature) Reads bar information from aorg.opengis.feature.Feature
and 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
- theBarProcessor
to use, must not benull
-
-
Method Details
-
processFeature
public void processFeature(org.geotools.api.feature.Feature feature) Reads bar information from aorg.opengis.feature.Feature
and processes this information with the currentShape2Sql.BarProcessor
.- Specified by:
processFeature
in interfaceShapefileProcessor.FeatureProcessor
- Parameters:
feature
- theFeature
to process with the currentBarProcessor
-