Revision 12071 trunk/libraries/libGPE/src/org/gvsig/gpe/GPEContentHandler.java

View differences:

GPEContentHandler.java
1 1
package org.gvsig.gpe;
2

  
3
import org.gvsig.gpe.schema.som.IXSSchemaDocument;
4
import org.gvsig.gpe.schema.som.impl.XSSchemaDocumentImpl;
5

  
2 6
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
3 7
 *
4 8
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
......
43 47
 *
44 48
 * $Id$
45 49
 * $Log$
46
 * Revision 1.13  2007-05-15 12:09:18  jorpiell
50
 * Revision 1.14  2007-06-07 14:52:28  jorpiell
51
 * Add the schema support
52
 *
53
 * Revision 1.13  2007/05/15 12:09:18  jorpiell
47 54
 * The bbox is linked to the feature
48 55
 *
49 56
 * Revision 1.12  2007/05/09 10:25:45  jorpiell
......
88 95
 * @author Carlos S?nchez Peri??n (sanchez_carper@gva.es)
89 96
 */
90 97
public abstract class GPEContentHandler implements IGPEContentHandler {
98
	private IXSSchemaDocument schemaMap = null;
99
	
100
	/**
101
	 * @return the schemaMap
102
	 */
103
	public IXSSchemaDocument getSchemaMap() {
104
		if (schemaMap == null){
105
			schemaMap = new XSSchemaDocumentImpl();
106
		}
107
		return schemaMap;
108
	}
91 109

  
110
	/**
111
	 * @param schemaMap the schemaMap to set
112
	 */
113
	public void setSchemaMap(IXSSchemaDocument schemaMap) {
114
		this.schemaMap = schemaMap;
115
	}
116

  
92 117
	public void addBboxToFeature(Object bbox, Object feature) {
93 118
		// TODO Auto-generated method stub
94 119
		
......
199 224
		return null;
200 225
	}
201 226

  
202
	public Object startElement(String name, Object value, Object type, Object parentElement) {
227
	public Object startElement(String name, Object value, String xsElementName, Object parentElement) {
203 228
		// TODO Auto-generated method stub
204 229
		return null;
205 230
	}
206 231

  
207
	public Object startFeature(String id, String name, Object layer) {
232
	public Object startFeature(String id, String name, String xsElementName, Object layer) {
208 233
		// TODO Auto-generated method stub
209 234
		return null;
210 235
	}
......
214 239
		return null;
215 240
	}
216 241

  
217
	public Object startLayer(String id, String name, String description, String srs, Object parentLayer, Object bBox) {
242
	public Object startLayer(String id, String name, String description, String srs, Object parentLayer, Object bBox, String xsElementName) {
218 243
		// TODO Auto-generated method stub
219 244
		return null;
220 245
	}

Also available in: Unified diff