KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > calipso > reportgenerator > reportdefinitions > ExcludeValue


1 /*
2  * This class was automatically generated with
3  * <a HREF="http://www.castor.org">Castor 0.9.4.3</a>, using an XML
4  * Schema.
5  * $Id$
6  */

7
8 package com.calipso.reportgenerator.reportdefinitions;
9
10   //---------------------------------/
11
//- Imported classes and packages -/
12
//---------------------------------/
13

14 import java.io.IOException JavaDoc;
15 import java.io.Reader JavaDoc;
16 import java.io.Serializable JavaDoc;
17 import java.io.Writer JavaDoc;
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 JavaDoc;
23
24 /**
25  * Class ExcludeValue.
26  *
27  * @version $Revision$ $Date$
28  */

29 public class ExcludeValue implements java.io.Serializable JavaDoc {
30
31
32       //--------------------------/
33
//- Class/Member Variables -/
34
//--------------------------/
35

36     /**
37      * Field _value
38      */

39     private java.lang.String JavaDoc _value;
40
41
42       //----------------/
43
//- Constructors -/
44
//----------------/
45

46     public ExcludeValue() {
47         super();
48     } //-- com.calipso.reportgenerator.reportdefinitions.ExcludeValue()
49

50
51       //-----------/
52
//- Methods -/
53
//-----------/
54

55     /**
56      * Method getValueReturns the value of field 'value'.
57      *
58      * @return the value of field 'value'.
59      */

60     public java.lang.String JavaDoc getValue()
61     {
62         return this._value;
63     } //-- java.lang.String getValue()
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 JavaDoc 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 JavaDoc handler)
97         throws java.io.IOException JavaDoc, 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      * Method setValueSets the value of field 'value'.
105      *
106      * @param value the value of field 'value'.
107      */

108     public void setValue(java.lang.String JavaDoc value)
109     {
110         this._value = value;
111     } //-- void setValue(java.lang.String)
112

113     /**
114      * Method unmarshal
115      *
116      * @param reader
117      */

118     public static com.calipso.reportgenerator.reportdefinitions.ExcludeValue unmarshal(java.io.Reader JavaDoc reader)
119         throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
120     {
121         return (com.calipso.reportgenerator.reportdefinitions.ExcludeValue) Unmarshaller.unmarshal(com.calipso.reportgenerator.reportdefinitions.ExcludeValue.class, reader);
122     } //-- com.calipso.reportgenerator.reportdefinitions.ExcludeValue 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 }
135
Popular Tags