Interface FeatureConverter
- All Superinterfaces:
com.thoughtworks.xstream.converters.Converter,com.thoughtworks.xstream.converters.ConverterMatcher
public interface FeatureConverter
extends com.thoughtworks.xstream.converters.Converter
Extension of the XStream Converter interface
ability to set SourceID which is required when converting features to ability to set the
The FeatureConverter adds:
Metacards
MetacardType -
Method Summary
Modifier and TypeMethodDescriptionddf.catalog.data.MetacardTypeGet this converter's MetacardTypevoidsetCoordinateOrder(String coordinateOrder) Set the coordinate order, LAT_LON or LON_LAT, on the converter.voidsetMetacardType(ddf.catalog.data.MetacardType metacardType) Set the MetacardType on the convertervoidsetSourceId(String id) set the source ID on the converter to be used when converting features into metacardsvoidSet the URL on the on converterMethods inherited from interface com.thoughtworks.xstream.converters.Converter
marshal, unmarshalMethods inherited from interface com.thoughtworks.xstream.converters.ConverterMatcher
canConvert
-
Method Details
-
setSourceId
set the source ID on the converter to be used when converting features into metacards- Parameters:
id-
-
getMetacardType
ddf.catalog.data.MetacardType getMetacardType()Get this converter's MetacardType- Returns:
-
setMetacardType
void setMetacardType(ddf.catalog.data.MetacardType metacardType) Set the MetacardType on the converter- Parameters:
metacardType-
-
setWfsUrl
Set the URL on the on converter- Parameters:
wfsUrl-
-
setCoordinateOrder
Set the coordinate order, LAT_LON or LON_LAT, on the converter.- Parameters:
coordinateOrder-
-