Revision 5378 branches/MULTITHREADING_DEVELOPMENT/libraries/libRemoteServices/src/org/gvsig/remoteClient/wms/wms_1_3_0/WMSProtocolHandler1_3_0.java

View differences:

WMSProtocolHandler1_3_0.java
13 13

  
14 14
import org.gvsig.remoteClient.utils.CapabilitiesTags;
15 15
import org.gvsig.remoteClient.utils.ExceptionTags;
16
import org.gvsig.remoteClient.wms.WMSLayer;
17
import org.gvsig.remoteClient.wms.WMSProtocolHandler.ServiceInformation;
16 18
import org.kxml2.io.KXmlParser;
17 19
import org.xmlpull.v1.XmlPullParserException;
18 20

  
......
28 30
	{
29 31
		this.version = "1.3.0";
30 32
		this.name = "WMS1.3.0";
31
		this.serviceInfo = new ServiceInformation(); 
32
		this.layers = new TreeMap();		   
33
		this.layers = new TreeMap();
33 34
	}
34 35
    
35 36
//------------------------------------------------------------------------------
......
40 41
 * 
41 42
 */
42 43
    public void parse(File f)
43
    {       
44
    {      
45
    	layers.clear();
46
    	rootLayer = null;
47
    	serviceInfo = new ServiceInformation(); 
44 48
    	FileReader reader = null;    	
45 49
    	try
46 50
    	{

Also available in: Unified diff