public class FeatureGeoRSSSimpleSerializer
extends java.lang.Object
The feature serializer serializes the elements into a GeoRSS Simple format.
Constructor and Description |
---|
FeatureGeoRSSSimpleSerializer() |
Modifier and Type | Method and Description |
---|---|
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)
The elements are serialized into the format of 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) |
public void serialize(GeoRSSObject object, java.io.Writer writer)
The elements are serialized into the format of GeoRSS Simple.
object
- needs to serialize the object.writer
- Writes a character stream after serialization.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)