|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kaboum.util.KaboumWKTWriter
public class KaboumWKTWriter
| Constructor Summary | |
|---|---|
KaboumWKTWriter(KaboumPrecisionModel precisionModel)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
appendCoordinate(KaboumCoordinate coordinate,
java.io.Writer writer)
Converts a Coordinate to <Point> format, then appends
it to the writer. |
protected void |
appendGeometryCollectionTaggedText(KaboumGeometryCollection geometryCollection,
java.io.Writer writer)
Converts a GeometryCollection to <GeometryCollection
Tagged Text> format, then appends it to the writer. |
protected void |
appendGeometryCollectionText(KaboumGeometryCollection geometryCollection,
java.io.Writer writer)
Converts a GeometryCollection to <GeometryCollectionText>
format, then appends it to the writer. |
protected void |
appendGeometryTaggedText(KaboumGeometry geometry,
java.io.Writer writer)
Converts a Geometry to <Geometry Tagged Text> format,
then appends it to the writer. |
protected void |
appendLineStringTaggedText(KaboumLineString lineString,
java.io.Writer writer)
Converts a LineString to <LineString Tagged Text>
format, then appends it to the writer. |
protected void |
appendLineStringText(KaboumLineString lineString,
java.io.Writer writer)
Converts a LineString to <LineString Text> format, then
appends it to the writer. |
protected void |
appendMultiLineStringTaggedText(KaboumMultiLineString multiLineString,
java.io.Writer writer)
Converts a MultiLineString to <MultiLineString Tagged
Text> format, then appends it to the writer. |
protected void |
appendMultiLineStringText(KaboumMultiLineString multiLineString,
java.io.Writer writer)
Converts a MultiLineString to <MultiLineString Text>
format, then appends it to the writer. |
protected void |
appendMultiPointTaggedText(KaboumMultiPoint multipoint,
java.io.Writer writer)
Converts a MultiPoint to <MultiPoint Tagged Text>
format, then appends it to the writer. |
protected void |
appendMultiPointText(KaboumMultiPoint multiPoint,
java.io.Writer writer)
Converts a MultiPoint to <MultiPoint Text> format, then
appends it to the writer. |
protected void |
appendMultiPolygonTaggedText(KaboumMultiPolygon multiPolygon,
java.io.Writer writer)
Converts a MultiPolygon to <MultiPolygon Tagged Text>
format, then appends it to the writer. |
protected void |
appendMultiPolygonText(KaboumMultiPolygon multiPolygon,
java.io.Writer writer)
Converts a MultiPolygon to <MultiPolygon Text> format,
then appends it to the writer. |
protected void |
appendPointTaggedText(KaboumCoordinate coordinate,
java.io.Writer writer)
Converts a Coordinate to <Point Tagged Text> format,
then appends it to the writer. |
protected void |
appendPointText(KaboumCoordinate coordinate,
java.io.Writer writer)
Converts a Coordinate to <Point Text> format, then
appends it to the writer. |
protected void |
appendPolygonTaggedText(KaboumPolygon polygon,
java.io.Writer writer)
Converts a Polygon to <Polygon Tagged Text> format,
then appends it to the writer. |
protected void |
appendPolygonText(KaboumPolygon polygon,
java.io.Writer writer)
Converts a Polygon to <Polygon Text> format, then
appends it to the writer. |
java.lang.String |
write(KaboumGeometry geometry)
Converts a Geometry to its Well-known Text representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KaboumWKTWriter(KaboumPrecisionModel precisionModel)
| Method Detail |
|---|
public java.lang.String write(KaboumGeometry geometry)
throws java.io.IOException
Geometry to its Well-known Text representation.
geometry - a Geometry to process
java.io.IOException
protected void appendGeometryTaggedText(KaboumGeometry geometry,
java.io.Writer writer)
throws java.io.IOException
Geometry to <Geometry Tagged Text> format,
then appends it to the writer.
geometry - the Geometry to processwriter - the output writer to append to
java.io.IOException
protected void appendPointTaggedText(KaboumCoordinate coordinate,
java.io.Writer writer)
throws java.io.IOException
Coordinate to <Point Tagged Text> format,
then appends it to the writer.
coordinate - the Coordinate to processwriter - the output writer to append to
java.io.IOException
protected void appendLineStringTaggedText(KaboumLineString lineString,
java.io.Writer writer)
throws java.io.IOException
LineString to <LineString Tagged Text>
format, then appends it to the writer.
lineString - the LineString to processwriter - the output writer to append to
java.io.IOException
protected void appendPolygonTaggedText(KaboumPolygon polygon,
java.io.Writer writer)
throws java.io.IOException
Polygon to <Polygon Tagged Text> format,
then appends it to the writer.
polygon - the Polygon to processwriter - the output writer to append to
java.io.IOException
protected void appendMultiPointTaggedText(KaboumMultiPoint multipoint,
java.io.Writer writer)
throws java.io.IOException
MultiPoint to <MultiPoint Tagged Text>
format, then appends it to the writer.
multipoint - the MultiPoint to processwriter - the output writer to append to
java.io.IOException
protected void appendMultiLineStringTaggedText(KaboumMultiLineString multiLineString,
java.io.Writer writer)
throws java.io.IOException
MultiLineString to <MultiLineString Tagged
Text> format, then appends it to the writer.
multiLineString - the MultiLineString to processwriter - the output writer to append to
java.io.IOException
protected void appendMultiPolygonTaggedText(KaboumMultiPolygon multiPolygon,
java.io.Writer writer)
throws java.io.IOException
MultiPolygon to <MultiPolygon Tagged Text>
format, then appends it to the writer.
multiPolygon - the MultiPolygon to processwriter - the output writer to append to
java.io.IOException
protected void appendGeometryCollectionTaggedText(KaboumGeometryCollection geometryCollection,
java.io.Writer writer)
throws java.io.IOException
GeometryCollection to <GeometryCollection
Tagged Text> format, then appends it to the writer.
geometryCollection - the GeometryCollection to processwriter - the output writer to append to
java.io.IOException
protected void appendPointText(KaboumCoordinate coordinate,
java.io.Writer writer)
throws java.io.IOException
Coordinate to <Point Text> format, then
appends it to the writer.
coordinate - the Coordinate to processwriter - the output writer to append to
java.io.IOException
protected void appendCoordinate(KaboumCoordinate coordinate,
java.io.Writer writer)
throws java.io.IOException
Coordinate to <Point> format, then appends
it to the writer.
coordinate - the Coordinate to processwriter - the output writer to append to
java.io.IOException
protected void appendLineStringText(KaboumLineString lineString,
java.io.Writer writer)
throws java.io.IOException
LineString to <LineString Text> format, then
appends it to the writer.
lineString - the LineString to processwriter - the output writer to append to
java.io.IOException
protected void appendPolygonText(KaboumPolygon polygon,
java.io.Writer writer)
throws java.io.IOException
Polygon to <Polygon Text> format, then
appends it to the writer.
polygon - the Polygon to processwriter - the output writer to append to
java.io.IOException
protected void appendMultiPointText(KaboumMultiPoint multiPoint,
java.io.Writer writer)
throws java.io.IOException
MultiPoint to <MultiPoint Text> format, then
appends it to the writer.
multiPoint - the MultiPoint to processwriter - the output writer to append to
java.io.IOException
protected void appendMultiLineStringText(KaboumMultiLineString multiLineString,
java.io.Writer writer)
throws java.io.IOException
MultiLineString to <MultiLineString Text>
format, then appends it to the writer.
multiLineString - the MultiLineString to processwriter - the output writer to append to
java.io.IOException
protected void appendMultiPolygonText(KaboumMultiPolygon multiPolygon,
java.io.Writer writer)
throws java.io.IOException
MultiPolygon to <MultiPolygon Text> format,
then appends it to the writer.
multiPolygon - the MultiPolygon to processwriter - the output writer to append to
java.io.IOException
protected void appendGeometryCollectionText(KaboumGeometryCollection geometryCollection,
java.io.Writer writer)
throws java.io.IOException
GeometryCollection to <GeometryCollectionText>
format, then appends it to the writer.
geometryCollection - the GeometryCollection to processwriter - the output writer to append to
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||