Statistics
| Revision:

root / trunk / frameworks / _fwAndami / src / com / iver / andami / plugins / config / generate / ComboCoords.java @ 9956

History | View | Annotate | Download (3.23 KB)

1 9956 caballero
/*
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$
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 ComboCoords.
26
 *
27
 * @version $Revision$ $Date$
28
 */
29
public class ComboCoords implements java.io.Serializable {
30
31
32
      //--------------------------/
33
     //- Class/Member Variables -/
34
    //--------------------------/
35
36
    /**
37
     * Field _name
38
     */
39
    private java.lang.String _name;
40
41
42
      //----------------/
43
     //- Constructors -/
44
    //----------------/
45
46
    public ComboCoords() {
47
        super();
48
    } //-- com.iver.andami.plugins.config.generate.ComboCoords()
49
50
51
      //-----------/
52
     //- Methods -/
53
    //-----------/
54
55
    /**
56
     * Returns the value of field 'name'.
57
     *
58
     * @return the value of field 'name'.
59
     */
60
    public java.lang.String getName()
61
    {
62
        return this._name;
63
    } //-- java.lang.String getName()
64
65
    /**
66
     * Method isValid
67
     */
68
    public boolean isValid()
69
    {
70
        try {
71
            validate();
72
        }
73
        catch (org.exolab.castor.xml.ValidationException vex) {
74
            return false;
75
        }
76
        return true;
77
    } //-- boolean isValid()
78
79
    /**
80
     * Method marshal
81
     *
82
     * @param out
83
     */
84
    public void marshal(java.io.Writer out)
85
        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
86
    {
87
88
        Marshaller.marshal(this, out);
89
    } //-- void marshal(java.io.Writer)
90
91
    /**
92
     * Method marshal
93
     *
94
     * @param handler
95
     */
96
    public void marshal(org.xml.sax.ContentHandler handler)
97
        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
98
    {
99
100
        Marshaller.marshal(this, handler);
101
    } //-- void marshal(org.xml.sax.ContentHandler)
102
103
    /**
104
     * Sets the value of field 'name'.
105
     *
106
     * @param name the value of field 'name'.
107
     */
108
    public void setName(java.lang.String name)
109
    {
110
        this._name = name;
111
    } //-- void setName(java.lang.String)
112
113
    /**
114
     * Method unmarshal
115
     *
116
     * @param reader
117
     */
118
    public static java.lang.Object unmarshal(java.io.Reader reader)
119
        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
120
    {
121
        return (com.iver.andami.plugins.config.generate.ComboCoords) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.ComboCoords.class, reader);
122
    } //-- java.lang.Object unmarshal(java.io.Reader)
123
124
    /**
125
     * Method validate
126
     */
127
    public void validate()
128
        throws org.exolab.castor.xml.ValidationException
129
    {
130
        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
131
        validator.validate(this);
132
    } //-- void validate()
133
134
}