1 // That is direct copy from jersey-1.8-atlassian branch. Used to support out-date XML namespace of grammars.xml
2 // see package-info.java for detailed explanations
3
4 //
5 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
7 // Any modifications to this file will be lost upon recompilation of the source schema.
8 // Generated on: 2011.06.24 at 12:17:19 PM CEST
9 //
10
11
12 package com.atlassian.plugins.rest.doclet.generators.grammars;
13
14 import java.util.ArrayList;
15 import java.util.List;
16 import javax.xml.bind.annotation.XmlAccessType;
17 import javax.xml.bind.annotation.XmlAccessorType;
18 import javax.xml.bind.annotation.XmlAnyElement;
19 import javax.xml.bind.annotation.XmlRootElement;
20 import javax.xml.bind.annotation.XmlType;
21
22 import org.w3c.dom.Element;
23
24
25 /**
26 * <p>Java class for anonymous complex type.
27 *
28 * <p>The following schema fragment specifies the expected content contained within this class.
29 *
30 * <pre>
31 * <complexType>
32 * <complexContent>
33 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34 * <sequence>
35 * <element ref="{http://research.sun.com/wadl/2006/10}doc" maxOccurs="unbounded" minOccurs="0"/>
36 * <element ref="{http://research.sun.com/wadl/2006/10}include" maxOccurs="unbounded" minOccurs="0"/>
37 * <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
38 * </sequence>
39 * </restriction>
40 * </complexContent>
41 * </complexType>
42 * </pre>
43 */
44 @XmlAccessorType(XmlAccessType.FIELD)
45 @XmlType(name = "", propOrder = {
46 "doc",
47 "include",
48 "any"
49 })
50 @XmlRootElement(name = "grammars")
51 public class Grammars {
52
53 protected List<Doc> doc;
54 protected List<Include> include;
55 @XmlAnyElement(lax = true)
56 protected List<Object> any;
57
58 /**
59 * Gets the value of the doc property.
60 *
61 * <p>
62 * This accessor method returns a reference to the live list,
63 * not a snapshot. Therefore any modification you make to the
64 * returned list will be present inside the JAXB object.
65 * This is why there is not a <CODE>set</CODE> method for the doc property.
66 *
67 * <p>
68 * For example, to add a new item, do as follows:
69 * <pre>
70 * getDoc().add(newItem);
71 * </pre>
72 *
73 *
74 * <p>
75 * Objects of the following type(s) are allowed in the list
76 * {@link Doc }
77 */
78 public List<Doc> getDoc() {
79 if (doc == null) {
80 doc = new ArrayList<Doc>();
81 }
82 return this.doc;
83 }
84
85 /**
86 * Gets the value of the include property.
87 *
88 * <p>
89 * This accessor method returns a reference to the live list,
90 * not a snapshot. Therefore any modification you make to the
91 * returned list will be present inside the JAXB object.
92 * This is why there is not a <CODE>set</CODE> method for the include property.
93 *
94 * <p>
95 * For example, to add a new item, do as follows:
96 * <pre>
97 * getInclude().add(newItem);
98 * </pre>
99 *
100 *
101 * <p>
102 * Objects of the following type(s) are allowed in the list
103 * {@link Include }
104 */
105 public List<Include> getInclude() {
106 if (include == null) {
107 include = new ArrayList<Include>();
108 }
109 return this.include;
110 }
111
112 /**
113 * Gets the value of the any property.
114 *
115 * <p>
116 * This accessor method returns a reference to the live list,
117 * not a snapshot. Therefore any modification you make to the
118 * returned list will be present inside the JAXB object.
119 * This is why there is not a <CODE>set</CODE> method for the any property.
120 *
121 * <p>
122 * For example, to add a new item, do as follows:
123 * <pre>
124 * getAny().add(newItem);
125 * </pre>
126 *
127 *
128 * <p>
129 * Objects of the following type(s) are allowed in the list
130 * {@link Element }
131 * {@link Object }
132 */
133 public List<Object> getAny() {
134 if (any == null) {
135 any = new ArrayList<Object>();
136 }
137 return this.any;
138 }
139
140 }