public class FeatureSerializer
extends java.lang.Object
The feature serializer serializes the feature content into KML.
Constructor and Description |
---|
FeatureSerializer() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getFieldValue(java.lang.String name, Feature content) |
void |
serialize(KMLObject object, java.io.Writer writer)
Serializes the feature content into KML.
|
protected void |
writeGeometry(XMLRecord record, Geometry geometry) |
protected void |
writePoint(XMLRecord record, Geometry geometry) |
public void serialize(KMLObject object, java.io.Writer writer)
Serializes the feature content into KML.
object
- needs to serialize the object.writer
- Writes a character stream after serialization.protected java.lang.String getFieldValue(java.lang.String name, Feature content)
protected void writeGeometry(XMLRecord record, Geometry geometry)
protected void writePoint(XMLRecord record, Geometry geometry)