com.supermap.services.rest.encoders
类 FeatureGeoRSSSimpleSerializer
- java.lang.Object
-
- com.supermap.services.rest.encoders.FeaturesGeoRSSSimpleSerializer
-
- com.supermap.services.rest.encoders.FeatureGeoRSSSimpleSerializer
-
public class FeatureGeoRSSSimpleSerializer extends FeaturesGeoRSSSimpleSerializer
要素序列化器,将要素序列化为GeoRSS Simple格式。
- 从以下版本开始:
- 6.1.3
-
-
构造器概要
构造器 构造器和说明 FeatureGeoRSSSimpleSerializer()
-
方法概要
方法 限定符和类型 方法和说明 protected static java.lang.String
getFeatureFieldsTable(java.lang.String featureTitle, java.lang.String[] fieldNames, java.lang.String[] fieldValues)
protected static boolean
isSupportedType(GeometryType type)
void
serialize(GeoRSSObject object, java.io.Writer writer)
将要素序列化为GeoRSS Simple的格式。protected static void
writeGeometry(XMLRecord record, Geometry geometry)
protected static void
writeItem(XMLRecord record, Feature feature, java.lang.String linkUrl)
protected static void
writeLine(XMLRecord record, Geometry geometry)
protected static void
writePoint(XMLRecord record, Geometry geometry)
protected static void
writePolygon(XMLRecord record, Geometry geometry)
-
从类继承的方法 com.supermap.services.rest.encoders.FeaturesGeoRSSSimpleSerializer
createXmlFoot, createXmlHeader
-
-
-
-
方法详细资料
-
serialize
public void serialize(GeoRSSObject object, java.io.Writer writer)
将要素序列化为GeoRSS Simple的格式。
- 覆盖:
serialize
在类中FeaturesGeoRSSSimpleSerializer
- 参数:
object
- 需要序列化的对象。writer
- 序列化后的写入字符流。- 从以下版本开始:
- 6.1.3
-
isSupportedType
protected static boolean isSupportedType(GeometryType type)
-
writeItem
protected static void writeItem(XMLRecord record, Feature feature, java.lang.String linkUrl)
-
getFeatureFieldsTable
protected static java.lang.String getFeatureFieldsTable(java.lang.String featureTitle, java.lang.String[] fieldNames, java.lang.String[] fieldValues)
-
writeGeometry
protected static void writeGeometry(XMLRecord record, Geometry geometry)
-
writePoint
protected static void writePoint(XMLRecord record, Geometry geometry)
-
writeLine
protected static void writeLine(XMLRecord record, Geometry geometry)
-
writePolygon
protected static void writePolygon(XMLRecord record, Geometry geometry)
-
-