svn-gvsig-desktop / branches / v2_0_0_prep / extensions / extRasterTools-SE / src / org / gvsig / fmap / raster / layers / DefaultLayerConfiguration.java @ 28995
History | View | Annotate | Download (2.56 KB)
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2005 IVER T.I. and Generalitat Valenciana.
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* as published by the Free Software Foundation; either version 2
|
8 |
* of the License, or (at your option) any later version.
|
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
* GNU General Public License for more details.
|
14 |
*
|
15 |
* You should have received a copy of the GNU General Public License
|
16 |
* along with this program; if not, write to the Free Software
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
18 |
*/
|
19 |
package org.gvsig.fmap.raster.layers; |
20 |
/**
|
21 |
* DefaultLayerConfiguration sirve para aquellos objetos que no puedan usar la
|
22 |
* configuracion de PluginServices, devolviendo siempre el valor por defecto.
|
23 |
*
|
24 |
* @version 14/01/2008
|
25 |
* @author BorSanZa - Borja S?nchez Zamorano (borja.sanchez@iver.es)
|
26 |
*/
|
27 |
public class DefaultLayerConfiguration implements IConfiguration { |
28 |
|
29 |
/*
|
30 |
* (non-Javadoc)
|
31 |
* @see org.gvsig.fmap.raster.conf.IConfiguration#getValueBoolean(java.lang.String, java.lang.Boolean)
|
32 |
*/
|
33 |
public Boolean getValueBoolean(String name, Boolean defaultValue) { |
34 |
return defaultValue;
|
35 |
} |
36 |
|
37 |
/*
|
38 |
* (non-Javadoc)
|
39 |
* @see org.gvsig.fmap.raster.conf.IConfiguration#getValueDouble(java.lang.String, java.lang.Double)
|
40 |
*/
|
41 |
public Double getValueDouble(String name, Double defaultValue) { |
42 |
return defaultValue;
|
43 |
} |
44 |
|
45 |
/*
|
46 |
* (non-Javadoc)
|
47 |
* @see org.gvsig.fmap.raster.conf.IConfiguration#getValueFloat(java.lang.String, java.lang.Float)
|
48 |
*/
|
49 |
public Float getValueFloat(String name, Float defaultValue) { |
50 |
return defaultValue;
|
51 |
} |
52 |
|
53 |
/*
|
54 |
* (non-Javadoc)
|
55 |
* @see org.gvsig.fmap.raster.conf.IConfiguration#getValueInteger(java.lang.String, java.lang.Integer)
|
56 |
*/
|
57 |
public Integer getValueInteger(String name, Integer defaultValue) { |
58 |
return defaultValue;
|
59 |
} |
60 |
|
61 |
/*
|
62 |
* (non-Javadoc)
|
63 |
* @see org.gvsig.fmap.raster.conf.IConfiguration#getValueLong(java.lang.String, java.lang.Long)
|
64 |
*/
|
65 |
public Long getValueLong(String name, Long defaultValue) { |
66 |
return defaultValue;
|
67 |
} |
68 |
|
69 |
/*
|
70 |
* (non-Javadoc)
|
71 |
* @see org.gvsig.fmap.raster.conf.IConfiguration#getValueString(java.lang.String, java.lang.String)
|
72 |
*/
|
73 |
public String getValueString(String name, String defaultValue) { |
74 |
return defaultValue;
|
75 |
} |
76 |
} |