svn-gvsig-desktop / trunk / frameworks / _fwAndami / src / com / iver / andami / plugins / config / generate / ComboScale.java @ 6431
History | View | Annotate | Download (4.96 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: ComboScale.java 6431 2006-07-19 10:41:35Z cesar $
|
6 |
*/
|
7 |
|
8 |
package com.iver.andami.plugins.config.generate; |
9 |
|
10 |
//---------------------------------/
|
11 |
//- Imported classes and packages -/
|
12 |
//---------------------------------/
|
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; |
19 |
import org.exolab.castor.xml.Marshaller; |
20 |
import org.exolab.castor.xml.Unmarshaller; |
21 |
import org.exolab.castor.xml.ValidationException; |
22 |
import org.xml.sax.ContentHandler; |
23 |
|
24 |
/**
|
25 |
* Class ComboScale.
|
26 |
*
|
27 |
* @version $Revision: 6431 $ $Date: 2006-07-19 12:41:35 +0200 (Wed, 19 Jul 2006) $
|
28 |
*/
|
29 |
public class ComboScale implements java.io.Serializable { |
30 |
|
31 |
|
32 |
//--------------------------/
|
33 |
//- Class/Member Variables -/
|
34 |
//--------------------------/
|
35 |
|
36 |
/**
|
37 |
* Field _name
|
38 |
*/
|
39 |
private java.lang.Object _name;
|
40 |
|
41 |
/**
|
42 |
* Field _elements
|
43 |
*/
|
44 |
private java.lang.Object _elements;
|
45 |
|
46 |
/**
|
47 |
* Field _value
|
48 |
*/
|
49 |
private java.lang.Object _value;
|
50 |
|
51 |
/**
|
52 |
* Field _actionCommand
|
53 |
*/
|
54 |
private java.lang.Object _actionCommand;
|
55 |
|
56 |
|
57 |
//----------------/
|
58 |
//- Constructors -/
|
59 |
//----------------/
|
60 |
|
61 |
public ComboScale() {
|
62 |
super();
|
63 |
} //-- com.iver.andami.plugins.config.generate.ComboScale()
|
64 |
|
65 |
|
66 |
//-----------/
|
67 |
//- Methods -/
|
68 |
//-----------/
|
69 |
|
70 |
/**
|
71 |
* Returns the value of field 'actionCommand'.
|
72 |
*
|
73 |
* @return the value of field 'actionCommand'.
|
74 |
*/
|
75 |
public java.lang.Object getActionCommand()
|
76 |
{ |
77 |
return this._actionCommand; |
78 |
} //-- java.lang.Object getActionCommand()
|
79 |
|
80 |
/**
|
81 |
* Returns the value of field 'elements'.
|
82 |
*
|
83 |
* @return the value of field 'elements'.
|
84 |
*/
|
85 |
public java.lang.Object getElements()
|
86 |
{ |
87 |
return this._elements; |
88 |
} //-- java.lang.Object getElements()
|
89 |
|
90 |
/**
|
91 |
* Returns the value of field 'name'.
|
92 |
*
|
93 |
* @return the value of field 'name'.
|
94 |
*/
|
95 |
public java.lang.Object getName()
|
96 |
{ |
97 |
return this._name; |
98 |
} //-- java.lang.Object getName()
|
99 |
|
100 |
/**
|
101 |
* Returns the value of field 'value'.
|
102 |
*
|
103 |
* @return the value of field 'value'.
|
104 |
*/
|
105 |
public java.lang.Object getValue()
|
106 |
{ |
107 |
return this._value; |
108 |
} //-- java.lang.Object getValue()
|
109 |
|
110 |
/**
|
111 |
* Method isValid
|
112 |
*/
|
113 |
public boolean isValid() |
114 |
{ |
115 |
try {
|
116 |
validate(); |
117 |
} |
118 |
catch (org.exolab.castor.xml.ValidationException vex) {
|
119 |
return false; |
120 |
} |
121 |
return true; |
122 |
} //-- boolean isValid()
|
123 |
|
124 |
/**
|
125 |
* Method marshal
|
126 |
*
|
127 |
* @param out
|
128 |
*/
|
129 |
public void marshal(java.io.Writer out) |
130 |
throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
|
131 |
{ |
132 |
|
133 |
Marshaller.marshal(this, out);
|
134 |
} //-- void marshal(java.io.Writer)
|
135 |
|
136 |
/**
|
137 |
* Method marshal
|
138 |
*
|
139 |
* @param handler
|
140 |
*/
|
141 |
public void marshal(org.xml.sax.ContentHandler handler) |
142 |
throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
|
143 |
{ |
144 |
|
145 |
Marshaller.marshal(this, handler);
|
146 |
} //-- void marshal(org.xml.sax.ContentHandler)
|
147 |
|
148 |
/**
|
149 |
* Sets the value of field 'actionCommand'.
|
150 |
*
|
151 |
* @param actionCommand the value of field 'actionCommand'.
|
152 |
*/
|
153 |
public void setActionCommand(java.lang.Object actionCommand) |
154 |
{ |
155 |
this._actionCommand = actionCommand;
|
156 |
} //-- void setActionCommand(java.lang.Object)
|
157 |
|
158 |
/**
|
159 |
* Sets the value of field 'elements'.
|
160 |
*
|
161 |
* @param elements the value of field 'elements'.
|
162 |
*/
|
163 |
public void setElements(java.lang.Object elements) |
164 |
{ |
165 |
this._elements = elements;
|
166 |
} //-- void setElements(java.lang.Object)
|
167 |
|
168 |
/**
|
169 |
* Sets the value of field 'name'.
|
170 |
*
|
171 |
* @param name the value of field 'name'.
|
172 |
*/
|
173 |
public void setName(java.lang.Object name) |
174 |
{ |
175 |
this._name = name;
|
176 |
} //-- void setName(java.lang.Object)
|
177 |
|
178 |
/**
|
179 |
* Sets the value of field 'value'.
|
180 |
*
|
181 |
* @param value the value of field 'value'.
|
182 |
*/
|
183 |
public void setValue(java.lang.Object value) |
184 |
{ |
185 |
this._value = value;
|
186 |
} //-- void setValue(java.lang.Object)
|
187 |
|
188 |
/**
|
189 |
* Method unmarshal
|
190 |
*
|
191 |
* @param reader
|
192 |
*/
|
193 |
public static java.lang.Object unmarshal(java.io.Reader reader) |
194 |
throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
|
195 |
{ |
196 |
return (com.iver.andami.plugins.config.generate.ComboScale) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.ComboScale.class, reader);
|
197 |
} //-- java.lang.Object unmarshal(java.io.Reader)
|
198 |
|
199 |
/**
|
200 |
* Method validate
|
201 |
*/
|
202 |
public void validate() |
203 |
throws org.exolab.castor.xml.ValidationException
|
204 |
{ |
205 |
org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
|
206 |
validator.validate(this);
|
207 |
} //-- void validate()
|
208 |
|
209 |
} |