Revision 19367 trunk/libraries/libGPE-KML/src/org/gvsig/gpe/kml/writer/v21/geometries/PointWriter.java
PointWriter.java | ||
---|---|---|
4 | 4 |
|
5 | 5 |
import org.gvsig.gpe.kml.KmlTags; |
6 | 6 |
import org.gvsig.gpe.kml.writer.GPEKmlWriterHandlerImplementor; |
7 |
import org.gvsig.gpe.xml.writer.Writer; |
|
7 |
import org.gvsig.gpe.xml.writer.IWriter;
|
|
8 | 8 |
|
9 | 9 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
10 | 10 |
* |
... | ... | |
96 | 96 |
* Meters above sea level |
97 | 97 |
* @throws IOException |
98 | 98 |
*/ |
99 |
public void start(Writer writer, GPEKmlWriterHandlerImplementor handler, String id, double longitude, double latitude, |
|
99 |
public void start(IWriter writer, GPEKmlWriterHandlerImplementor handler, String id, double longitude, double latitude,
|
|
100 | 100 |
double altitude) throws IOException{ |
101 | 101 |
handler.getProfile().getGeometryWriter().startGeometry(writer, handler, KmlTags.POINT, id); |
102 | 102 |
handler.getProfile().getCoordinatesWriter().write(writer, handler, longitude, latitude, altitude); |
... | ... | |
110 | 110 |
* The writer handler implementor |
111 | 111 |
* @throws IOException |
112 | 112 |
*/ |
113 |
public void end(Writer writer, GPEKmlWriterHandlerImplementor handler) throws IOException{ |
|
113 |
public void end(IWriter writer, GPEKmlWriterHandlerImplementor handler) throws IOException{
|
|
114 | 114 |
handler.getProfile().getGeometryWriter().endGeometry(writer, handler, KmlTags.POINT); |
115 | 115 |
} |
116 | 116 |
} |
Also available in: Unified diff