Revision 28113 branches/v2_0_0_prep/libraries/libGPE/src/org/gvsig/gpe/parser/GPEParser.java

View differences:

GPEParser.java
2 2
import java.io.InputStream;
3 3
import java.net.URI;
4 4

  
5
import org.gvsig.gpe.GPELocator;
6
import org.gvsig.gpe.GPEManager;
5 7

  
8

  
6 9
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
7 10
 *
8 11
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
......
106 109
	private IGPEContentHandler contentHandler;
107 110
	private URI mainFile;
108 111
	private InputStream is = null;
112
	private GPEManager gpeManager = null;
109 113
		
110 114
	/** 
111 115
	 * All the GPE parser must implement an empty constructor 
112 116
	 **/
113 117
	public GPEParser(){
114 118
		super();
115
	}
119
		gpeManager = GPELocator.getGPEManager();
120
	}	
116 121
	
117 122
	/**
118 123
	 * Method to parse a file. It cannot to throw 
......
243 248
	public void setContentHandler(GPEContentHandler contentHandler) {
244 249
		this.contentHandler = contentHandler;
245 250
	}
251
	
252
	/**
253
	 * @return the gpeManager
254
	 */
255
	public GPEManager getGpeManager() {
256
		return gpeManager;
257
	}
258

  
246 259
}

Also available in: Unified diff