1
2
3
4
5
6
7
8 package org.exolab.castor.builder.binding.xml;
9
10
11
12
13
14
15
16
17
18 public class IncludeType implements java.io.Serializable {
19
20
21
22
23
24
25
26
27
28 private java.lang.String _URI;
29
30
31
32
33
34
35 public IncludeType() {
36 super();
37 }
38
39
40
41
42
43
44
45
46
47
48
49 public java.lang.String getURI(
50 ) {
51 return this._URI;
52 }
53
54
55
56
57
58
59 public boolean isValid(
60 ) {
61 try {
62 validate();
63 } catch (org.exolab.castor.xml.ValidationException vex) {
64 return false;
65 }
66 return true;
67 }
68
69
70
71
72
73
74
75
76
77
78 public void marshal(
79 final java.io.Writer out)
80 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
81 org.exolab.castor.xml.Marshaller.marshal(this, out);
82 }
83
84
85
86
87
88
89
90
91
92
93
94
95 public void marshal(
96 final org.xml.sax.ContentHandler handler)
97 throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
98 org.exolab.castor.xml.Marshaller.marshal(this, handler);
99 }
100
101
102
103
104
105
106 public void setURI(
107 final java.lang.String URI) {
108 this._URI = URI;
109 }
110
111
112
113
114
115
116
117
118
119
120
121
122 public static org.exolab.castor.builder.binding.xml.IncludeType unmarshalIncludeType(
123 final java.io.Reader reader)
124 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
125 return (org.exolab.castor.builder.binding.xml.IncludeType) org.exolab.castor.xml.Unmarshaller.unmarshal(org.exolab.castor.builder.binding.xml.IncludeType.class, reader);
126 }
127
128
129
130
131
132
133
134 public void validate(
135 )
136 throws org.exolab.castor.xml.ValidationException {
137 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
138 validator.validate(this);
139 }
140
141 }