Class FeatureCollectionConverterWfs20

java.lang.Object
org.codice.ddf.spatial.ogc.wfs.v2_0_0.catalog.converter.impl.FeatureCollectionConverterWfs20
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher

public class FeatureCollectionConverterWfs20 extends Object implements com.thoughtworks.xstream.converters.Converter
This class works in conjunction with XStream to convert a Wfs20FeatureCollection to XML according to the GML 3.2.1 spec. It will also convert respective XML into a Wfs20FeatureCollection.
  • Constructor Details

    • FeatureCollectionConverterWfs20

      public FeatureCollectionConverterWfs20()
  • Method Details

    • canConvert

      public boolean canConvert(Class clazz)
      Specified by:
      canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
    • marshal

      public void marshal(Object value, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
      Specified by:
      marshal in interface com.thoughtworks.xstream.converters.Converter
    • setContextRoot

      public void setContextRoot(String contextRoot)
    • unmarshal

      public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
      Specified by:
      unmarshal in interface com.thoughtworks.xstream.converters.Converter
    • setFeatureConverterMap

      public void setFeatureConverterMap(Map<String,org.codice.ddf.spatial.ogc.wfs.catalog.converter.FeatureConverter> featureConverterMap)