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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanConvert(Class clazz) voidmarshal(Object value, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context) voidsetContextRoot(String contextRoot) voidsetFeatureConverterMap(Map<String, org.codice.ddf.spatial.ogc.wfs.catalog.converter.FeatureConverter> featureConverterMap) unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
-
Constructor Details
-
FeatureCollectionConverterWfs20
public FeatureCollectionConverterWfs20()
-
-
Method Details
-
canConvert
- Specified by:
canConvertin interfacecom.thoughtworks.xstream.converters.ConverterMatcher
-
marshal
public void marshal(Object value, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context) - Specified by:
marshalin interfacecom.thoughtworks.xstream.converters.Converter
-
setContextRoot
-
unmarshal
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context) - Specified by:
unmarshalin interfacecom.thoughtworks.xstream.converters.Converter
-
setFeatureConverterMap
-