com.supermap.services.rest.encoders

类 FeatureGeoRSSSimpleSerializer



  • public class FeatureGeoRSSSimpleSerializer
    extends FeaturesGeoRSSSimpleSerializer
    

    要素序列化器,将要素序列化为GeoRSS Simple格式。

    从以下版本开始:
    6.1.3
    • 构造器详细资料

      • FeatureGeoRSSSimpleSerializer

        public FeatureGeoRSSSimpleSerializer()
        
    • 方法详细资料

      • 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)