Revision 11621 trunk/libraries/libGPE-GML/src/org/gvsig/gpe/gml/writer/geometries/MultiLineStringWriter.java

View differences:

MultiLineStringWriter.java
1 1
package org.gvsig.gpe.gml.writer.geometries;
2 2

  
3 3
import java.io.IOException;
4

  
5
import org.gvsig.gpe.GPEErrorHandler;
4 6
import org.gvsig.gpe.xml.writer.Writer;
5 7

  
6 8
import org.gvsig.gpe.gml.GMLTags;
......
49 51
 *
50 52
 * $Id$
51 53
 * $Log$
52
 * Revision 1.3  2007-05-08 10:24:16  jorpiell
54
 * Revision 1.4  2007-05-14 11:18:12  jorpiell
55
 * Add the ErrorHandler to all the methods
56
 *
57
 * Revision 1.3  2007/05/08 10:24:16  jorpiell
53 58
 * Add comments to create javadocs
54 59
 *
55 60
 * Revision 1.2  2007/04/14 16:07:30  jorpiell
......
90 95
	 * It writes a gml:multiLineString init tag
91 96
	 * @param writer
92 97
	 * Writer to write the labels
98
	 * @param errorHandler
99
	 * To add the errors
93 100
	 * @param id
94 101
	 * Geometry ID
95 102
	 * @param srs
96 103
	 * Spatial reference system
97 104
	 * @throws IOException
98 105
	 */
99
	public static void start(Writer writer, String id, String srs) throws IOException{
100
		GeometriesWriter.startGeometry(writer, GMLTags.GML_MULTILINESTRING, id, srs);
106
	public static void start(Writer writer, GPEErrorHandler errorHandler, String id, String srs) throws IOException{
107
		GeometriesWriter.startGeometry(writer, errorHandler, GMLTags.GML_MULTILINESTRING, id, srs);
101 108
	}
102 109
	
103 110
	/**
104 111
	 * It writes a gml:multiLineString end tag
105 112
	 * @param writer
106 113
	 * Writer to write the labels
114
	 * @param errorHandler
115
	 * To add the errors
107 116
	 * @throws IOException
108 117
	 */
109
	public static void end(Writer writer) throws IOException{
110
		GeometriesWriter.endGeometry(writer, GMLTags.GML_MULTILINESTRING);		
118
	public static void end(Writer writer, GPEErrorHandler errorHandler) throws IOException{
119
		GeometriesWriter.endGeometry(writer, errorHandler, GMLTags.GML_MULTILINESTRING);		
111 120
	}
112 121
}

Also available in: Unified diff