Revision 2613 org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.ogc/org.gvsig.raster.wmts.ogc.impl/src/main/java/org/gvsig/raster/wmts/ogc/impl/base/WMTSStatusImpl.java

View differences:

WMTSStatusImpl.java
37 37
 */
38 38
public class WMTSStatusImpl implements WMTSStatus {
39 39
	// width and heigh of the map
40
    private int            width           = 0;
41
    private int            height          = 0;
42
    //format of the image to be retrieved
43
    private String         format          = null;
44
    // spatial reference system of the image to be retrieved
45
    private String         srs             = null;
46
    // exception format, to be retrieved in case of error
47
    private String         exceptionFormat = null;
48
    //To set if the client has to use GET or POST
49
	private int            protocol        = Tags.PROTOCOL_UNDEFINED;
50
	private String         layer           = null;
51
	private String         style           = null;
52
	private String         tileMatrixSet   = null;
53
	private String         tileMatrix      = null;
54
	private int            tileCol         = -1;
55
	private int            tileRow         = -1;
56
	private List<WMTSTile> tileList        = null;
57
	private String         infoFormat      = null;
58
	private int            level           = -1;
40
    private int            width             = 0;
41
    private int            height            = 0;
42
    private String         format            = null;
43
    private String         srs               = null;
44
    private String         exceptionFormat   = null;
45
	private int            protocol          = Tags.PROTOCOL_UNDEFINED;
46
	private String         layer             = null;
47
	private String         style             = null;
48
	private String         tileMatrixSet     = null;
49
	private String         tileMatrix        = null;
50
	private int            tileCol           = -1;
51
	private int            tileRow           = -1;
52
	private List<WMTSTile> tileList          = null;
53
	private String         infoFormat        = null;
54
	private int            level             = -1;
59 55
	private HashMap<String , String>
60
	                       resourceURL     = new HashMap<String, String>();
56
	                       resourceURL       = new HashMap<String, String>();
57
	private String         dimension         = null;
58
	private String         valueForDimension = null;
61 59
	
62 60
	public int getWidth() {        
63 61
        return width;
......
98 96
        return exceptionFormat;
99 97
    }
100 98
    
99
    public String getDimension() {
100
		return dimension;
101
	}
102

  
103
	public void setDimension(String dimension) {
104
		this.dimension = dimension;
105
	}
106

  
107
	public String getValueForDimension() {
108
		return valueForDimension;
109
	}
110

  
111
	public void setValueForDimension(String valueForDimension) {
112
		this.valueForDimension = valueForDimension;
113
	}
114
    
101 115
    /**
102 116
	 * @return the protocol
103 117
	 */
......
216 230
    	status.setInfoFormat(getInfoFormat());
217 231
    	return status;
218 232
    }
233
	
219 234
}

Also available in: Unified diff