Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.framework / org.gvsig.andami / src / main / java / org / gvsig / andami / persistence / generate / ToolBar.java @ 40596

History | View | Annotate | Download (5.17 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
/*
25
 * This class was automatically generated with 
26
 * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
27
 * Schema.
28
 * $Id: ToolBar.java 29593 2009-06-29 15:54:31Z jpiera $
29
 */
30

    
31
package org.gvsig.andami.persistence.generate;
32

    
33
  //---------------------------------/
34
 //- Imported classes and packages -/
35
//---------------------------------/
36

    
37
import org.exolab.castor.xml.Marshaller;
38
import org.exolab.castor.xml.Unmarshaller;
39

    
40
/**
41
 * Class ToolBar.
42
 * 
43
 * @version $Revision: 29593 $ $Date: 2009-06-29 17:54:31 +0200 (lun, 29 jun 2009) $
44
 */
45
public class ToolBar implements java.io.Serializable {
46

    
47

    
48
      //--------------------------/
49
     //- Class/Member Variables -/
50
    //--------------------------/
51

    
52
    /**
53
     * Field _xPosition
54
     */
55
    private java.lang.String _xPosition;
56

    
57
    /**
58
     * Field _yPosition
59
     */
60
    private java.lang.String _yPosition;
61

    
62
    /**
63
     * Field _name
64
     */
65
    private java.lang.String _name;
66

    
67

    
68
      //----------------/
69
     //- Constructors -/
70
    //----------------/
71

    
72
    public ToolBar() {
73
        super();
74
    } //-- com.iver.andami.persistence.generate.ToolBar()
75

    
76

    
77
      //-----------/
78
     //- Methods -/
79
    //-----------/
80

    
81
    /**
82
     * Returns the value of field 'name'.
83
     * 
84
     * @return the value of field 'name'.
85
     */
86
    public java.lang.String getName()
87
    {
88
        return this._name;
89
    } //-- java.lang.String getName() 
90

    
91
    /**
92
     * Returns the value of field 'xPosition'.
93
     * 
94
     * @return the value of field 'xPosition'.
95
     */
96
    public java.lang.String getXPosition()
97
    {
98
        return this._xPosition;
99
    } //-- java.lang.String getXPosition() 
100

    
101
    /**
102
     * Returns the value of field 'yPosition'.
103
     * 
104
     * @return the value of field 'yPosition'.
105
     */
106
    public java.lang.String getYPosition()
107
    {
108
        return this._yPosition;
109
    } //-- java.lang.String getYPosition() 
110

    
111
    /**
112
     * Method isValid
113
     */
114
    public boolean isValid()
115
    {
116
        try {
117
            validate();
118
        }
119
        catch (org.exolab.castor.xml.ValidationException vex) {
120
            return false;
121
        }
122
        return true;
123
    } //-- boolean isValid() 
124

    
125
    /**
126
     * Method marshal
127
     * 
128
     * @param out
129
     */
130
    public void marshal(java.io.Writer out)
131
        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
132
    {
133
        
134
        Marshaller.marshal(this, out);
135
    } //-- void marshal(java.io.Writer) 
136

    
137
    /**
138
     * Method marshal
139
     * 
140
     * @param handler
141
     */
142
    public void marshal(org.xml.sax.ContentHandler handler)
143
        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
144
    {
145
        
146
        Marshaller.marshal(this, handler);
147
    } //-- void marshal(org.xml.sax.ContentHandler) 
148

    
149
    /**
150
     * Sets the value of field 'name'.
151
     * 
152
     * @param name the value of field 'name'.
153
     */
154
    public void setName(java.lang.String name)
155
    {
156
        this._name = name;
157
    } //-- void setName(java.lang.String) 
158

    
159
    /**
160
     * Sets the value of field 'xPosition'.
161
     * 
162
     * @param xPosition the value of field 'xPosition'.
163
     */
164
    public void setXPosition(java.lang.String xPosition)
165
    {
166
        this._xPosition = xPosition;
167
    } //-- void setXPosition(java.lang.String) 
168

    
169
    /**
170
     * Sets the value of field 'yPosition'.
171
     * 
172
     * @param yPosition the value of field 'yPosition'.
173
     */
174
    public void setYPosition(java.lang.String yPosition)
175
    {
176
        this._yPosition = yPosition;
177
    } //-- void setYPosition(java.lang.String) 
178

    
179
    /**
180
     * Method unmarshal
181
     * 
182
     * @param reader
183
     */
184
    public static java.lang.Object unmarshal(java.io.Reader reader)
185
        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
186
    {
187
        return (org.gvsig.andami.persistence.generate.ToolBar) Unmarshaller.unmarshal(org.gvsig.andami.persistence.generate.ToolBar.class, reader);
188
    } //-- java.lang.Object unmarshal(java.io.Reader) 
189

    
190
    /**
191
     * Method validate
192
     */
193
    public void validate()
194
        throws org.exolab.castor.xml.ValidationException
195
    {
196
        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
197
        validator.validate(this);
198
    } //-- void validate() 
199

    
200
}