public class FeatureGeoRSSSimpleSerializer extends FeaturesGeoRSSSimpleSerializer
要素序列化器,将要素序列化为GeoRSS Simple格式。
构造器和说明 |
---|
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) |
createXmlFoot, createXmlHeader
public void serialize(GeoRSSObject object, java.io.Writer writer)
将要素序列化为GeoRSS Simple的格式。
serialize
在类中 FeaturesGeoRSSSimpleSerializer
object
- 需要序列化的对象。writer
- 序列化后的写入字符流。protected static boolean isSupportedType(GeometryType type)
protected static void writeItem(XMLRecord record, Feature feature, java.lang.String linkUrl)
protected static java.lang.String getFeatureFieldsTable(java.lang.String featureTitle, java.lang.String[] fieldNames, java.lang.String[] fieldValues)
protected static void writeGeometry(XMLRecord record, Geometry geometry)
protected static void writePoint(XMLRecord record, Geometry geometry)
protected static void writeLine(XMLRecord record, Geometry geometry)
protected static void writePolygon(XMLRecord record, Geometry geometry)