Revision 19367 trunk/libraries/libGPE-KML/src/org/gvsig/gpe/kml/writer/v21/geometries/GeometriesWriter.java

View differences:

GeometriesWriter.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
 *
......
86 86
	 * Geometry id
87 87
	 * @throws IOException
88 88
	 */
89
	public void startGeometry(Writer writer, GPEKmlWriterHandlerImplementor handler, String tagName,String id) throws IOException{
89
	public void startGeometry(IWriter writer, GPEKmlWriterHandlerImplementor handler, String tagName,String id) throws IOException{
90 90
		writer.write("\n");
91 91
		writer.write("<" + tagName);
92 92
		if (id != null){
......
105 105
	 * Geometry tag name
106 106
	 * @throws IOException
107 107
	 */
108
	public void endGeometry(Writer writer, GPEKmlWriterHandlerImplementor hanlder,String tagName) throws IOException{
108
	public void endGeometry(IWriter writer, GPEKmlWriterHandlerImplementor hanlder,String tagName) throws IOException{
109 109
		writer.write("\n");
110 110
		writer.write("</" + tagName + ">");
111 111
	}

Also available in: Unified diff