Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libWMSv0 / src / com / iver / wmsclient / wms_1_1_1 / capabilities / ContactFacsimileTelephone.java @ 150

History | View | Annotate | Download (3.33 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: ContactFacsimileTelephone.java 150 2004-09-23 09:35:29Z fernando $
6
 */
7

    
8
package com.iver.wmsclient.wms_1_1_1.capabilities;
9

    
10
  //---------------------------------/
11
 //- Imported classes and packages -/
12
//---------------------------------/
13

    
14
import org.exolab.castor.xml.Marshaller;
15
import org.exolab.castor.xml.Unmarshaller;
16

    
17
/**
18
 * Class ContactFacsimileTelephone.
19
 * 
20
 * @version $Revision: 150 $ $Date: 2004-09-23 11:35:29 +0200 (Thu, 23 Sep 2004) $
21
 */
22
public class ContactFacsimileTelephone implements java.io.Serializable {
23

    
24

    
25
      //--------------------------/
26
     //- Class/Member Variables -/
27
    //--------------------------/
28

    
29
    /**
30
     * internal content storage
31
     */
32
    private java.lang.String _content = "";
33

    
34

    
35
      //----------------/
36
     //- Constructors -/
37
    //----------------/
38

    
39
    public ContactFacsimileTelephone() {
40
        super();
41
        setContent("");
42
    } //-- com.iver.wmsclient.wms_1_1_1.capabilities.ContactFacsimileTelephone()
43

    
44

    
45
      //-----------/
46
     //- Methods -/
47
    //-----------/
48

    
49
    /**
50
     * Returns the value of field 'content'. The field 'content'
51
     * has the following description: internal content storage
52
     * 
53
     * @return the value of field 'content'.
54
     */
55
    public java.lang.String getContent()
56
    {
57
        return this._content;
58
    } //-- java.lang.String getContent() 
59

    
60
    /**
61
     * Method isValid
62
     */
63
    public boolean isValid()
64
    {
65
        try {
66
            validate();
67
        }
68
        catch (org.exolab.castor.xml.ValidationException vex) {
69
            return false;
70
        }
71
        return true;
72
    } //-- boolean isValid() 
73

    
74
    /**
75
     * Method marshal
76
     * 
77
     * @param out
78
     */
79
    public void marshal(java.io.Writer out)
80
        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
81
    {
82
        
83
        Marshaller.marshal(this, out);
84
    } //-- void marshal(java.io.Writer) 
85

    
86
    /**
87
     * Method marshal
88
     * 
89
     * @param handler
90
     */
91
    public void marshal(org.xml.sax.ContentHandler handler)
92
        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
93
    {
94
        
95
        Marshaller.marshal(this, handler);
96
    } //-- void marshal(org.xml.sax.ContentHandler) 
97

    
98
    /**
99
     * Sets the value of field 'content'. The field 'content' has
100
     * the following description: internal content storage
101
     * 
102
     * @param content the value of field 'content'.
103
     */
104
    public void setContent(java.lang.String content)
105
    {
106
        this._content = content;
107
    } //-- void setContent(java.lang.String) 
108

    
109
    /**
110
     * Method unmarshal
111
     * 
112
     * @param reader
113
     */
114
    public static java.lang.Object unmarshal(java.io.Reader reader)
115
        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
116
    {
117
        return (com.iver.wmsclient.wms_1_1_1.capabilities.ContactFacsimileTelephone) Unmarshaller.unmarshal(com.iver.wmsclient.wms_1_1_1.capabilities.ContactFacsimileTelephone.class, reader);
118
    } //-- java.lang.Object unmarshal(java.io.Reader) 
119

    
120
    /**
121
     * Method validate
122
     */
123
    public void validate()
124
        throws org.exolab.castor.xml.ValidationException
125
    {
126
        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
127
        validator.validate(this);
128
    } //-- void validate() 
129

    
130
}