Revision 2616 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/store/serializer/GeoPointListRmfSerializer.java

View differences:

GeoPointListRmfSerializer.java
185 185
		gp.setActive(Boolean.valueOf(parserString(parser, ACTIVE, null)).booleanValue());
186 186
	}
187 187

  
188
	/*
189
	 * (non-Javadoc)
190
	 * @see org.gvsig.raster.dataset.io.rmf.IRmfBlock#read(java.lang.String)
191
	 */
192 188
	public void read(String xml) throws ParsingException {
193 189
		ArrayList<GeoPointImpl> list = new ArrayList<GeoPointImpl>();
194 190
		GeoPointImpl gp = null;
195 191
		boolean init = false;
196
		int nPoint = -1;
197 192
		boolean tagOk = false;
198 193
		boolean vpRead = false;
199 194

  
......
222 217
								if (parser.getName().compareTo(GEOPOINT) == 0) {
223 218
									gp = new GeoPointImpl();
224 219
									tagOk = true;
225
									nPoint++;
226 220
								}
227 221
							}
228 222
							break;
......
252 246
			gpList.add((GeoPointImpl) list.get(i));
253 247
	}
254 248

  
255
	/*
256
	 * (non-Javadoc)
257
	 * @see org.gvsig.raster.dataset.io.rmf.IRmfBlock#write()
258
	 */
259 249
	public String write() {
260 250
		if(gpList == null || gpList.size() == 0)
261 251
			return null;
......
277 267
		return b.toString();
278 268
	}
279 269

  
280
	/*
281
	 * (non-Javadoc)
282
	 * @see org.gvsig.raster.dataset.io.rmf.IRmfBlock#getResult()
283
	 */
284 270
	public Object getResult() {
285 271
		return gpList;
286 272
	}
......
292 278
	public DefaultViewPortData getViewPort() {
293 279
		return viewPort;
294 280
	}
295

  
296
	/*
297
	 *  (non-Javadoc)
298
	 * @see org.gvsig.raster.dataset.io.rmf.IRmfBlock#getMainTag()
299
	 */
281
	
300 282
	public String getMainTag() {
301 283
		return MAIN_TAG;
302 284
	}

Also available in: Unified diff