1
2
3
4
5
6
7
8
9 package org.xmlhammer.model.preferences;
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.XmlAttribute;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlRootElement;
18 import javax.xml.bind.annotation.XmlType;
19 import org.xmlhammer.model.jaxp.Activatable;
20 import org.xmlhammer.model.jaxp.Settings;
21 import org.xmlhammer.model.preferences.Preferences.Catalogs;
22 import org.xmlhammer.model.preferences.Preferences.Catalogs.Catalog;
23 import org.xmlhammer.model.preferences.Preferences.Classpath;
24 import org.xmlhammer.model.preferences.Preferences.Classpath.Jar;
25 import org.xmlhammer.model.preferences.Preferences.Helpmenu;
26 import org.xmlhammer.model.preferences.Preferences.History;
27 import org.xmlhammer.model.preferences.Preferences.Socket;
28 import org.xmlhammer.model.preferences.Preferences.Views;
29
30
31 /***
32 * <p>Java class for preferences element declaration.
33 *
34 * <p>The following schema fragment specifies the expected content contained within this class.
35 *
36 * <pre>
37 * <element name="preferences">
38 * <complexType>
39 * <complexContent>
40 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 * <sequence>
42 * <element ref="{http://www.xmlhammer.org/2007/preferences}frame"/>
43 * <element name="helpmenu">
44 * <complexType>
45 * <complexContent>
46 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
47 * <sequence>
48 * <element ref="{http://www.xmlhammer.org/2007/preferences}menu" maxOccurs="unbounded"/>
49 * </sequence>
50 * </restriction>
51 * </complexContent>
52 * </complexType>
53 * </element>
54 * <element ref="{http://www.xmlhammer.org/2007/preferences}externalApplication"/>
55 * <element ref="{http://www.xmlhammer.org/2007/preferences}proxy"/>
56 * <element ref="{http://www.xmlhammer.org/2007/jaxp}settings"/>
57 * <element name="history">
58 * <complexType>
59 * <complexContent>
60 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
61 * <sequence>
62 * <element ref="{http://www.xmlhammer.org/2007/preferences}projects"/>
63 * <element ref="{http://www.xmlhammer.org/2007/preferences}searches"/>
64 * <element ref="{http://www.xmlhammer.org/2007/preferences}sources"/>
65 * <element ref="{http://www.xmlhammer.org/2007/preferences}results"/>
66 * <element ref="{http://www.xmlhammer.org/2007/preferences}schemas"/>
67 * <element ref="{http://www.xmlhammer.org/2007/preferences}patterns"/>
68 * <element ref="{http://www.xmlhammer.org/2007/preferences}expressions"/>
69 * <element ref="{http://www.xmlhammer.org/2007/preferences}extensions"/>
70 * <element ref="{http://www.xmlhammer.org/2007/preferences}directories"/>
71 * <element ref="{http://www.xmlhammer.org/2007/preferences}stylesheets"/>
72 * <element ref="{http://www.xmlhammer.org/2007/preferences}doctypeSystems"/>
73 * <element ref="{http://www.xmlhammer.org/2007/preferences}doctypePublics"/>
74 * <element ref="{http://www.xmlhammer.org/2007/preferences}cdataSectionElements"/>
75 * <element ref="{http://www.xmlhammer.org/2007/preferences}medias"/>
76 * <element ref="{http://www.xmlhammer.org/2007/preferences}titles"/>
77 * <element ref="{http://www.xmlhammer.org/2007/preferences}charsets"/>
78 * </sequence>
79 * </restriction>
80 * </complexContent>
81 * </complexType>
82 * </element>
83 * <element name="classpath">
84 * <complexType>
85 * <complexContent>
86 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
87 * <sequence maxOccurs="unbounded">
88 * <element name="jar">
89 * <complexType>
90 * <complexContent>
91 * <extension base="{http://www.xmlhammer.org/2007/jaxp}activatable">
92 * <attribute name="src" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
93 * </extension>
94 * </complexContent>
95 * </complexType>
96 * </element>
97 * </sequence>
98 * </restriction>
99 * </complexContent>
100 * </complexType>
101 * </element>
102 * <element name="catalogs">
103 * <complexType>
104 * <complexContent>
105 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
106 * <sequence maxOccurs="unbounded">
107 * <element name="catalog">
108 * <complexType>
109 * <complexContent>
110 * <extension base="{http://www.xmlhammer.org/2007/jaxp}activatable">
111 * <attribute name="src" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
112 * </extension>
113 * </complexContent>
114 * </complexType>
115 * </element>
116 * </sequence>
117 * <attribute name="preferPublicIdentifiers" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
118 * </restriction>
119 * </complexContent>
120 * </complexType>
121 * </element>
122 * <element name="views">
123 * <complexType>
124 * <complexContent>
125 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
126 * <sequence maxOccurs="unbounded">
127 * <element name="view" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
128 * </sequence>
129 * <attribute name="selected" type="{http://www.w3.org/2001/XMLSchema}int" />
130 * </restriction>
131 * </complexContent>
132 * </complexType>
133 * </element>
134 * <element name="socket">
135 * <complexType>
136 * <complexContent>
137 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
138 * <attribute name="port" type="{http://www.w3.org/2001/XMLSchema}int" default="10097" />
139 * <attribute name="server" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
140 * </restriction>
141 * </complexContent>
142 * </complexType>
143 * </element>
144 * </sequence>
145 * <attribute name="laf" type="{http://www.w3.org/2001/XMLSchema}string" />
146 * </restriction>
147 * </complexContent>
148 * </complexType>
149 * </element>
150 * </pre>
151 *
152 *
153 */
154 @XmlAccessorType(XmlAccessType.FIELD)
155 @XmlType(name = "", propOrder = {
156 "frame",
157 "helpmenu",
158 "externalApplication",
159 "proxy",
160 "jaxpSettings",
161 "history",
162 "classpath",
163 "catalogs",
164 "views",
165 "socket"
166 })
167 @XmlRootElement(name = "preferences")
168 public class Preferences {
169
170 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
171 protected Frame frame;
172 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
173 protected Helpmenu helpmenu;
174 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
175 protected ExternalApplication externalApplication;
176 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
177 protected Proxy proxy;
178 @XmlElement(name = "settings", namespace = "http://www.xmlhammer.org/2007/jaxp", required = true)
179 protected Settings jaxpSettings;
180 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
181 protected History history;
182 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
183 protected Classpath classpath;
184 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
185 protected Catalogs catalogs;
186 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
187 protected Views views;
188 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
189 protected Socket socket;
190 @XmlAttribute
191 protected String laf;
192
193 /***
194 * Gets the value of the frame property.
195 *
196 * @return
197 * possible object is
198 * {@link Frame }
199 *
200 */
201 public Frame getFrame() {
202 return frame;
203 }
204
205 /***
206 * Sets the value of the frame property.
207 *
208 * @param value
209 * allowed object is
210 * {@link Frame }
211 *
212 */
213 public void setFrame(Frame value) {
214 this.frame = value;
215 }
216
217 /***
218 * Gets the value of the helpmenu property.
219 *
220 * @return
221 * possible object is
222 * {@link Helpmenu }
223 *
224 */
225 public Helpmenu getHelpmenu() {
226 return helpmenu;
227 }
228
229 /***
230 * Sets the value of the helpmenu property.
231 *
232 * @param value
233 * allowed object is
234 * {@link Helpmenu }
235 *
236 */
237 public void setHelpmenu(Helpmenu value) {
238 this.helpmenu = value;
239 }
240
241 /***
242 * Gets the value of the externalApplication property.
243 *
244 * @return
245 * possible object is
246 * {@link ExternalApplication }
247 *
248 */
249 public ExternalApplication getExternalApplication() {
250 return externalApplication;
251 }
252
253 /***
254 * Sets the value of the externalApplication property.
255 *
256 * @param value
257 * allowed object is
258 * {@link ExternalApplication }
259 *
260 */
261 public void setExternalApplication(ExternalApplication value) {
262 this.externalApplication = value;
263 }
264
265 /***
266 * Gets the value of the proxy property.
267 *
268 * @return
269 * possible object is
270 * {@link Proxy }
271 *
272 */
273 public Proxy getProxy() {
274 return proxy;
275 }
276
277 /***
278 * Sets the value of the proxy property.
279 *
280 * @param value
281 * allowed object is
282 * {@link Proxy }
283 *
284 */
285 public void setProxy(Proxy value) {
286 this.proxy = value;
287 }
288
289 /***
290 * Gets the value of the jaxpSettings property.
291 *
292 * @return
293 * possible object is
294 * {@link Settings }
295 *
296 */
297 public Settings getJAXPSettings() {
298 return jaxpSettings;
299 }
300
301 /***
302 * Sets the value of the jaxpSettings property.
303 *
304 * @param value
305 * allowed object is
306 * {@link Settings }
307 *
308 */
309 public void setJAXPSettings(Settings value) {
310 this.jaxpSettings = value;
311 }
312
313 /***
314 * Gets the value of the history property.
315 *
316 * @return
317 * possible object is
318 * {@link History }
319 *
320 */
321 public History getHistory() {
322 return history;
323 }
324
325 /***
326 * Sets the value of the history property.
327 *
328 * @param value
329 * allowed object is
330 * {@link History }
331 *
332 */
333 public void setHistory(History value) {
334 this.history = value;
335 }
336
337 /***
338 * Gets the value of the classpath property.
339 *
340 * @return
341 * possible object is
342 * {@link Classpath }
343 *
344 */
345 public Classpath getClasspath() {
346 return classpath;
347 }
348
349 /***
350 * Sets the value of the classpath property.
351 *
352 * @param value
353 * allowed object is
354 * {@link Classpath }
355 *
356 */
357 public void setClasspath(Classpath value) {
358 this.classpath = value;
359 }
360
361 /***
362 * Gets the value of the catalogs property.
363 *
364 * @return
365 * possible object is
366 * {@link Catalogs }
367 *
368 */
369 public Catalogs getCatalogs() {
370 return catalogs;
371 }
372
373 /***
374 * Sets the value of the catalogs property.
375 *
376 * @param value
377 * allowed object is
378 * {@link Catalogs }
379 *
380 */
381 public void setCatalogs(Catalogs value) {
382 this.catalogs = value;
383 }
384
385 /***
386 * Gets the value of the views property.
387 *
388 * @return
389 * possible object is
390 * {@link Views }
391 *
392 */
393 public Views getViews() {
394 return views;
395 }
396
397 /***
398 * Sets the value of the views property.
399 *
400 * @param value
401 * allowed object is
402 * {@link Views }
403 *
404 */
405 public void setViews(Views value) {
406 this.views = value;
407 }
408
409 /***
410 * Gets the value of the socket property.
411 *
412 * @return
413 * possible object is
414 * {@link Socket }
415 *
416 */
417 public Socket getSocket() {
418 return socket;
419 }
420
421 /***
422 * Sets the value of the socket property.
423 *
424 * @param value
425 * allowed object is
426 * {@link Socket }
427 *
428 */
429 public void setSocket(Socket value) {
430 this.socket = value;
431 }
432
433 /***
434 * Gets the value of the laf property.
435 *
436 * @return
437 * possible object is
438 * {@link String }
439 *
440 */
441 public String getLaf() {
442 return laf;
443 }
444
445 /***
446 * Sets the value of the laf property.
447 *
448 * @param value
449 * allowed object is
450 * {@link String }
451 *
452 */
453 public void setLaf(String value) {
454 this.laf = value;
455 }
456
457
458 /***
459 * <p>Java class for anonymous complex type.
460 *
461 * <p>The following schema fragment specifies the expected content contained within this class.
462 *
463 * <pre>
464 * <complexType>
465 * <complexContent>
466 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
467 * <sequence maxOccurs="unbounded">
468 * <element name="catalog">
469 * <complexType>
470 * <complexContent>
471 * <extension base="{http://www.xmlhammer.org/2007/jaxp}activatable">
472 * <attribute name="src" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
473 * </extension>
474 * </complexContent>
475 * </complexType>
476 * </element>
477 * </sequence>
478 * <attribute name="preferPublicIdentifiers" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
479 * </restriction>
480 * </complexContent>
481 * </complexType>
482 * </pre>
483 *
484 *
485 */
486 @XmlAccessorType(XmlAccessType.FIELD)
487 @XmlType(name = "", propOrder = {
488 "catalog"
489 })
490 public static class Catalogs {
491
492 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
493 protected List<Catalog> catalog;
494 @XmlAttribute
495 protected Boolean preferPublicIdentifiers;
496
497 /***
498 * Gets the value of the catalog property.
499 *
500 * <p>
501 * This accessor method returns a reference to the live list,
502 * not a snapshot. Therefore any modification you make to the
503 * returned list will be present inside the JAXB object.
504 * This is why there is not a <CODE>set</CODE> method for the catalog property.
505 *
506 * <p>
507 * For example, to add a new item, do as follows:
508 * <pre>
509 * getCatalog().add(newItem);
510 * </pre>
511 *
512 *
513 * <p>
514 * Objects of the following type(s) are allowed in the list
515 * {@link Catalog }
516 *
517 *
518 */
519 public List<Catalog> getCatalog() {
520 if (catalog == null) {
521 catalog = new ArrayList<Catalog>();
522 }
523 return this.catalog;
524 }
525
526 /***
527 * Gets the value of the preferPublicIdentifiers property.
528 *
529 * @return
530 * possible object is
531 * {@link Boolean }
532 *
533 */
534 public boolean isPreferPublicIdentifiers() {
535 if (preferPublicIdentifiers == null) {
536 return true;
537 } else {
538 return preferPublicIdentifiers;
539 }
540 }
541
542 /***
543 * Sets the value of the preferPublicIdentifiers property.
544 *
545 * @param value
546 * allowed object is
547 * {@link Boolean }
548 *
549 */
550 public void setPreferPublicIdentifiers(Boolean value) {
551 this.preferPublicIdentifiers = value;
552 }
553
554
555 /***
556 * <p>Java class for anonymous complex type.
557 *
558 * <p>The following schema fragment specifies the expected content contained within this class.
559 *
560 * <pre>
561 * <complexType>
562 * <complexContent>
563 * <extension base="{http://www.xmlhammer.org/2007/jaxp}activatable">
564 * <attribute name="src" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
565 * </extension>
566 * </complexContent>
567 * </complexType>
568 * </pre>
569 *
570 *
571 */
572 @XmlAccessorType(XmlAccessType.FIELD)
573 @XmlType(name = "")
574 public static class Catalog
575 extends Activatable
576 {
577
578 @XmlAttribute(required = true)
579 protected String src;
580
581 /***
582 * Gets the value of the src property.
583 *
584 * @return
585 * possible object is
586 * {@link String }
587 *
588 */
589 public String getSrc() {
590 return src;
591 }
592
593 /***
594 * Sets the value of the src property.
595 *
596 * @param value
597 * allowed object is
598 * {@link String }
599 *
600 */
601 public void setSrc(String value) {
602 this.src = value;
603 }
604
605 }
606
607 }
608
609
610 /***
611 * <p>Java class for anonymous complex type.
612 *
613 * <p>The following schema fragment specifies the expected content contained within this class.
614 *
615 * <pre>
616 * <complexType>
617 * <complexContent>
618 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
619 * <sequence maxOccurs="unbounded">
620 * <element name="jar">
621 * <complexType>
622 * <complexContent>
623 * <extension base="{http://www.xmlhammer.org/2007/jaxp}activatable">
624 * <attribute name="src" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
625 * </extension>
626 * </complexContent>
627 * </complexType>
628 * </element>
629 * </sequence>
630 * </restriction>
631 * </complexContent>
632 * </complexType>
633 * </pre>
634 *
635 *
636 */
637 @XmlAccessorType(XmlAccessType.FIELD)
638 @XmlType(name = "", propOrder = {
639 "jar"
640 })
641 public static class Classpath {
642
643 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
644 protected List<Jar> jar;
645
646 /***
647 * Gets the value of the jar property.
648 *
649 * <p>
650 * This accessor method returns a reference to the live list,
651 * not a snapshot. Therefore any modification you make to the
652 * returned list will be present inside the JAXB object.
653 * This is why there is not a <CODE>set</CODE> method for the jar property.
654 *
655 * <p>
656 * For example, to add a new item, do as follows:
657 * <pre>
658 * getJar().add(newItem);
659 * </pre>
660 *
661 *
662 * <p>
663 * Objects of the following type(s) are allowed in the list
664 * {@link Jar }
665 *
666 *
667 */
668 public List<Jar> getJar() {
669 if (jar == null) {
670 jar = new ArrayList<Jar>();
671 }
672 return this.jar;
673 }
674
675
676 /***
677 * <p>Java class for anonymous complex type.
678 *
679 * <p>The following schema fragment specifies the expected content contained within this class.
680 *
681 * <pre>
682 * <complexType>
683 * <complexContent>
684 * <extension base="{http://www.xmlhammer.org/2007/jaxp}activatable">
685 * <attribute name="src" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
686 * </extension>
687 * </complexContent>
688 * </complexType>
689 * </pre>
690 *
691 *
692 */
693 @XmlAccessorType(XmlAccessType.FIELD)
694 @XmlType(name = "")
695 public static class Jar
696 extends Activatable
697 {
698
699 @XmlAttribute(required = true)
700 protected String src;
701
702 /***
703 * Gets the value of the src property.
704 *
705 * @return
706 * possible object is
707 * {@link String }
708 *
709 */
710 public String getSrc() {
711 return src;
712 }
713
714 /***
715 * Sets the value of the src property.
716 *
717 * @param value
718 * allowed object is
719 * {@link String }
720 *
721 */
722 public void setSrc(String value) {
723 this.src = value;
724 }
725
726 }
727
728 }
729
730
731 /***
732 * <p>Java class for anonymous complex type.
733 *
734 * <p>The following schema fragment specifies the expected content contained within this class.
735 *
736 * <pre>
737 * <complexType>
738 * <complexContent>
739 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
740 * <sequence>
741 * <element ref="{http://www.xmlhammer.org/2007/preferences}menu" maxOccurs="unbounded"/>
742 * </sequence>
743 * </restriction>
744 * </complexContent>
745 * </complexType>
746 * </pre>
747 *
748 *
749 */
750 @XmlAccessorType(XmlAccessType.FIELD)
751 @XmlType(name = "", propOrder = {
752 "menu"
753 })
754 public static class Helpmenu {
755
756 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
757 protected List<Menu> menu;
758
759 /***
760 * Gets the value of the menu property.
761 *
762 * <p>
763 * This accessor method returns a reference to the live list,
764 * not a snapshot. Therefore any modification you make to the
765 * returned list will be present inside the JAXB object.
766 * This is why there is not a <CODE>set</CODE> method for the menu property.
767 *
768 * <p>
769 * For example, to add a new item, do as follows:
770 * <pre>
771 * getMenu().add(newItem);
772 * </pre>
773 *
774 *
775 * <p>
776 * Objects of the following type(s) are allowed in the list
777 * {@link Menu }
778 *
779 *
780 */
781 public List<Menu> getMenu() {
782 if (menu == null) {
783 menu = new ArrayList<Menu>();
784 }
785 return this.menu;
786 }
787
788 }
789
790
791 /***
792 * <p>Java class for anonymous complex type.
793 *
794 * <p>The following schema fragment specifies the expected content contained within this class.
795 *
796 * <pre>
797 * <complexType>
798 * <complexContent>
799 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
800 * <sequence>
801 * <element ref="{http://www.xmlhammer.org/2007/preferences}projects"/>
802 * <element ref="{http://www.xmlhammer.org/2007/preferences}searches"/>
803 * <element ref="{http://www.xmlhammer.org/2007/preferences}sources"/>
804 * <element ref="{http://www.xmlhammer.org/2007/preferences}results"/>
805 * <element ref="{http://www.xmlhammer.org/2007/preferences}schemas"/>
806 * <element ref="{http://www.xmlhammer.org/2007/preferences}patterns"/>
807 * <element ref="{http://www.xmlhammer.org/2007/preferences}expressions"/>
808 * <element ref="{http://www.xmlhammer.org/2007/preferences}extensions"/>
809 * <element ref="{http://www.xmlhammer.org/2007/preferences}directories"/>
810 * <element ref="{http://www.xmlhammer.org/2007/preferences}stylesheets"/>
811 * <element ref="{http://www.xmlhammer.org/2007/preferences}doctypeSystems"/>
812 * <element ref="{http://www.xmlhammer.org/2007/preferences}doctypePublics"/>
813 * <element ref="{http://www.xmlhammer.org/2007/preferences}cdataSectionElements"/>
814 * <element ref="{http://www.xmlhammer.org/2007/preferences}medias"/>
815 * <element ref="{http://www.xmlhammer.org/2007/preferences}titles"/>
816 * <element ref="{http://www.xmlhammer.org/2007/preferences}charsets"/>
817 * </sequence>
818 * </restriction>
819 * </complexContent>
820 * </complexType>
821 * </pre>
822 *
823 *
824 */
825 @XmlAccessorType(XmlAccessType.FIELD)
826 @XmlType(name = "", propOrder = {
827 "projects",
828 "searches",
829 "sources",
830 "results",
831 "schemas",
832 "patterns",
833 "expressions",
834 "extensions",
835 "directories",
836 "stylesheets",
837 "doctypeSystems",
838 "doctypePublics",
839 "cdataSectionElements",
840 "medias",
841 "titles",
842 "charsets"
843 })
844 public static class History {
845
846 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
847 protected Projects projects;
848 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
849 protected Searches searches;
850 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
851 protected Sources sources;
852 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
853 protected Results results;
854 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
855 protected Schemas schemas;
856 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
857 protected Patterns patterns;
858 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
859 protected Expressions expressions;
860 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
861 protected Extensions extensions;
862 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
863 protected Directories directories;
864 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
865 protected Stylesheets stylesheets;
866 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
867 protected DoctypeSystems doctypeSystems;
868 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
869 protected DoctypePublics doctypePublics;
870 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
871 protected CdataSectionElements cdataSectionElements;
872 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
873 protected Medias medias;
874 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
875 protected Titles titles;
876 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
877 protected Charsets charsets;
878
879 /***
880 * Gets the value of the projects property.
881 *
882 * @return
883 * possible object is
884 * {@link Projects }
885 *
886 */
887 public Projects getProjects() {
888 return projects;
889 }
890
891 /***
892 * Sets the value of the projects property.
893 *
894 * @param value
895 * allowed object is
896 * {@link Projects }
897 *
898 */
899 public void setProjects(Projects value) {
900 this.projects = value;
901 }
902
903 /***
904 * Gets the value of the searches property.
905 *
906 * @return
907 * possible object is
908 * {@link Searches }
909 *
910 */
911 public Searches getSearches() {
912 return searches;
913 }
914
915 /***
916 * Sets the value of the searches property.
917 *
918 * @param value
919 * allowed object is
920 * {@link Searches }
921 *
922 */
923 public void setSearches(Searches value) {
924 this.searches = value;
925 }
926
927 /***
928 * Gets the value of the sources property.
929 *
930 * @return
931 * possible object is
932 * {@link Sources }
933 *
934 */
935 public Sources getSources() {
936 return sources;
937 }
938
939 /***
940 * Sets the value of the sources property.
941 *
942 * @param value
943 * allowed object is
944 * {@link Sources }
945 *
946 */
947 public void setSources(Sources value) {
948 this.sources = value;
949 }
950
951 /***
952 * Gets the value of the results property.
953 *
954 * @return
955 * possible object is
956 * {@link Results }
957 *
958 */
959 public Results getResults() {
960 return results;
961 }
962
963 /***
964 * Sets the value of the results property.
965 *
966 * @param value
967 * allowed object is
968 * {@link Results }
969 *
970 */
971 public void setResults(Results value) {
972 this.results = value;
973 }
974
975 /***
976 * Gets the value of the schemas property.
977 *
978 * @return
979 * possible object is
980 * {@link Schemas }
981 *
982 */
983 public Schemas getSchemas() {
984 return schemas;
985 }
986
987 /***
988 * Sets the value of the schemas property.
989 *
990 * @param value
991 * allowed object is
992 * {@link Schemas }
993 *
994 */
995 public void setSchemas(Schemas value) {
996 this.schemas = value;
997 }
998
999 /***
1000 * Gets the value of the patterns property.
1001 *
1002 * @return
1003 * possible object is
1004 * {@link Patterns }
1005 *
1006 */
1007 public Patterns getPatterns() {
1008 return patterns;
1009 }
1010
1011 /***
1012 * Sets the value of the patterns property.
1013 *
1014 * @param value
1015 * allowed object is
1016 * {@link Patterns }
1017 *
1018 */
1019 public void setPatterns(Patterns value) {
1020 this.patterns = value;
1021 }
1022
1023 /***
1024 * Gets the value of the expressions property.
1025 *
1026 * @return
1027 * possible object is
1028 * {@link Expressions }
1029 *
1030 */
1031 public Expressions getExpressions() {
1032 return expressions;
1033 }
1034
1035 /***
1036 * Sets the value of the expressions property.
1037 *
1038 * @param value
1039 * allowed object is
1040 * {@link Expressions }
1041 *
1042 */
1043 public void setExpressions(Expressions value) {
1044 this.expressions = value;
1045 }
1046
1047 /***
1048 * Gets the value of the extensions property.
1049 *
1050 * @return
1051 * possible object is
1052 * {@link Extensions }
1053 *
1054 */
1055 public Extensions getExtensions() {
1056 return extensions;
1057 }
1058
1059 /***
1060 * Sets the value of the extensions property.
1061 *
1062 * @param value
1063 * allowed object is
1064 * {@link Extensions }
1065 *
1066 */
1067 public void setExtensions(Extensions value) {
1068 this.extensions = value;
1069 }
1070
1071 /***
1072 * Gets the value of the directories property.
1073 *
1074 * @return
1075 * possible object is
1076 * {@link Directories }
1077 *
1078 */
1079 public Directories getDirectories() {
1080 return directories;
1081 }
1082
1083 /***
1084 * Sets the value of the directories property.
1085 *
1086 * @param value
1087 * allowed object is
1088 * {@link Directories }
1089 *
1090 */
1091 public void setDirectories(Directories value) {
1092 this.directories = value;
1093 }
1094
1095 /***
1096 * Gets the value of the stylesheets property.
1097 *
1098 * @return
1099 * possible object is
1100 * {@link Stylesheets }
1101 *
1102 */
1103 public Stylesheets getStylesheets() {
1104 return stylesheets;
1105 }
1106
1107 /***
1108 * Sets the value of the stylesheets property.
1109 *
1110 * @param value
1111 * allowed object is
1112 * {@link Stylesheets }
1113 *
1114 */
1115 public void setStylesheets(Stylesheets value) {
1116 this.stylesheets = value;
1117 }
1118
1119 /***
1120 * Gets the value of the doctypeSystems property.
1121 *
1122 * @return
1123 * possible object is
1124 * {@link DoctypeSystems }
1125 *
1126 */
1127 public DoctypeSystems getDoctypeSystems() {
1128 return doctypeSystems;
1129 }
1130
1131 /***
1132 * Sets the value of the doctypeSystems property.
1133 *
1134 * @param value
1135 * allowed object is
1136 * {@link DoctypeSystems }
1137 *
1138 */
1139 public void setDoctypeSystems(DoctypeSystems value) {
1140 this.doctypeSystems = value;
1141 }
1142
1143 /***
1144 * Gets the value of the doctypePublics property.
1145 *
1146 * @return
1147 * possible object is
1148 * {@link DoctypePublics }
1149 *
1150 */
1151 public DoctypePublics getDoctypePublics() {
1152 return doctypePublics;
1153 }
1154
1155 /***
1156 * Sets the value of the doctypePublics property.
1157 *
1158 * @param value
1159 * allowed object is
1160 * {@link DoctypePublics }
1161 *
1162 */
1163 public void setDoctypePublics(DoctypePublics value) {
1164 this.doctypePublics = value;
1165 }
1166
1167 /***
1168 * Gets the value of the cdataSectionElements property.
1169 *
1170 * @return
1171 * possible object is
1172 * {@link CdataSectionElements }
1173 *
1174 */
1175 public CdataSectionElements getCdataSectionElements() {
1176 return cdataSectionElements;
1177 }
1178
1179 /***
1180 * Sets the value of the cdataSectionElements property.
1181 *
1182 * @param value
1183 * allowed object is
1184 * {@link CdataSectionElements }
1185 *
1186 */
1187 public void setCdataSectionElements(CdataSectionElements value) {
1188 this.cdataSectionElements = value;
1189 }
1190
1191 /***
1192 * Gets the value of the medias property.
1193 *
1194 * @return
1195 * possible object is
1196 * {@link Medias }
1197 *
1198 */
1199 public Medias getMedias() {
1200 return medias;
1201 }
1202
1203 /***
1204 * Sets the value of the medias property.
1205 *
1206 * @param value
1207 * allowed object is
1208 * {@link Medias }
1209 *
1210 */
1211 public void setMedias(Medias value) {
1212 this.medias = value;
1213 }
1214
1215 /***
1216 * Gets the value of the titles property.
1217 *
1218 * @return
1219 * possible object is
1220 * {@link Titles }
1221 *
1222 */
1223 public Titles getTitles() {
1224 return titles;
1225 }
1226
1227 /***
1228 * Sets the value of the titles property.
1229 *
1230 * @param value
1231 * allowed object is
1232 * {@link Titles }
1233 *
1234 */
1235 public void setTitles(Titles value) {
1236 this.titles = value;
1237 }
1238
1239 /***
1240 * Gets the value of the charsets property.
1241 *
1242 * @return
1243 * possible object is
1244 * {@link Charsets }
1245 *
1246 */
1247 public Charsets getCharsets() {
1248 return charsets;
1249 }
1250
1251 /***
1252 * Sets the value of the charsets property.
1253 *
1254 * @param value
1255 * allowed object is
1256 * {@link Charsets }
1257 *
1258 */
1259 public void setCharsets(Charsets value) {
1260 this.charsets = value;
1261 }
1262
1263 }
1264
1265
1266 /***
1267 * <p>Java class for anonymous complex type.
1268 *
1269 * <p>The following schema fragment specifies the expected content contained within this class.
1270 *
1271 * <pre>
1272 * <complexType>
1273 * <complexContent>
1274 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1275 * <attribute name="port" type="{http://www.w3.org/2001/XMLSchema}int" default="10097" />
1276 * <attribute name="server" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
1277 * </restriction>
1278 * </complexContent>
1279 * </complexType>
1280 * </pre>
1281 *
1282 *
1283 */
1284 @XmlAccessorType(XmlAccessType.FIELD)
1285 @XmlType(name = "")
1286 public static class Socket {
1287
1288 @XmlAttribute
1289 protected Integer port;
1290 @XmlAttribute
1291 protected Boolean server;
1292
1293 /***
1294 * Gets the value of the port property.
1295 *
1296 * @return
1297 * possible object is
1298 * {@link Integer }
1299 *
1300 */
1301 public int getPort() {
1302 if (port == null) {
1303 return 10097;
1304 } else {
1305 return port;
1306 }
1307 }
1308
1309 /***
1310 * Sets the value of the port property.
1311 *
1312 * @param value
1313 * allowed object is
1314 * {@link Integer }
1315 *
1316 */
1317 public void setPort(Integer value) {
1318 this.port = value;
1319 }
1320
1321 /***
1322 * Gets the value of the server property.
1323 *
1324 * @return
1325 * possible object is
1326 * {@link Boolean }
1327 *
1328 */
1329 public boolean isServer() {
1330 if (server == null) {
1331 return true;
1332 } else {
1333 return server;
1334 }
1335 }
1336
1337 /***
1338 * Sets the value of the server property.
1339 *
1340 * @param value
1341 * allowed object is
1342 * {@link Boolean }
1343 *
1344 */
1345 public void setServer(Boolean value) {
1346 this.server = value;
1347 }
1348
1349 }
1350
1351
1352 /***
1353 * <p>Java class for anonymous complex type.
1354 *
1355 * <p>The following schema fragment specifies the expected content contained within this class.
1356 *
1357 * <pre>
1358 * <complexType>
1359 * <complexContent>
1360 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
1361 * <sequence maxOccurs="unbounded">
1362 * <element name="view" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
1363 * </sequence>
1364 * <attribute name="selected" type="{http://www.w3.org/2001/XMLSchema}int" />
1365 * </restriction>
1366 * </complexContent>
1367 * </complexType>
1368 * </pre>
1369 *
1370 *
1371 */
1372 @XmlAccessorType(XmlAccessType.FIELD)
1373 @XmlType(name = "", propOrder = {
1374 "view"
1375 })
1376 public static class Views {
1377
1378 @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
1379 protected List<String> view;
1380 @XmlAttribute
1381 protected Integer selected;
1382
1383 /***
1384 * Gets the value of the view property.
1385 *
1386 * <p>
1387 * This accessor method returns a reference to the live list,
1388 * not a snapshot. Therefore any modification you make to the
1389 * returned list will be present inside the JAXB object.
1390 * This is why there is not a <CODE>set</CODE> method for the view property.
1391 *
1392 * <p>
1393 * For example, to add a new item, do as follows:
1394 * <pre>
1395 * getView().add(newItem);
1396 * </pre>
1397 *
1398 *
1399 * <p>
1400 * Objects of the following type(s) are allowed in the list
1401 * {@link String }
1402 *
1403 *
1404 */
1405 public List<String> getView() {
1406 if (view == null) {
1407 view = new ArrayList<String>();
1408 }
1409 return this.view;
1410 }
1411
1412 /***
1413 * Gets the value of the selected property.
1414 *
1415 * @return
1416 * possible object is
1417 * {@link Integer }
1418 *
1419 */
1420 public Integer getSelected() {
1421 return selected;
1422 }
1423
1424 /***
1425 * Sets the value of the selected property.
1426 *
1427 * @param value
1428 * allowed object is
1429 * {@link Integer }
1430 *
1431 */
1432 public void setSelected(Integer value) {
1433 this.selected = value;
1434 }
1435
1436 }
1437
1438 }