Statistics
| Revision:

root / branches / v2_0_0_prep / frameworks / _fwAndami / src / org / gvsig / andami / config / generate / IconTheme.java @ 29593

History | View | Annotate | Download (5.25 KB)

1
/*
2
 * This class was automatically generated with 
3
 * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
4
 * Schema.
5
 * $Id$
6
 */
7

    
8
package org.gvsig.andami.config.generate;
9

    
10
  //---------------------------------/
11
 //- Imported classes and packages -/
12
//---------------------------------/
13

    
14
import org.exolab.castor.xml.Marshaller;
15
import org.exolab.castor.xml.Unmarshaller;
16

    
17
/**
18
 * Class IconTheme.
19
 * 
20
 * @version $Revision$ $Date$
21
 */
22
public class IconTheme implements java.io.Serializable {
23

    
24

    
25
      //--------------------------/
26
     //- Class/Member Variables -/
27
    //--------------------------/
28

    
29
    /**
30
     * Field _name
31
     */
32
    private java.lang.String _name;
33

    
34
    /**
35
     * Field _description
36
     */
37
    private java.lang.String _description;
38

    
39
    /**
40
     * Field _version
41
     */
42
    private java.lang.String _version;
43

    
44
    /**
45
     * Field _resource
46
     */
47
    private java.lang.String _resource;
48

    
49
    /**
50
     * Field _basedir
51
     */
52
    private java.lang.String _basedir;
53

    
54

    
55
      //----------------/
56
     //- Constructors -/
57
    //----------------/
58

    
59
    public IconTheme() {
60
        super();
61
    } //-- com.iver.andami.config.generate.IconTheme()
62

    
63

    
64
      //-----------/
65
     //- Methods -/
66
    //-----------/
67

    
68
    /**
69
     * Returns the value of field 'basedir'.
70
     * 
71
     * @return the value of field 'basedir'.
72
     */
73
    public java.lang.String getBasedir()
74
    {
75
        return this._basedir;
76
    } //-- java.lang.String getBasedir() 
77

    
78
    /**
79
     * Returns the value of field 'description'.
80
     * 
81
     * @return the value of field 'description'.
82
     */
83
    public java.lang.String getDescription()
84
    {
85
        return this._description;
86
    } //-- java.lang.String getDescription() 
87

    
88
    /**
89
     * Returns the value of field 'name'.
90
     * 
91
     * @return the value of field 'name'.
92
     */
93
    public java.lang.String getName()
94
    {
95
        return this._name;
96
    } //-- java.lang.String getName() 
97

    
98
    /**
99
     * Returns the value of field 'resource'.
100
     * 
101
     * @return the value of field 'resource'.
102
     */
103
    public java.lang.String getResource()
104
    {
105
        return this._resource;
106
    } //-- java.lang.String getResource() 
107

    
108
    /**
109
     * Returns the value of field 'version'.
110
     * 
111
     * @return the value of field 'version'.
112
     */
113
    public java.lang.String getVersion()
114
    {
115
        return this._version;
116
    } //-- java.lang.String getVersion() 
117

    
118
    /**
119
     * Method isValid
120
     */
121
    public boolean isValid()
122
    {
123
        try {
124
            validate();
125
        }
126
        catch (org.exolab.castor.xml.ValidationException vex) {
127
            return false;
128
        }
129
        return true;
130
    } //-- boolean isValid() 
131

    
132
    /**
133
     * Method marshal
134
     * 
135
     * @param out
136
     */
137
    public void marshal(java.io.Writer out)
138
        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
139
    {
140
        
141
        Marshaller.marshal(this, out);
142
    } //-- void marshal(java.io.Writer) 
143

    
144
    /**
145
     * Method marshal
146
     * 
147
     * @param handler
148
     */
149
    public void marshal(org.xml.sax.ContentHandler handler)
150
        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
151
    {
152
        
153
        Marshaller.marshal(this, handler);
154
    } //-- void marshal(org.xml.sax.ContentHandler) 
155

    
156
    /**
157
     * Sets the value of field 'basedir'.
158
     * 
159
     * @param basedir the value of field 'basedir'.
160
     */
161
    public void setBasedir(java.lang.String basedir)
162
    {
163
        this._basedir = basedir;
164
    } //-- void setBasedir(java.lang.String) 
165

    
166
    /**
167
     * Sets the value of field 'description'.
168
     * 
169
     * @param description the value of field 'description'.
170
     */
171
    public void setDescription(java.lang.String description)
172
    {
173
        this._description = description;
174
    } //-- void setDescription(java.lang.String) 
175

    
176
    /**
177
     * Sets the value of field 'name'.
178
     * 
179
     * @param name the value of field 'name'.
180
     */
181
    public void setName(java.lang.String name)
182
    {
183
        this._name = name;
184
    } //-- void setName(java.lang.String) 
185

    
186
    /**
187
     * Sets the value of field 'resource'.
188
     * 
189
     * @param resource the value of field 'resource'.
190
     */
191
    public void setResource(java.lang.String resource)
192
    {
193
        this._resource = resource;
194
    } //-- void setResource(java.lang.String) 
195

    
196
    /**
197
     * Sets the value of field 'version'.
198
     * 
199
     * @param version the value of field 'version'.
200
     */
201
    public void setVersion(java.lang.String version)
202
    {
203
        this._version = version;
204
    } //-- void setVersion(java.lang.String) 
205

    
206
    /**
207
     * Method unmarshal
208
     * 
209
     * @param reader
210
     */
211
    public static java.lang.Object unmarshal(java.io.Reader reader)
212
        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
213
    {
214
        return (org.gvsig.andami.config.generate.IconTheme) Unmarshaller.unmarshal(org.gvsig.andami.config.generate.IconTheme.class, reader);
215
    } //-- java.lang.Object unmarshal(java.io.Reader) 
216

    
217
    /**
218
     * Method validate
219
     */
220
    public void validate()
221
        throws org.exolab.castor.xml.ValidationException
222
    {
223
        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
224
        validator.validate(this);
225
    } //-- void validate() 
226

    
227
}