public class FeatureRegister
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.lang.String> |
attrKeys |
private static Configuration |
currentConfig |
(package private) Assistant |
myAssistant |
(package private) ValueChecker |
myChecker |
private java.lang.String |
rTuple |
private java.util.List<java.lang.String> |
tuples4Registry |
| Constructor and Description |
|---|
FeatureRegister(Configuration config)
Constructs a FeatureRegister object that will be used for collecting feature attributes to be registered in the SLIPO Registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearTuples4Registry()
Cleans up all tuples collected for the SLIPO Registry so far
|
void |
createTuple(java.lang.String uri,
java.util.Map<java.lang.String,java.lang.String> row,
java.lang.String wkt,
int targetSRID)
Creates a record of attributes (as a .CSV record) for a feature to be registered in the SLIPO Registry.
|
java.util.List<java.lang.String> |
getTuples4Registry()
Provides a collection of custom tuples with attribute values that will be used for the SLIPO Registry
|
boolean |
includeAttribute(java.lang.String key)
Adds a column name in the collection of non-spatial (thematic) attributes to be used in creating the records for registration
|
private static Configuration currentConfig
Assistant myAssistant
ValueChecker myChecker
private java.lang.String rTuple
private java.util.List<java.lang.String> tuples4Registry
private java.util.List<java.lang.String> attrKeys
public FeatureRegister(Configuration config)
config - User-specified configuration for the transformation process.public boolean includeAttribute(java.lang.String key)
key - The name of an attribute as specified in the input datasetpublic java.util.List<java.lang.String> getTuples4Registry()
public void clearTuples4Registry()
public void createTuple(java.lang.String uri,
java.util.Map<java.lang.String,java.lang.String> row,
java.lang.String wkt,
int targetSRID)
uri - The URI assigned to the featurerow - Attribute values for each thematic (non-spatial) attributewkt - Well-Known Text representation of the geometrytargetSRID - The EPSG identifier of the Coordinate Reference System of the geometry