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

The FeatureConverter adds:

  • ability to set SourceID which is required when converting features to Metacards
  • ability to set the MetacardType
    • Method Summary

      Modifier and Type
      Method
      Description
      ddf.catalog.data.MetacardType
      Get this converter's MetacardType
      void
      setCoordinateOrder(String coordinateOrder)
      Set the coordinate order, LAT_LON or LON_LAT, on the converter.
      void
      setMetacardType(ddf.catalog.data.MetacardType metacardType)
      Set the MetacardType on the converter
      void
      set the source ID on the converter to be used when converting features into metacards
      void
      setWfsUrl(String wfsUrl)
      Set the URL on the on converter

      Methods inherited from interface com.thoughtworks.xstream.converters.Converter

      marshal, unmarshal

      Methods inherited from interface com.thoughtworks.xstream.converters.ConverterMatcher

      canConvert
    • Method Details

      • setSourceId

        void setSourceId(String id)
        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

        void setWfsUrl(String wfsUrl)
        Set the URL on the on converter
        Parameters:
        wfsUrl -
      • setCoordinateOrder

        void setCoordinateOrder(String coordinateOrder)
        Set the coordinate order, LAT_LON or LON_LAT, on the converter.
        Parameters:
        coordinateOrder -