com.supermap.services.rest.encoders
类 GeoRSSEncoder
- java.lang.Object
 - 
- com.supermap.services.rest.encoders.Encoder
 - 
- com.supermap.services.rest.encoders.GeoRSSEncoder
 
 
 
- 
public class GeoRSSEncoder extends Encoder
GeoRSS 表述生成器。
 
- 
- 
构造器概要
构造器 构造器和说明 GeoRSSEncoder()构造函数。 
- 
方法概要
方法 限定符和类型 方法和说明 protected java.util.List<MediaType>createSupportedMediaTypes()创建支持的表述格式列表。RepresentationtoRepresentation(MediaType mediaType, java.lang.Object resourceObj)将对象序列化为表述。- 
从类继承的方法 com.supermap.services.rest.encoders.Encoder
getSupportedMediaTypes, isEncodeAllow 
 - 
 
 - 
 
- 
- 
方法详细资料
- 
createSupportedMediaTypes
protected java.util.List<MediaType> createSupportedMediaTypes()
从类复制的说明:Encoder创建支持的表述格式列表。
用户扩展一个 Encoder 时,需要指定该 Encoder 支持将格式化的对象转换为什么媒体类型的表述。
- 指定者:
 createSupportedMediaTypes在类中Encoder- 返回:
 - 该 Encoder 对象支持的表述的媒体类型列表。
 
 
- 
toRepresentation
public Representation toRepresentation(MediaType mediaType, java.lang.Object resourceObj)从类复制的说明:Encoder将对象序列化为表述。
- 指定者:
 toRepresentation在类中Encoder- 参数:
 mediaType- 表述的媒体类型。resourceObj- 欲转换的 Java 对象。- 返回:
 - 指定格式的 Java 对象的表述。
 
 
 - 
 
 -