Class AbstractFeatureConverter
java.lang.Object
org.codice.ddf.spatial.ogc.wfs.catalog.converter.impl.AbstractFeatureConverter
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter,com.thoughtworks.xstream.converters.ConverterMatcher,org.codice.ddf.spatial.ogc.wfs.catalog.converter.FeatureConverter
- Direct Known Subclasses:
GenericFeatureConverter
public abstract class AbstractFeatureConverter
extends Object
implements org.codice.ddf.spatial.ogc.wfs.catalog.converter.FeatureConverter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractFeatureConverter(org.codice.ddf.spatial.ogc.wfs.catalog.mapper.MetacardMapper metacardMapper) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanConvert(Class clazz) protected com.thoughtworks.xstream.io.HierarchicalStreamReadercopyXml(com.thoughtworks.xstream.io.HierarchicalStreamReader hreader, StringWriter writer) protected ddf.catalog.data.MetacardcreateMetacardFromFeature(com.thoughtworks.xstream.io.HierarchicalStreamReader hreader, ddf.catalog.data.MetacardType metacardType) ddf.catalog.data.MetacardTypegetSrs()protected SerializablegetValueForMetacardAttribute(ddf.catalog.data.AttributeType.AttributeFormat attributeFormat, com.thoughtworks.xstream.io.HierarchicalStreamReader reader) protected DateparseDateFromXml(com.thoughtworks.xstream.io.HierarchicalStreamReader reader) voidsetCoordinateOrder(String coordinateOrder) voidsetMetacardType(ddf.catalog.data.MetacardType metacardType) voidsetSourceId(String sourceId) voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.thoughtworks.xstream.converters.Converter
marshal, unmarshal
-
Field Details
-
ERROR_PARSING_MESSAGE
- See Also:
-
UTF8_ENCODING
- See Also:
-
sourceId
-
wfsUrl
-
metacardType
protected ddf.catalog.data.MetacardType metacardType -
coordinateOrder
-
-
Constructor Details
-
AbstractFeatureConverter
public AbstractFeatureConverter() -
AbstractFeatureConverter
public AbstractFeatureConverter(org.codice.ddf.spatial.ogc.wfs.catalog.mapper.MetacardMapper metacardMapper)
-
-
Method Details
-
canConvert
- Specified by:
canConvertin interfacecom.thoughtworks.xstream.converters.ConverterMatcher
-
setSourceId
- Specified by:
setSourceIdin interfaceorg.codice.ddf.spatial.ogc.wfs.catalog.converter.FeatureConverter
-
setWfsUrl
- Specified by:
setWfsUrlin interfaceorg.codice.ddf.spatial.ogc.wfs.catalog.converter.FeatureConverter
-
getMetacardType
public ddf.catalog.data.MetacardType getMetacardType()- Specified by:
getMetacardTypein interfaceorg.codice.ddf.spatial.ogc.wfs.catalog.converter.FeatureConverter
-
setMetacardType
public void setMetacardType(ddf.catalog.data.MetacardType metacardType) - Specified by:
setMetacardTypein interfaceorg.codice.ddf.spatial.ogc.wfs.catalog.converter.FeatureConverter
-
setCoordinateOrder
- Specified by:
setCoordinateOrderin interfaceorg.codice.ddf.spatial.ogc.wfs.catalog.converter.FeatureConverter
-
copyXml
protected com.thoughtworks.xstream.io.HierarchicalStreamReader copyXml(com.thoughtworks.xstream.io.HierarchicalStreamReader hreader, StringWriter writer) -
createMetacardFromFeature
protected ddf.catalog.data.Metacard createMetacardFromFeature(com.thoughtworks.xstream.io.HierarchicalStreamReader hreader, ddf.catalog.data.MetacardType metacardType) -
getValueForMetacardAttribute
protected Serializable getValueForMetacardAttribute(ddf.catalog.data.AttributeType.AttributeFormat attributeFormat, com.thoughtworks.xstream.io.HierarchicalStreamReader reader) -
parseDateFromXml
-
setSrs
-
getSrs
-