Statistics
| Revision:

root / trunk / frameworks / _fwAndami / src / com / iver / andami / persistence / generate / ToolBar.java @ 598

History | View | Annotate | Download (4.36 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: ToolBar.java 598 2004-12-22 10:11:38Z fernando $
6
 */
7

    
8
package com.iver.andami.persistence.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 ToolBar.
26
 * 
27
 * @version $Revision: 598 $ $Date: 2004-12-22 11:11:38 +0100 (Wed, 22 Dec 2004) $
28
 */
29
public class ToolBar implements java.io.Serializable {
30

    
31

    
32
      //--------------------------/
33
     //- Class/Member Variables -/
34
    //--------------------------/
35

    
36
    /**
37
     * Field _xPosition
38
     */
39
    private java.lang.String _xPosition;
40

    
41
    /**
42
     * Field _yPosition
43
     */
44
    private java.lang.String _yPosition;
45

    
46
    /**
47
     * Field _name
48
     */
49
    private java.lang.String _name;
50

    
51

    
52
      //----------------/
53
     //- Constructors -/
54
    //----------------/
55

    
56
    public ToolBar() {
57
        super();
58
    } //-- com.iver.andami.persistence.generate.ToolBar()
59

    
60

    
61
      //-----------/
62
     //- Methods -/
63
    //-----------/
64

    
65
    /**
66
     * Returns the value of field 'name'.
67
     * 
68
     * @return the value of field 'name'.
69
     */
70
    public java.lang.String getName()
71
    {
72
        return this._name;
73
    } //-- java.lang.String getName() 
74

    
75
    /**
76
     * Returns the value of field 'xPosition'.
77
     * 
78
     * @return the value of field 'xPosition'.
79
     */
80
    public java.lang.String getXPosition()
81
    {
82
        return this._xPosition;
83
    } //-- java.lang.String getXPosition() 
84

    
85
    /**
86
     * Returns the value of field 'yPosition'.
87
     * 
88
     * @return the value of field 'yPosition'.
89
     */
90
    public java.lang.String getYPosition()
91
    {
92
        return this._yPosition;
93
    } //-- java.lang.String getYPosition() 
94

    
95
    /**
96
     * Method isValid
97
     */
98
    public boolean isValid()
99
    {
100
        try {
101
            validate();
102
        }
103
        catch (org.exolab.castor.xml.ValidationException vex) {
104
            return false;
105
        }
106
        return true;
107
    } //-- boolean isValid() 
108

    
109
    /**
110
     * Method marshal
111
     * 
112
     * @param out
113
     */
114
    public void marshal(java.io.Writer out)
115
        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
116
    {
117
        
118
        Marshaller.marshal(this, out);
119
    } //-- void marshal(java.io.Writer) 
120

    
121
    /**
122
     * Method marshal
123
     * 
124
     * @param handler
125
     */
126
    public void marshal(org.xml.sax.ContentHandler handler)
127
        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
128
    {
129
        
130
        Marshaller.marshal(this, handler);
131
    } //-- void marshal(org.xml.sax.ContentHandler) 
132

    
133
    /**
134
     * Sets the value of field 'name'.
135
     * 
136
     * @param name the value of field 'name'.
137
     */
138
    public void setName(java.lang.String name)
139
    {
140
        this._name = name;
141
    } //-- void setName(java.lang.String) 
142

    
143
    /**
144
     * Sets the value of field 'xPosition'.
145
     * 
146
     * @param xPosition the value of field 'xPosition'.
147
     */
148
    public void setXPosition(java.lang.String xPosition)
149
    {
150
        this._xPosition = xPosition;
151
    } //-- void setXPosition(java.lang.String) 
152

    
153
    /**
154
     * Sets the value of field 'yPosition'.
155
     * 
156
     * @param yPosition the value of field 'yPosition'.
157
     */
158
    public void setYPosition(java.lang.String yPosition)
159
    {
160
        this._yPosition = yPosition;
161
    } //-- void setYPosition(java.lang.String) 
162

    
163
    /**
164
     * Method unmarshal
165
     * 
166
     * @param reader
167
     */
168
    public static java.lang.Object unmarshal(java.io.Reader reader)
169
        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
170
    {
171
        return (com.iver.andami.persistence.generate.ToolBar) Unmarshaller.unmarshal(com.iver.andami.persistence.generate.ToolBar.class, reader);
172
    } //-- java.lang.Object unmarshal(java.io.Reader) 
173

    
174
    /**
175
     * Method validate
176
     */
177
    public void validate()
178
        throws org.exolab.castor.xml.ValidationException
179
    {
180
        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
181
        validator.validate(this);
182
    } //-- void validate() 
183

    
184
}