1
2
3
4
5
6
7
8
9 package org.xmlhammer.model.jaxp;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlAttribute;
14 import javax.xml.bind.annotation.XmlElement;
15 import javax.xml.bind.annotation.XmlRootElement;
16 import javax.xml.bind.annotation.XmlType;
17 import org.xmlhammer.model.jaxp.JAXPDocumentBuilderFactory.Settings;
18
19
20 /***
21 * <p>Java class for jaxpDocumentBuilderFactory element declaration.
22 *
23 * <p>The following schema fragment specifies the expected content contained within this class.
24 *
25 * <pre>
26 * <element name="jaxpDocumentBuilderFactory">
27 * <complexType>
28 * <complexContent>
29 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30 * <sequence>
31 * <element name="settings">
32 * <complexType>
33 * <complexContent>
34 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
35 * <attribute name="coalescing" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
36 * <attribute name="expandEntityReference" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
37 * <attribute name="ignoringComments" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
38 * <attribute name="ignoringElementContentWhitespace" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
39 * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
40 * </restriction>
41 * </complexContent>
42 * </complexType>
43 * </element>
44 * <element ref="{http://www.xmlhammer.org/2007/jaxp}features"/>
45 * <element ref="{http://www.xmlhammer.org/2007/jaxp}attributes"/>
46 * </sequence>
47 * </restriction>
48 * </complexContent>
49 * </complexType>
50 * </element>
51 * </pre>
52 *
53 *
54 */
55 @XmlAccessorType(XmlAccessType.FIELD)
56 @XmlType(name = "", propOrder = {
57 "settings",
58 "features",
59 "attributes"
60 })
61 @XmlRootElement(name = "jaxpDocumentBuilderFactory")
62 public class JAXPDocumentBuilderFactory {
63
64 @XmlElement(namespace = "http://www.xmlhammer.org/2007/jaxp", required = true)
65 protected Settings settings;
66 @XmlElement(namespace = "http://www.xmlhammer.org/2007/jaxp", required = true)
67 protected Features features;
68 @XmlElement(namespace = "http://www.xmlhammer.org/2007/jaxp", required = true)
69 protected Attributes attributes;
70
71 /***
72 * Gets the value of the settings property.
73 *
74 * @return
75 * possible object is
76 * {@link Settings }
77 *
78 */
79 public Settings getSettings() {
80 return settings;
81 }
82
83 /***
84 * Sets the value of the settings property.
85 *
86 * @param value
87 * allowed object is
88 * {@link Settings }
89 *
90 */
91 public void setSettings(Settings value) {
92 this.settings = value;
93 }
94
95 /***
96 * Gets the value of the features property.
97 *
98 * @return
99 * possible object is
100 * {@link Features }
101 *
102 */
103 public Features getFeatures() {
104 return features;
105 }
106
107 /***
108 * Sets the value of the features property.
109 *
110 * @param value
111 * allowed object is
112 * {@link Features }
113 *
114 */
115 public void setFeatures(Features value) {
116 this.features = value;
117 }
118
119 /***
120 * Gets the value of the attributes property.
121 *
122 * @return
123 * possible object is
124 * {@link Attributes }
125 *
126 */
127 public Attributes getAttributes() {
128 return attributes;
129 }
130
131 /***
132 * Sets the value of the attributes property.
133 *
134 * @param value
135 * allowed object is
136 * {@link Attributes }
137 *
138 */
139 public void setAttributes(Attributes value) {
140 this.attributes = value;
141 }
142
143
144 /***
145 * <p>Java class for anonymous complex type.
146 *
147 * <p>The following schema fragment specifies the expected content contained within this class.
148 *
149 * <pre>
150 * <complexType>
151 * <complexContent>
152 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
153 * <attribute name="coalescing" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
154 * <attribute name="expandEntityReference" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
155 * <attribute name="ignoringComments" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
156 * <attribute name="ignoringElementContentWhitespace" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
157 * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
158 * </restriction>
159 * </complexContent>
160 * </complexType>
161 * </pre>
162 *
163 *
164 */
165 @XmlAccessorType(XmlAccessType.FIELD)
166 @XmlType(name = "")
167 public static class Settings {
168
169 @XmlAttribute
170 protected Boolean coalescing;
171 @XmlAttribute
172 protected Boolean expandEntityReference;
173 @XmlAttribute
174 protected Boolean ignoringComments;
175 @XmlAttribute
176 protected Boolean ignoringElementContentWhitespace;
177 @XmlAttribute
178 protected String value;
179
180 /***
181 * Gets the value of the coalescing property.
182 *
183 * @return
184 * possible object is
185 * {@link Boolean }
186 *
187 */
188 public boolean isCoalescing() {
189 if (coalescing == null) {
190 return false;
191 } else {
192 return coalescing;
193 }
194 }
195
196 /***
197 * Sets the value of the coalescing property.
198 *
199 * @param value
200 * allowed object is
201 * {@link Boolean }
202 *
203 */
204 public void setCoalescing(Boolean value) {
205 this.coalescing = value;
206 }
207
208 /***
209 * Gets the value of the expandEntityReference property.
210 *
211 * @return
212 * possible object is
213 * {@link Boolean }
214 *
215 */
216 public boolean isExpandEntityReference() {
217 if (expandEntityReference == null) {
218 return false;
219 } else {
220 return expandEntityReference;
221 }
222 }
223
224 /***
225 * Sets the value of the expandEntityReference property.
226 *
227 * @param value
228 * allowed object is
229 * {@link Boolean }
230 *
231 */
232 public void setExpandEntityReference(Boolean value) {
233 this.expandEntityReference = value;
234 }
235
236 /***
237 * Gets the value of the ignoringComments property.
238 *
239 * @return
240 * possible object is
241 * {@link Boolean }
242 *
243 */
244 public boolean isIgnoringComments() {
245 if (ignoringComments == null) {
246 return false;
247 } else {
248 return ignoringComments;
249 }
250 }
251
252 /***
253 * Sets the value of the ignoringComments property.
254 *
255 * @param value
256 * allowed object is
257 * {@link Boolean }
258 *
259 */
260 public void setIgnoringComments(Boolean value) {
261 this.ignoringComments = value;
262 }
263
264 /***
265 * Gets the value of the ignoringElementContentWhitespace property.
266 *
267 * @return
268 * possible object is
269 * {@link Boolean }
270 *
271 */
272 public boolean isIgnoringElementContentWhitespace() {
273 if (ignoringElementContentWhitespace == null) {
274 return false;
275 } else {
276 return ignoringElementContentWhitespace;
277 }
278 }
279
280 /***
281 * Sets the value of the ignoringElementContentWhitespace property.
282 *
283 * @param value
284 * allowed object is
285 * {@link Boolean }
286 *
287 */
288 public void setIgnoringElementContentWhitespace(Boolean value) {
289 this.ignoringElementContentWhitespace = value;
290 }
291
292 /***
293 * Gets the value of the value property.
294 *
295 * @return
296 * possible object is
297 * {@link String }
298 *
299 */
300 public String getValue() {
301 return value;
302 }
303
304 /***
305 * Sets the value of the value property.
306 *
307 * @param value
308 * allowed object is
309 * {@link String }
310 *
311 */
312 public void setValue(String value) {
313 this.value = value;
314 }
315
316 }
317
318 }