Statistics
| Revision:

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

History | View | Annotate | Download (21.6 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 29593 2009-06-29 15:54:31Z jpiera $
6
 */
7

    
8
package org.gvsig.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 java.util.Enumeration;
19
import java.util.Vector;
20
import org.exolab.castor.xml.MarshalException;
21
import org.exolab.castor.xml.Marshaller;
22
import org.exolab.castor.xml.Unmarshaller;
23
import org.exolab.castor.xml.ValidationException;
24
import org.xml.sax.ContentHandler;
25

    
26
/**
27
 * Class ToolBar.
28
 * 
29
 * @version $Revision: 29593 $ $Date: 2009-06-29 17:54:31 +0200 (Mon, 29 Jun 2009) $
30
 */
31
public class ToolBar implements java.io.Serializable {
32

    
33

    
34
      //--------------------------/
35
     //- Class/Member Variables -/
36
    //--------------------------/
37

    
38
    /**
39
     * Field _name
40
     */
41
    private java.lang.String _name;
42

    
43
    /**
44
     * Field _position
45
     */
46
    private int _position = 50;
47

    
48
    /**
49
     * keeps track of state for field: _position
50
     */
51
    private boolean _has_position;
52

    
53
    /**
54
     * Field _isVisible
55
     */
56
    private boolean _isVisible = true;
57

    
58
    /**
59
     * keeps track of state for field: _isVisible
60
     */
61
    private boolean _has_isVisible;
62

    
63
    /**
64
     * Field _actionToolList
65
     */
66
    private java.util.Vector _actionToolList;
67

    
68
    /**
69
     * Field _selectableToolList
70
     */
71
    private java.util.Vector _selectableToolList;
72

    
73
    /**
74
     * Field _comboButtonList
75
     */
76
    private java.util.Vector _comboButtonList;
77

    
78
    /**
79
     * Field _comboScaleList
80
     */
81
    private java.util.Vector _comboScaleList;
82

    
83

    
84
      //----------------/
85
     //- Constructors -/
86
    //----------------/
87

    
88
    public ToolBar() {
89
        super();
90
        _actionToolList = new Vector();
91
        _selectableToolList = new Vector();
92
        _comboButtonList = new Vector();
93
        _comboScaleList = new Vector();
94
    } //-- com.iver.andami.plugins.config.generate.ToolBar()
95

    
96

    
97
      //-----------/
98
     //- Methods -/
99
    //-----------/
100

    
101
    /**
102
     * Method addActionTool
103
     * 
104
     * @param vActionTool
105
     */
106
    public void addActionTool(org.gvsig.andami.plugins.config.generate.ActionTool vActionTool)
107
        throws java.lang.IndexOutOfBoundsException
108
    {
109
        _actionToolList.addElement(vActionTool);
110
    } //-- void addActionTool(com.iver.andami.plugins.config.generate.ActionTool) 
111

    
112
    /**
113
     * Method addActionTool
114
     * 
115
     * @param index
116
     * @param vActionTool
117
     */
118
    public void addActionTool(int index, org.gvsig.andami.plugins.config.generate.ActionTool vActionTool)
119
        throws java.lang.IndexOutOfBoundsException
120
    {
121
        _actionToolList.insertElementAt(vActionTool, index);
122
    } //-- void addActionTool(int, com.iver.andami.plugins.config.generate.ActionTool) 
123

    
124
    /**
125
     * Method addComboButton
126
     * 
127
     * @param vComboButton
128
     */
129
    public void addComboButton(org.gvsig.andami.plugins.config.generate.ComboButton vComboButton)
130
        throws java.lang.IndexOutOfBoundsException
131
    {
132
        _comboButtonList.addElement(vComboButton);
133
    } //-- void addComboButton(com.iver.andami.plugins.config.generate.ComboButton) 
134

    
135
    /**
136
     * Method addComboButton
137
     * 
138
     * @param index
139
     * @param vComboButton
140
     */
141
    public void addComboButton(int index, org.gvsig.andami.plugins.config.generate.ComboButton vComboButton)
142
        throws java.lang.IndexOutOfBoundsException
143
    {
144
        _comboButtonList.insertElementAt(vComboButton, index);
145
    } //-- void addComboButton(int, com.iver.andami.plugins.config.generate.ComboButton) 
146

    
147
    /**
148
     * Method addComboScale
149
     * 
150
     * @param vComboScale
151
     */
152
    public void addComboScale(org.gvsig.andami.plugins.config.generate.ComboScale vComboScale)
153
        throws java.lang.IndexOutOfBoundsException
154
    {
155
        _comboScaleList.addElement(vComboScale);
156
    } //-- void addComboScale(com.iver.andami.plugins.config.generate.ComboScale) 
157

    
158
    /**
159
     * Method addComboScale
160
     * 
161
     * @param index
162
     * @param vComboScale
163
     */
164
    public void addComboScale(int index, org.gvsig.andami.plugins.config.generate.ComboScale vComboScale)
165
        throws java.lang.IndexOutOfBoundsException
166
    {
167
        _comboScaleList.insertElementAt(vComboScale, index);
168
    } //-- void addComboScale(int, com.iver.andami.plugins.config.generate.ComboScale) 
169

    
170
    /**
171
     * Method addSelectableTool
172
     * 
173
     * @param vSelectableTool
174
     */
175
    public void addSelectableTool(org.gvsig.andami.plugins.config.generate.SelectableTool vSelectableTool)
176
        throws java.lang.IndexOutOfBoundsException
177
    {
178
        _selectableToolList.addElement(vSelectableTool);
179
    } //-- void addSelectableTool(com.iver.andami.plugins.config.generate.SelectableTool) 
180

    
181
    /**
182
     * Method addSelectableTool
183
     * 
184
     * @param index
185
     * @param vSelectableTool
186
     */
187
    public void addSelectableTool(int index, org.gvsig.andami.plugins.config.generate.SelectableTool vSelectableTool)
188
        throws java.lang.IndexOutOfBoundsException
189
    {
190
        _selectableToolList.insertElementAt(vSelectableTool, index);
191
    } //-- void addSelectableTool(int, com.iver.andami.plugins.config.generate.SelectableTool) 
192

    
193
    /**
194
     * Method deleteIsVisible
195
     */
196
    public void deleteIsVisible()
197
    {
198
        this._has_isVisible= false;
199
    } //-- void deleteIsVisible() 
200

    
201
    /**
202
     * Method deletePosition
203
     */
204
    public void deletePosition()
205
    {
206
        this._has_position= false;
207
    } //-- void deletePosition() 
208

    
209
    /**
210
     * Method enumerateActionTool
211
     */
212
    public java.util.Enumeration enumerateActionTool()
213
    {
214
        return _actionToolList.elements();
215
    } //-- java.util.Enumeration enumerateActionTool() 
216

    
217
    /**
218
     * Method enumerateComboButton
219
     */
220
    public java.util.Enumeration enumerateComboButton()
221
    {
222
        return _comboButtonList.elements();
223
    } //-- java.util.Enumeration enumerateComboButton() 
224

    
225
    /**
226
     * Method enumerateComboScale
227
     */
228
    public java.util.Enumeration enumerateComboScale()
229
    {
230
        return _comboScaleList.elements();
231
    } //-- java.util.Enumeration enumerateComboScale() 
232

    
233
    /**
234
     * Method enumerateSelectableTool
235
     */
236
    public java.util.Enumeration enumerateSelectableTool()
237
    {
238
        return _selectableToolList.elements();
239
    } //-- java.util.Enumeration enumerateSelectableTool() 
240

    
241
    /**
242
     * Method getActionTool
243
     * 
244
     * @param index
245
     */
246
    public org.gvsig.andami.plugins.config.generate.ActionTool getActionTool(int index)
247
        throws java.lang.IndexOutOfBoundsException
248
    {
249
        //-- check bounds for index
250
        if ((index < 0) || (index > _actionToolList.size())) {
251
            throw new IndexOutOfBoundsException();
252
        }
253
        
254
        return (org.gvsig.andami.plugins.config.generate.ActionTool) _actionToolList.elementAt(index);
255
    } //-- com.iver.andami.plugins.config.generate.ActionTool getActionTool(int) 
256

    
257
    /**
258
     * Method getActionTool
259
     */
260
    public org.gvsig.andami.plugins.config.generate.ActionTool[] getActionTool()
261
    {
262
        int size = _actionToolList.size();
263
        org.gvsig.andami.plugins.config.generate.ActionTool[] mArray = new org.gvsig.andami.plugins.config.generate.ActionTool[size];
264
        for (int index = 0; index < size; index++) {
265
            mArray[index] = (org.gvsig.andami.plugins.config.generate.ActionTool) _actionToolList.elementAt(index);
266
        }
267
        return mArray;
268
    } //-- com.iver.andami.plugins.config.generate.ActionTool[] getActionTool() 
269

    
270
    /**
271
     * Method getActionToolCount
272
     */
273
    public int getActionToolCount()
274
    {
275
        return _actionToolList.size();
276
    } //-- int getActionToolCount() 
277

    
278
    /**
279
     * Method getComboButton
280
     * 
281
     * @param index
282
     */
283
    public org.gvsig.andami.plugins.config.generate.ComboButton getComboButton(int index)
284
        throws java.lang.IndexOutOfBoundsException
285
    {
286
        //-- check bounds for index
287
        if ((index < 0) || (index > _comboButtonList.size())) {
288
            throw new IndexOutOfBoundsException();
289
        }
290
        
291
        return (org.gvsig.andami.plugins.config.generate.ComboButton) _comboButtonList.elementAt(index);
292
    } //-- com.iver.andami.plugins.config.generate.ComboButton getComboButton(int) 
293

    
294
    /**
295
     * Method getComboButton
296
     */
297
    public org.gvsig.andami.plugins.config.generate.ComboButton[] getComboButton()
298
    {
299
        int size = _comboButtonList.size();
300
        org.gvsig.andami.plugins.config.generate.ComboButton[] mArray = new org.gvsig.andami.plugins.config.generate.ComboButton[size];
301
        for (int index = 0; index < size; index++) {
302
            mArray[index] = (org.gvsig.andami.plugins.config.generate.ComboButton) _comboButtonList.elementAt(index);
303
        }
304
        return mArray;
305
    } //-- com.iver.andami.plugins.config.generate.ComboButton[] getComboButton() 
306

    
307
    /**
308
     * Method getComboButtonCount
309
     */
310
    public int getComboButtonCount()
311
    {
312
        return _comboButtonList.size();
313
    } //-- int getComboButtonCount() 
314

    
315
    /**
316
     * Method getComboScale
317
     * 
318
     * @param index
319
     */
320
    public org.gvsig.andami.plugins.config.generate.ComboScale getComboScale(int index)
321
        throws java.lang.IndexOutOfBoundsException
322
    {
323
        //-- check bounds for index
324
        if ((index < 0) || (index > _comboScaleList.size())) {
325
            throw new IndexOutOfBoundsException();
326
        }
327
        
328
        return (org.gvsig.andami.plugins.config.generate.ComboScale) _comboScaleList.elementAt(index);
329
    } //-- com.iver.andami.plugins.config.generate.ComboScale getComboScale(int) 
330

    
331
    /**
332
     * Method getComboScale
333
     */
334
    public org.gvsig.andami.plugins.config.generate.ComboScale[] getComboScale()
335
    {
336
        int size = _comboScaleList.size();
337
        org.gvsig.andami.plugins.config.generate.ComboScale[] mArray = new org.gvsig.andami.plugins.config.generate.ComboScale[size];
338
        for (int index = 0; index < size; index++) {
339
            mArray[index] = (org.gvsig.andami.plugins.config.generate.ComboScale) _comboScaleList.elementAt(index);
340
        }
341
        return mArray;
342
    } //-- com.iver.andami.plugins.config.generate.ComboScale[] getComboScale() 
343

    
344
    /**
345
     * Method getComboScaleCount
346
     */
347
    public int getComboScaleCount()
348
    {
349
        return _comboScaleList.size();
350
    } //-- int getComboScaleCount() 
351

    
352
    /**
353
     * Returns the value of field 'isVisible'.
354
     * 
355
     * @return the value of field 'isVisible'.
356
     */
357
    public boolean getIsVisible()
358
    {
359
        return this._isVisible;
360
    } //-- boolean getIsVisible() 
361

    
362
    /**
363
     * Returns the value of field 'name'.
364
     * 
365
     * @return the value of field 'name'.
366
     */
367
    public java.lang.String getName()
368
    {
369
        return this._name;
370
    } //-- java.lang.String getName() 
371

    
372
    /**
373
     * Returns the value of field 'position'.
374
     * 
375
     * @return the value of field 'position'.
376
     */
377
    public int getPosition()
378
    {
379
        return this._position;
380
    } //-- int getPosition() 
381

    
382
    /**
383
     * Method getSelectableTool
384
     * 
385
     * @param index
386
     */
387
    public org.gvsig.andami.plugins.config.generate.SelectableTool getSelectableTool(int index)
388
        throws java.lang.IndexOutOfBoundsException
389
    {
390
        //-- check bounds for index
391
        if ((index < 0) || (index > _selectableToolList.size())) {
392
            throw new IndexOutOfBoundsException();
393
        }
394
        
395
        return (org.gvsig.andami.plugins.config.generate.SelectableTool) _selectableToolList.elementAt(index);
396
    } //-- com.iver.andami.plugins.config.generate.SelectableTool getSelectableTool(int) 
397

    
398
    /**
399
     * Method getSelectableTool
400
     */
401
    public org.gvsig.andami.plugins.config.generate.SelectableTool[] getSelectableTool()
402
    {
403
        int size = _selectableToolList.size();
404
        org.gvsig.andami.plugins.config.generate.SelectableTool[] mArray = new org.gvsig.andami.plugins.config.generate.SelectableTool[size];
405
        for (int index = 0; index < size; index++) {
406
            mArray[index] = (org.gvsig.andami.plugins.config.generate.SelectableTool) _selectableToolList.elementAt(index);
407
        }
408
        return mArray;
409
    } //-- com.iver.andami.plugins.config.generate.SelectableTool[] getSelectableTool() 
410

    
411
    /**
412
     * Method getSelectableToolCount
413
     */
414
    public int getSelectableToolCount()
415
    {
416
        return _selectableToolList.size();
417
    } //-- int getSelectableToolCount() 
418

    
419
    /**
420
     * Method hasIsVisible
421
     */
422
    public boolean hasIsVisible()
423
    {
424
        return this._has_isVisible;
425
    } //-- boolean hasIsVisible() 
426

    
427
    /**
428
     * Method hasPosition
429
     */
430
    public boolean hasPosition()
431
    {
432
        return this._has_position;
433
    } //-- boolean hasPosition() 
434

    
435
    /**
436
     * Method isValid
437
     */
438
    public boolean isValid()
439
    {
440
        try {
441
            validate();
442
        }
443
        catch (org.exolab.castor.xml.ValidationException vex) {
444
            return false;
445
        }
446
        return true;
447
    } //-- boolean isValid() 
448

    
449
    /**
450
     * Method marshal
451
     * 
452
     * @param out
453
     */
454
    public void marshal(java.io.Writer out)
455
        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
456
    {
457
        
458
        Marshaller.marshal(this, out);
459
    } //-- void marshal(java.io.Writer) 
460

    
461
    /**
462
     * Method marshal
463
     * 
464
     * @param handler
465
     */
466
    public void marshal(org.xml.sax.ContentHandler handler)
467
        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
468
    {
469
        
470
        Marshaller.marshal(this, handler);
471
    } //-- void marshal(org.xml.sax.ContentHandler) 
472

    
473
    /**
474
     * Method removeActionTool
475
     * 
476
     * @param index
477
     */
478
    public org.gvsig.andami.plugins.config.generate.ActionTool removeActionTool(int index)
479
    {
480
        java.lang.Object obj = _actionToolList.elementAt(index);
481
        _actionToolList.removeElementAt(index);
482
        return (org.gvsig.andami.plugins.config.generate.ActionTool) obj;
483
    } //-- com.iver.andami.plugins.config.generate.ActionTool removeActionTool(int) 
484

    
485
    /**
486
     * Method removeAllActionTool
487
     */
488
    public void removeAllActionTool()
489
    {
490
        _actionToolList.removeAllElements();
491
    } //-- void removeAllActionTool() 
492

    
493
    /**
494
     * Method removeAllComboButton
495
     */
496
    public void removeAllComboButton()
497
    {
498
        _comboButtonList.removeAllElements();
499
    } //-- void removeAllComboButton() 
500

    
501
    /**
502
     * Method removeAllComboScale
503
     */
504
    public void removeAllComboScale()
505
    {
506
        _comboScaleList.removeAllElements();
507
    } //-- void removeAllComboScale() 
508

    
509
    /**
510
     * Method removeAllSelectableTool
511
     */
512
    public void removeAllSelectableTool()
513
    {
514
        _selectableToolList.removeAllElements();
515
    } //-- void removeAllSelectableTool() 
516

    
517
    /**
518
     * Method removeComboButton
519
     * 
520
     * @param index
521
     */
522
    public org.gvsig.andami.plugins.config.generate.ComboButton removeComboButton(int index)
523
    {
524
        java.lang.Object obj = _comboButtonList.elementAt(index);
525
        _comboButtonList.removeElementAt(index);
526
        return (org.gvsig.andami.plugins.config.generate.ComboButton) obj;
527
    } //-- com.iver.andami.plugins.config.generate.ComboButton removeComboButton(int) 
528

    
529
    /**
530
     * Method removeComboScale
531
     * 
532
     * @param index
533
     */
534
    public org.gvsig.andami.plugins.config.generate.ComboScale removeComboScale(int index)
535
    {
536
        java.lang.Object obj = _comboScaleList.elementAt(index);
537
        _comboScaleList.removeElementAt(index);
538
        return (org.gvsig.andami.plugins.config.generate.ComboScale) obj;
539
    } //-- com.iver.andami.plugins.config.generate.ComboScale removeComboScale(int) 
540

    
541
    /**
542
     * Method removeSelectableTool
543
     * 
544
     * @param index
545
     */
546
    public org.gvsig.andami.plugins.config.generate.SelectableTool removeSelectableTool(int index)
547
    {
548
        java.lang.Object obj = _selectableToolList.elementAt(index);
549
        _selectableToolList.removeElementAt(index);
550
        return (org.gvsig.andami.plugins.config.generate.SelectableTool) obj;
551
    } //-- com.iver.andami.plugins.config.generate.SelectableTool removeSelectableTool(int) 
552

    
553
    /**
554
     * Method setActionTool
555
     * 
556
     * @param index
557
     * @param vActionTool
558
     */
559
    public void setActionTool(int index, org.gvsig.andami.plugins.config.generate.ActionTool vActionTool)
560
        throws java.lang.IndexOutOfBoundsException
561
    {
562
        //-- check bounds for index
563
        if ((index < 0) || (index > _actionToolList.size())) {
564
            throw new IndexOutOfBoundsException();
565
        }
566
        _actionToolList.setElementAt(vActionTool, index);
567
    } //-- void setActionTool(int, com.iver.andami.plugins.config.generate.ActionTool) 
568

    
569
    /**
570
     * Method setActionTool
571
     * 
572
     * @param actionToolArray
573
     */
574
    public void setActionTool(org.gvsig.andami.plugins.config.generate.ActionTool[] actionToolArray)
575
    {
576
        //-- copy array
577
        _actionToolList.removeAllElements();
578
        for (int i = 0; i < actionToolArray.length; i++) {
579
            _actionToolList.addElement(actionToolArray[i]);
580
        }
581
    } //-- void setActionTool(com.iver.andami.plugins.config.generate.ActionTool) 
582

    
583
    /**
584
     * Method setComboButton
585
     * 
586
     * @param index
587
     * @param vComboButton
588
     */
589
    public void setComboButton(int index, org.gvsig.andami.plugins.config.generate.ComboButton vComboButton)
590
        throws java.lang.IndexOutOfBoundsException
591
    {
592
        //-- check bounds for index
593
        if ((index < 0) || (index > _comboButtonList.size())) {
594
            throw new IndexOutOfBoundsException();
595
        }
596
        _comboButtonList.setElementAt(vComboButton, index);
597
    } //-- void setComboButton(int, com.iver.andami.plugins.config.generate.ComboButton) 
598

    
599
    /**
600
     * Method setComboButton
601
     * 
602
     * @param comboButtonArray
603
     */
604
    public void setComboButton(org.gvsig.andami.plugins.config.generate.ComboButton[] comboButtonArray)
605
    {
606
        //-- copy array
607
        _comboButtonList.removeAllElements();
608
        for (int i = 0; i < comboButtonArray.length; i++) {
609
            _comboButtonList.addElement(comboButtonArray[i]);
610
        }
611
    } //-- void setComboButton(com.iver.andami.plugins.config.generate.ComboButton) 
612

    
613
    /**
614
     * Method setComboScale
615
     * 
616
     * @param index
617
     * @param vComboScale
618
     */
619
    public void setComboScale(int index, org.gvsig.andami.plugins.config.generate.ComboScale vComboScale)
620
        throws java.lang.IndexOutOfBoundsException
621
    {
622
        //-- check bounds for index
623
        if ((index < 0) || (index > _comboScaleList.size())) {
624
            throw new IndexOutOfBoundsException();
625
        }
626
        _comboScaleList.setElementAt(vComboScale, index);
627
    } //-- void setComboScale(int, com.iver.andami.plugins.config.generate.ComboScale) 
628

    
629
    /**
630
     * Method setComboScale
631
     * 
632
     * @param comboScaleArray
633
     */
634
    public void setComboScale(org.gvsig.andami.plugins.config.generate.ComboScale[] comboScaleArray)
635
    {
636
        //-- copy array
637
        _comboScaleList.removeAllElements();
638
        for (int i = 0; i < comboScaleArray.length; i++) {
639
            _comboScaleList.addElement(comboScaleArray[i]);
640
        }
641
    } //-- void setComboScale(com.iver.andami.plugins.config.generate.ComboScale) 
642

    
643
    /**
644
     * Sets the value of field 'isVisible'.
645
     * 
646
     * @param isVisible the value of field 'isVisible'.
647
     */
648
    public void setIsVisible(boolean isVisible)
649
    {
650
        this._isVisible = isVisible;
651
        this._has_isVisible = true;
652
    } //-- void setIsVisible(boolean) 
653

    
654
    /**
655
     * Sets the value of field 'name'.
656
     * 
657
     * @param name the value of field 'name'.
658
     */
659
    public void setName(java.lang.String name)
660
    {
661
        this._name = name;
662
    } //-- void setName(java.lang.String) 
663

    
664
    /**
665
     * Sets the value of field 'position'.
666
     * 
667
     * @param position the value of field 'position'.
668
     */
669
    public void setPosition(int position)
670
    {
671
        this._position = position;
672
        this._has_position = true;
673
    } //-- void setPosition(int) 
674

    
675
    /**
676
     * Method setSelectableTool
677
     * 
678
     * @param index
679
     * @param vSelectableTool
680
     */
681
    public void setSelectableTool(int index, org.gvsig.andami.plugins.config.generate.SelectableTool vSelectableTool)
682
        throws java.lang.IndexOutOfBoundsException
683
    {
684
        //-- check bounds for index
685
        if ((index < 0) || (index > _selectableToolList.size())) {
686
            throw new IndexOutOfBoundsException();
687
        }
688
        _selectableToolList.setElementAt(vSelectableTool, index);
689
    } //-- void setSelectableTool(int, com.iver.andami.plugins.config.generate.SelectableTool) 
690

    
691
    /**
692
     * Method setSelectableTool
693
     * 
694
     * @param selectableToolArray
695
     */
696
    public void setSelectableTool(org.gvsig.andami.plugins.config.generate.SelectableTool[] selectableToolArray)
697
    {
698
        //-- copy array
699
        _selectableToolList.removeAllElements();
700
        for (int i = 0; i < selectableToolArray.length; i++) {
701
            _selectableToolList.addElement(selectableToolArray[i]);
702
        }
703
    } //-- void setSelectableTool(com.iver.andami.plugins.config.generate.SelectableTool) 
704

    
705
    /**
706
     * Method unmarshal
707
     * 
708
     * @param reader
709
     */
710
    public static java.lang.Object unmarshal(java.io.Reader reader)
711
        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
712
    {
713
        return (org.gvsig.andami.plugins.config.generate.ToolBar) Unmarshaller.unmarshal(org.gvsig.andami.plugins.config.generate.ToolBar.class, reader);
714
    } //-- java.lang.Object unmarshal(java.io.Reader) 
715

    
716
    /**
717
     * Method validate
718
     */
719
    public void validate()
720
        throws org.exolab.castor.xml.ValidationException
721
    {
722
        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
723
        validator.validate(this);
724
    } //-- void validate() 
725

    
726
}