Class CswJTSToGML311LinearRingConverter
java.lang.Object
org.jvnet.ogc.gml.v_3_1_1.jts.AbstractJTSToGML311Converter<net.opengis.gml.v_3_1_1.LinearRingType,net.opengis.gml.v_3_1_1.AbstractRingPropertyType,org.locationtech.jts.geom.LinearRing>
org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311LinearRingConverter
org.codice.ddf.spatial.ogc.csw.catalog.common.source.CswJTSToGML311LinearRingConverter
- All Implemented Interfaces:
org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311ConverterInterface<net.opengis.gml.v_3_1_1.LinearRingType,net.opengis.gml.v_3_1_1.AbstractRingPropertyType, org.locationtech.jts.geom.LinearRing>
public class CswJTSToGML311LinearRingConverter
extends org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311LinearRingConverter
An implementation of
JTSToGML311LinearRingConverter that provides a means of customizing
the LinearRing GML. By default, the CswJTSToGML311LinearRingConverter behaves identically
to the JTSToGML311LinearRingConverter, but the output of the converter can be customized
via constructor argument(s).-
Constructor Summary
ConstructorsConstructorDescriptionCswJTSToGML311LinearRingConverter(org.jvnet.ogc.gml.v_3_1_1.ObjectFactoryInterface objectFactory, org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311SRSReferenceGroupConverterInterface srsReferenceGroupConverter, org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311CoordinateConverter coordinateConverter) Constructs a LinearRing converter that is functionally identical to the converter constructed byJTSToGML311LinearRingConverter(ObjectFactoryInterface, JTSToGML311SRSReferenceGroupConverterInterface, JTSToGML311CoordinateConverter)CswJTSToGML311LinearRingConverter(org.jvnet.ogc.gml.v_3_1_1.ObjectFactoryInterface objectFactory, org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311SRSReferenceGroupConverterInterface srsReferenceGroupConverter, org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311CoordinateConverter coordinateConverter, boolean usePosList) Constructs a LinearRing converter that is functionally identical to the converter constructed byJTSToGML311LinearRingConverter(ObjectFactoryInterface, JTSToGML311SRSReferenceGroupConverterInterface, JTSToGML311CoordinateConverter)with the exception that if usePosList is true the returnedLinearRingTypewill have its posList member variable populated and set, rather than its posOrPointPropertyOrPointRep. -
Method Summary
Modifier and TypeMethodDescriptionprotected net.opengis.gml.v_3_1_1.LinearRingTypedoCreateGeometryType(org.locationtech.jts.geom.LinearRing linearRing) Methods inherited from class org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311LinearRingConverter
createElement, createPropertyTypeMethods inherited from class org.jvnet.ogc.gml.v_3_1_1.jts.AbstractJTSToGML311Converter
createGeometryType, getObjectFactory, getSrsReferenceGroupConverter
-
Constructor Details
-
CswJTSToGML311LinearRingConverter
public CswJTSToGML311LinearRingConverter(org.jvnet.ogc.gml.v_3_1_1.ObjectFactoryInterface objectFactory, org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311SRSReferenceGroupConverterInterface srsReferenceGroupConverter, org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311CoordinateConverter coordinateConverter) Constructs a LinearRing converter that is functionally identical to the converter constructed byJTSToGML311LinearRingConverter(ObjectFactoryInterface, JTSToGML311SRSReferenceGroupConverterInterface, JTSToGML311CoordinateConverter) -
CswJTSToGML311LinearRingConverter
public CswJTSToGML311LinearRingConverter(org.jvnet.ogc.gml.v_3_1_1.ObjectFactoryInterface objectFactory, org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311SRSReferenceGroupConverterInterface srsReferenceGroupConverter, org.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311CoordinateConverter coordinateConverter, boolean usePosList) Constructs a LinearRing converter that is functionally identical to the converter constructed byJTSToGML311LinearRingConverter(ObjectFactoryInterface, JTSToGML311SRSReferenceGroupConverterInterface, JTSToGML311CoordinateConverter)with the exception that if usePosList is true the returnedLinearRingTypewill have its posList member variable populated and set, rather than its posOrPointPropertyOrPointRep. When converted to a string, this results in the GML containing a singleelement, rather than a list of elements.
-
-
Method Details
-
doCreateGeometryType
protected net.opengis.gml.v_3_1_1.LinearRingType doCreateGeometryType(org.locationtech.jts.geom.LinearRing linearRing) - Overrides:
doCreateGeometryTypein classorg.jvnet.ogc.gml.v_3_1_1.jts.JTSToGML311LinearRingConverter
-