svn-gvsig-desktop / trunk / frameworks / _fwAndami / src / com / iver / andami / plugins / config / generate / Depends.java @ 6431
History | View | Annotate | Download (3.29 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: Depends.java 6431 2006-07-19 10:41:35Z cesar $
|
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 Depends.
|
26 |
*
|
27 |
* @version $Revision: 6431 $ $Date: 2006-07-19 12:41:35 +0200 (Wed, 19 Jul 2006) $
|
28 |
*/
|
29 |
public class Depends implements java.io.Serializable { |
30 |
|
31 |
|
32 |
//--------------------------/
|
33 |
//- Class/Member Variables -/
|
34 |
//--------------------------/
|
35 |
|
36 |
/**
|
37 |
* Field _pluginName
|
38 |
*/
|
39 |
private java.lang.String _pluginName;
|
40 |
|
41 |
|
42 |
//----------------/
|
43 |
//- Constructors -/
|
44 |
//----------------/
|
45 |
|
46 |
public Depends() {
|
47 |
super();
|
48 |
} //-- com.iver.andami.plugins.config.generate.Depends()
|
49 |
|
50 |
|
51 |
//-----------/
|
52 |
//- Methods -/
|
53 |
//-----------/
|
54 |
|
55 |
/**
|
56 |
* Returns the value of field 'pluginName'.
|
57 |
*
|
58 |
* @return the value of field 'pluginName'.
|
59 |
*/
|
60 |
public java.lang.String getPluginName()
|
61 |
{ |
62 |
return this._pluginName; |
63 |
} //-- java.lang.String getPluginName()
|
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 'pluginName'.
|
105 |
*
|
106 |
* @param pluginName the value of field 'pluginName'.
|
107 |
*/
|
108 |
public void setPluginName(java.lang.String pluginName) |
109 |
{ |
110 |
this._pluginName = pluginName;
|
111 |
} //-- void setPluginName(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.Depends) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.Depends.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 |
} |