Statistics
| Revision:

root / trunk / libraries / libWMSv0 / src / com / iver / wmsclient / wms_1_0_0 / capabilities / VendorSpecificCapabilities.java @ 150

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

    
8
package com.iver.wmsclient.wms_1_0_0.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 VendorSpecificCapabilities.
19
 * 
20
 * @version $Revision: 150 $ $Date: 2004-09-23 11:35:29 +0200 (Thu, 23 Sep 2004) $
21
 */
22
public class VendorSpecificCapabilities implements java.io.Serializable {
23

    
24

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

    
29
    /**
30
     * Field _anyObject
31
     */
32
    private java.lang.Object _anyObject;
33

    
34

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

    
39
    public VendorSpecificCapabilities() {
40
        super();
41
    } //-- com.iver.wmsclient.wms_1_0_0.capabilities.VendorSpecificCapabilities()
42

    
43

    
44
      //-----------/
45
     //- Methods -/
46
    //-----------/
47

    
48
    /**
49
     * Returns the value of field 'anyObject'.
50
     * 
51
     * @return the value of field 'anyObject'.
52
     */
53
    public java.lang.Object getAnyObject()
54
    {
55
        return this._anyObject;
56
    } //-- java.lang.Object getAnyObject() 
57

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

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

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

    
96
    /**
97
     * Sets the value of field 'anyObject'.
98
     * 
99
     * @param anyObject the value of field 'anyObject'.
100
     */
101
    public void setAnyObject(java.lang.Object anyObject)
102
    {
103
        this._anyObject = anyObject;
104
    } //-- void setAnyObject(java.lang.Object) 
105

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

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

    
127
}