root / branches / v2_0_0_prep / frameworks / _fwAndami / src / org / gvsig / andami / persistence / generate / PluginsStatus.java @ 29593
History | View | Annotate | Download (5.07 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: PluginsStatus.java 29593 2009-06-29 15:54:31Z jpiera $
|
6 |
*/
|
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 |
package org.gvsig.andami.persistence.generate; |
49 |
|
50 |
//---------------------------------/
|
51 |
//- Imported classes and packages -/
|
52 |
//---------------------------------/
|
53 |
|
54 |
import org.exolab.castor.xml.Marshaller; |
55 |
import org.exolab.castor.xml.Unmarshaller; |
56 |
|
57 |
/**
|
58 |
* Class PluginsStatus.
|
59 |
*
|
60 |
* @version $Revision: 29593 $ $Date: 2009-06-29 17:54:31 +0200 (Mon, 29 Jun 2009) $
|
61 |
*/
|
62 |
public class PluginsStatus implements java.io.Serializable { |
63 |
|
64 |
|
65 |
//--------------------------/
|
66 |
//- Class/Member Variables -/
|
67 |
//--------------------------/
|
68 |
|
69 |
/**
|
70 |
* Field _plugin
|
71 |
*/
|
72 |
private org.gvsig.andami.persistence.generate.Plugin _plugin;
|
73 |
|
74 |
/**
|
75 |
* Field _toolBars
|
76 |
*/
|
77 |
private org.gvsig.andami.persistence.generate.ToolBars _toolBars;
|
78 |
|
79 |
|
80 |
//----------------/
|
81 |
//- Constructors -/
|
82 |
//----------------/
|
83 |
|
84 |
public PluginsStatus() {
|
85 |
super();
|
86 |
} //-- com.iver.andami.persistence.generate.PluginsStatus()
|
87 |
|
88 |
|
89 |
//-----------/
|
90 |
//- Methods -/
|
91 |
//-----------/
|
92 |
|
93 |
/**
|
94 |
* Returns the value of field 'plugin'.
|
95 |
*
|
96 |
* @return the value of field 'plugin'.
|
97 |
*/
|
98 |
public org.gvsig.andami.persistence.generate.Plugin getPlugin()
|
99 |
{ |
100 |
return this._plugin; |
101 |
} //-- com.iver.andami.persistence.generate.Plugin getPlugin()
|
102 |
|
103 |
/**
|
104 |
* Returns the value of field 'toolBars'.
|
105 |
*
|
106 |
* @return the value of field 'toolBars'.
|
107 |
*/
|
108 |
public org.gvsig.andami.persistence.generate.ToolBars getToolBars()
|
109 |
{ |
110 |
return this._toolBars; |
111 |
} //-- com.iver.andami.persistence.generate.ToolBars getToolBars()
|
112 |
|
113 |
/**
|
114 |
* Method isValid
|
115 |
*/
|
116 |
public boolean isValid() |
117 |
{ |
118 |
try {
|
119 |
validate(); |
120 |
} |
121 |
catch (org.exolab.castor.xml.ValidationException vex) {
|
122 |
return false; |
123 |
} |
124 |
return true; |
125 |
} //-- boolean isValid()
|
126 |
|
127 |
/**
|
128 |
* Method marshal
|
129 |
*
|
130 |
* @param out
|
131 |
*/
|
132 |
public void marshal(java.io.Writer out) |
133 |
throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
|
134 |
{ |
135 |
|
136 |
Marshaller.marshal(this, out);
|
137 |
} //-- void marshal(java.io.Writer)
|
138 |
|
139 |
/**
|
140 |
* Method marshal
|
141 |
*
|
142 |
* @param handler
|
143 |
*/
|
144 |
public void marshal(org.xml.sax.ContentHandler handler) |
145 |
throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
|
146 |
{ |
147 |
|
148 |
Marshaller.marshal(this, handler);
|
149 |
} //-- void marshal(org.xml.sax.ContentHandler)
|
150 |
|
151 |
/**
|
152 |
* Sets the value of field 'plugin'.
|
153 |
*
|
154 |
* @param plugin the value of field 'plugin'.
|
155 |
*/
|
156 |
public void setPlugin(org.gvsig.andami.persistence.generate.Plugin plugin) |
157 |
{ |
158 |
this._plugin = plugin;
|
159 |
} //-- void setPlugin(com.iver.andami.persistence.generate.Plugin)
|
160 |
|
161 |
/**
|
162 |
* Sets the value of field 'toolBars'.
|
163 |
*
|
164 |
* @param toolBars the value of field 'toolBars'.
|
165 |
*/
|
166 |
public void setToolBars(org.gvsig.andami.persistence.generate.ToolBars toolBars) |
167 |
{ |
168 |
this._toolBars = toolBars;
|
169 |
} //-- void setToolBars(com.iver.andami.persistence.generate.ToolBars)
|
170 |
|
171 |
/**
|
172 |
* Method unmarshal
|
173 |
*
|
174 |
* @param reader
|
175 |
*/
|
176 |
public static java.lang.Object unmarshal(java.io.Reader reader) |
177 |
throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
|
178 |
{ |
179 |
return (org.gvsig.andami.persistence.generate.PluginsStatus) Unmarshaller.unmarshal(org.gvsig.andami.persistence.generate.PluginsStatus.class, reader);
|
180 |
} //-- java.lang.Object unmarshal(java.io.Reader)
|
181 |
|
182 |
/**
|
183 |
* Method validate
|
184 |
*/
|
185 |
public void validate() |
186 |
throws org.exolab.castor.xml.ValidationException
|
187 |
{ |
188 |
org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
|
189 |
validator.validate(this);
|
190 |
} //-- void validate()
|
191 |
|
192 |
} |