1
2
3
4
5
6
7
8
9 package org.xmlhammer.model.jaxp;
10
11 import java.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
17 import javax.xml.bind.annotation.XmlType;
18
19
20 /***
21 * <p>Java class for settings element declaration.
22 *
23 * <p>The following schema fragment specifies the expected content contained within this class.
24 *
25 * <pre>
26 * <element name="settings">
27 * <complexType>
28 * <complexContent>
29 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30 * <sequence>
31 * <element ref="{http://www.xmlhammer.org/2007/jaxp}jaxpSAXParserFactory" minOccurs="0"/>
32 * <element ref="{http://www.xmlhammer.org/2007/jaxp}jaxpDocumentBuilderFactory" minOccurs="0"/>
33 * <element ref="{http://www.xmlhammer.org/2007/jaxp}jaxpXPathFactory" minOccurs="0"/>
34 * <element ref="{http://www.xmlhammer.org/2007/jaxp}jaxpTransformerFactory" minOccurs="0"/>
35 * <element ref="{http://www.xmlhammer.org/2007/jaxp}jaxpSchemaFactory" minOccurs="0"/>
36 * <sequence maxOccurs="unbounded" minOccurs="0">
37 * <element ref="{http://www.xmlhammer.org/2007/jaxp}catalog"/>
38 * </sequence>
39 * <sequence maxOccurs="unbounded" minOccurs="0">
40 * <element ref="{http://www.xmlhammer.org/2007/jaxp}property"/>
41 * </sequence>
42 * <sequence maxOccurs="unbounded" minOccurs="0">
43 * <element ref="{http://www.xmlhammer.org/2007/jaxp}feature"/>
44 * </sequence>
45 * </sequence>
46 * </restriction>
47 * </complexContent>
48 * </complexType>
49 * </element>
50 * </pre>
51 *
52 *
53 */
54 @XmlAccessorType(XmlAccessType.FIELD)
55 @XmlType(name = "", propOrder = {
56 "jaxpsaxParserFactory",
57 "jaxpDocumentBuilderFactory",
58 "jaxpxPathFactory",
59 "jaxpTransformerFactory",
60 "jaxpSchemaFactory",
61 "catalog",
62 "property",
63 "feature"
64 })
65 @XmlRootElement(name = "settings")
66 public class Settings {
67
68 @XmlElement(name = "jaxpSAXParserFactory", namespace = "http://www.xmlhammer.org/2007/jaxp")
69 protected JAXPSAXParserFactory jaxpsaxParserFactory;
70 @XmlElement(namespace = "http://www.xmlhammer.org/2007/jaxp")
71 protected JAXPDocumentBuilderFactory jaxpDocumentBuilderFactory;
72 @XmlElement(name = "jaxpXPathFactory", namespace = "http://www.xmlhammer.org/2007/jaxp")
73 protected JAXPXPathFactory jaxpxPathFactory;
74 @XmlElement(namespace = "http://www.xmlhammer.org/2007/jaxp")
75 protected JAXPTransformerFactory jaxpTransformerFactory;
76 @XmlElement(namespace = "http://www.xmlhammer.org/2007/jaxp")
77 protected JAXPSchemaFactory jaxpSchemaFactory;
78 @XmlElement(namespace = "http://www.xmlhammer.org/2007/jaxp", required = true)
79 protected List<Catalog> catalog;
80 @XmlElement(namespace = "http://www.xmlhammer.org/2007/jaxp", required = true)
81 protected List<Property> property;
82 @XmlElement(namespace = "http://www.xmlhammer.org/2007/jaxp", required = true)
83 protected List<Feature> feature;
84
85 /***
86 * Gets the value of the jaxpsaxParserFactory property.
87 *
88 * @return
89 * possible object is
90 * {@link JAXPSAXParserFactory }
91 *
92 */
93 public JAXPSAXParserFactory getJAXPSAXParserFactory() {
94 return jaxpsaxParserFactory;
95 }
96
97 /***
98 * Sets the value of the jaxpsaxParserFactory property.
99 *
100 * @param value
101 * allowed object is
102 * {@link JAXPSAXParserFactory }
103 *
104 */
105 public void setJAXPSAXParserFactory(JAXPSAXParserFactory value) {
106 this.jaxpsaxParserFactory = value;
107 }
108
109 /***
110 * Gets the value of the jaxpDocumentBuilderFactory property.
111 *
112 * @return
113 * possible object is
114 * {@link JAXPDocumentBuilderFactory }
115 *
116 */
117 public JAXPDocumentBuilderFactory getJAXPDocumentBuilderFactory() {
118 return jaxpDocumentBuilderFactory;
119 }
120
121 /***
122 * Sets the value of the jaxpDocumentBuilderFactory property.
123 *
124 * @param value
125 * allowed object is
126 * {@link JAXPDocumentBuilderFactory }
127 *
128 */
129 public void setJAXPDocumentBuilderFactory(JAXPDocumentBuilderFactory value) {
130 this.jaxpDocumentBuilderFactory = value;
131 }
132
133 /***
134 * Gets the value of the jaxpxPathFactory property.
135 *
136 * @return
137 * possible object is
138 * {@link JAXPXPathFactory }
139 *
140 */
141 public JAXPXPathFactory getJAXPXPathFactory() {
142 return jaxpxPathFactory;
143 }
144
145 /***
146 * Sets the value of the jaxpxPathFactory property.
147 *
148 * @param value
149 * allowed object is
150 * {@link JAXPXPathFactory }
151 *
152 */
153 public void setJAXPXPathFactory(JAXPXPathFactory value) {
154 this.jaxpxPathFactory = value;
155 }
156
157 /***
158 * Gets the value of the jaxpTransformerFactory property.
159 *
160 * @return
161 * possible object is
162 * {@link JAXPTransformerFactory }
163 *
164 */
165 public JAXPTransformerFactory getJAXPTransformerFactory() {
166 return jaxpTransformerFactory;
167 }
168
169 /***
170 * Sets the value of the jaxpTransformerFactory property.
171 *
172 * @param value
173 * allowed object is
174 * {@link JAXPTransformerFactory }
175 *
176 */
177 public void setJAXPTransformerFactory(JAXPTransformerFactory value) {
178 this.jaxpTransformerFactory = value;
179 }
180
181 /***
182 * Gets the value of the jaxpSchemaFactory property.
183 *
184 * @return
185 * possible object is
186 * {@link JAXPSchemaFactory }
187 *
188 */
189 public JAXPSchemaFactory getJAXPSchemaFactory() {
190 return jaxpSchemaFactory;
191 }
192
193 /***
194 * Sets the value of the jaxpSchemaFactory property.
195 *
196 * @param value
197 * allowed object is
198 * {@link JAXPSchemaFactory }
199 *
200 */
201 public void setJAXPSchemaFactory(JAXPSchemaFactory value) {
202 this.jaxpSchemaFactory = value;
203 }
204
205 /***
206 * Gets the value of the catalog property.
207 *
208 * <p>
209 * This accessor method returns a reference to the live list,
210 * not a snapshot. Therefore any modification you make to the
211 * returned list will be present inside the JAXB object.
212 * This is why there is not a <CODE>set</CODE> method for the catalog property.
213 *
214 * <p>
215 * For example, to add a new item, do as follows:
216 * <pre>
217 * getCatalog().add(newItem);
218 * </pre>
219 *
220 *
221 * <p>
222 * Objects of the following type(s) are allowed in the list
223 * {@link Catalog }
224 *
225 *
226 */
227 public List<Catalog> getCatalog() {
228 if (catalog == null) {
229 catalog = new ArrayList<Catalog>();
230 }
231 return this.catalog;
232 }
233
234 /***
235 * Gets the value of the property property.
236 *
237 * <p>
238 * This accessor method returns a reference to the live list,
239 * not a snapshot. Therefore any modification you make to the
240 * returned list will be present inside the JAXB object.
241 * This is why there is not a <CODE>set</CODE> method for the property property.
242 *
243 * <p>
244 * For example, to add a new item, do as follows:
245 * <pre>
246 * getProperty().add(newItem);
247 * </pre>
248 *
249 *
250 * <p>
251 * Objects of the following type(s) are allowed in the list
252 * {@link Property }
253 *
254 *
255 */
256 public List<Property> getProperty() {
257 if (property == null) {
258 property = new ArrayList<Property>();
259 }
260 return this.property;
261 }
262
263 /***
264 * Gets the value of the feature property.
265 *
266 * <p>
267 * This accessor method returns a reference to the live list,
268 * not a snapshot. Therefore any modification you make to the
269 * returned list will be present inside the JAXB object.
270 * This is why there is not a <CODE>set</CODE> method for the feature property.
271 *
272 * <p>
273 * For example, to add a new item, do as follows:
274 * <pre>
275 * getFeature().add(newItem);
276 * </pre>
277 *
278 *
279 * <p>
280 * Objects of the following type(s) are allowed in the list
281 * {@link Feature }
282 *
283 *
284 */
285 public List<Feature> getFeature() {
286 if (feature == null) {
287 feature = new ArrayList<Feature>();
288 }
289 return this.feature;
290 }
291
292 }