Revision 34269 branches/v2_0_0_prep/libraries/libRemoteServices/src/org/gvsig/remoteclient/wmts/WMTSStatus.java

View differences:

WMTSStatus.java
28 28
import org.gvsig.remoteclient.wmts.exception.WMTSException;
29 29
import org.gvsig.remoteclient.wmts.struct.WMTSLayer;
30 30
import org.gvsig.remoteclient.wmts.struct.WMTSServiceIdentification;
31
import org.gvsig.remoteclient.wmts.struct.WMTSServiceProvider;
31 32
import org.gvsig.remoteclient.wmts.struct.WMTSThemes;
32 33

  
33 34

  
......
43 44
	private ArrayList                 tileMatrixSet  = null;
44 45
	private WMTSThemes                themes         = null;
45 46
	private WMTSServiceIdentification serviceId      = null;
47
	private WMTSServiceProvider       serviceProv    = null;
46 48
	private String                    version        = null;
47 49
	
48 50
	public WMTSStatus(String version) {
......
123 125
	}
124 126
	
125 127
	/**
128
	 * Gets the layer structure
129
	 * @return
130
	 */
131
	public WMTSServiceProvider getServiceProvider() {
132
		if(serviceProv == null)
133
			serviceProv = (WMTSServiceProvider)createVersionObject("WMTSServiceProvider", version);
134
		return serviceProv;
135
	}
136
	
137
	/**
126 138
	 * Gets the list of WMTSLayer
127 139
	 */
128 140
	public ArrayList getLayerList() {

Also available in: Unified diff