Revision 2956 trunk/libraries/libWMSv0/src/com/iver/wmsclient/wms_1_1_1/capabilities/Dimension.java
Dimension.java | ||
---|---|---|
5 | 5 |
* $Id$ |
6 | 6 |
*/ |
7 | 7 |
|
8 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
9 |
* |
|
10 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
11 |
* |
|
12 |
* This program is free software; you can redistribute it and/or |
|
13 |
* modify it under the terms of the GNU General Public License |
|
14 |
* as published by the Free Software Foundation; either version 2 |
|
15 |
* of the License, or (at your option) any later version. |
|
16 |
* |
|
17 |
* This program is distributed in the hope that it will be useful, |
|
18 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
19 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
20 |
* GNU General Public License for more details. |
|
21 |
* |
|
22 |
* You should have received a copy of the GNU General Public License |
|
23 |
* along with this program; if not, write to the Free Software |
|
24 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
25 |
* |
|
26 |
* For more information, contact: |
|
27 |
* |
|
28 |
* Generalitat Valenciana |
|
29 |
* Conselleria d'Infraestructures i Transport |
|
30 |
* Av. Blasco Ib??ez, 50 |
|
31 |
* 46010 VALENCIA |
|
32 |
* SPAIN |
|
33 |
* |
|
34 |
* +34 963862235 |
|
35 |
* gvsig@gva.es |
|
36 |
* www.gvsig.gva.es |
|
37 |
* |
|
38 |
* or |
|
39 |
* |
|
40 |
* IVER T.I. S.A |
|
41 |
* Salamanca 50 |
|
42 |
* 46005 Valencia |
|
43 |
* Spain |
|
44 |
* |
|
45 |
* +34 963163400 |
|
46 |
* dac@iver.es |
|
47 |
*/ |
|
48 | 8 |
package com.iver.wmsclient.wms_1_1_1.capabilities; |
49 | 9 |
|
50 | 10 |
//---------------------------------/ |
51 | 11 |
//- Imported classes and packages -/ |
52 | 12 |
//---------------------------------/ |
53 | 13 |
|
14 |
import java.io.IOException; |
|
15 |
import java.io.Reader; |
|
16 |
import java.io.Serializable; |
|
17 |
import java.io.Writer; |
|
18 |
import org.exolab.castor.xml.MarshalException; |
|
54 | 19 |
import org.exolab.castor.xml.Marshaller; |
55 | 20 |
import org.exolab.castor.xml.Unmarshaller; |
21 |
import org.exolab.castor.xml.ValidationException; |
|
22 |
import org.xml.sax.ContentHandler; |
|
56 | 23 |
|
57 | 24 |
/** |
58 | 25 |
* Class Dimension. |
... | ... | |
81 | 48 |
*/ |
82 | 49 |
private java.lang.String _unitSymbol; |
83 | 50 |
|
51 |
/** |
|
52 |
* internal content storage |
|
53 |
*/ |
|
54 |
private java.lang.String _content = ""; |
|
84 | 55 |
|
56 |
|
|
85 | 57 |
//----------------/ |
86 | 58 |
//- Constructors -/ |
87 | 59 |
//----------------/ |
88 | 60 |
|
89 | 61 |
public Dimension() { |
90 | 62 |
super(); |
63 |
setContent(""); |
|
91 | 64 |
} //-- com.iver.wmsclient.wms_1_1_1.capabilities.Dimension() |
92 | 65 |
|
93 | 66 |
|
... | ... | |
96 | 69 |
//-----------/ |
97 | 70 |
|
98 | 71 |
/** |
72 |
* Returns the value of field 'content'. The field 'content' |
|
73 |
* has the following description: internal content storage |
|
74 |
* |
|
75 |
* @return the value of field 'content'. |
|
76 |
*/ |
|
77 |
public java.lang.String getContent() |
|
78 |
{ |
|
79 |
return this._content; |
|
80 |
} //-- java.lang.String getContent() |
|
81 |
|
|
82 |
/** |
|
99 | 83 |
* Returns the value of field 'name'. |
100 | 84 |
* |
101 | 85 |
* @return the value of field 'name'. |
... | ... | |
164 | 148 |
} //-- void marshal(org.xml.sax.ContentHandler) |
165 | 149 |
|
166 | 150 |
/** |
151 |
* Sets the value of field 'content'. The field 'content' has |
|
152 |
* the following description: internal content storage |
|
153 |
* |
|
154 |
* @param content the value of field 'content'. |
|
155 |
*/ |
|
156 |
public void setContent(java.lang.String content) |
|
157 |
{ |
|
158 |
this._content = content; |
|
159 |
} //-- void setContent(java.lang.String) |
|
160 |
|
|
161 |
/** |
|
167 | 162 |
* Sets the value of field 'name'. |
168 | 163 |
* |
169 | 164 |
* @param name the value of field 'name'. |
Also available in: Unified diff