001    //
002    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
003    // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004    // Any modifications to this file will be lost upon recompilation of the source schema. 
005    // Generated on: 2013.02.07 at 02:32:38 PM CET 
006    //
007    
008    
009    package jabber.client;
010    
011    import javax.xml.bind.annotation.XmlAccessType;
012    import javax.xml.bind.annotation.XmlAccessorType;
013    import javax.xml.bind.annotation.XmlAnyElement;
014    import javax.xml.bind.annotation.XmlAttribute;
015    import javax.xml.bind.annotation.XmlRootElement;
016    import javax.xml.bind.annotation.XmlSchemaType;
017    import javax.xml.bind.annotation.XmlType;
018    import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
019    import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
020    
021    
022    /**
023     * <p>Java class for anonymous complex type.
024     * 
025     * <p>The following schema fragment specifies the expected content contained within this class.
026     * 
027     * <pre>
028     * &lt;complexType>
029     *   &lt;complexContent>
030     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
031     *       &lt;sequence>
032     *         &lt;any namespace='##other' minOccurs="0"/>
033     *         &lt;element ref="{jabber:client}error" minOccurs="0"/>
034     *       &lt;/sequence>
035     *       &lt;attribute name="from" type="{http://www.w3.org/2001/XMLSchema}string" />
036     *       &lt;attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
037     *       &lt;attribute name="to" type="{http://www.w3.org/2001/XMLSchema}string" />
038     *       &lt;attribute name="type" use="required">
039     *         &lt;simpleType>
040     *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
041     *             &lt;enumeration value="error"/>
042     *             &lt;enumeration value="get"/>
043     *             &lt;enumeration value="result"/>
044     *             &lt;enumeration value="set"/>
045     *           &lt;/restriction>
046     *         &lt;/simpleType>
047     *       &lt;/attribute>
048     *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
049     *     &lt;/restriction>
050     *   &lt;/complexContent>
051     * &lt;/complexType>
052     * </pre>
053     * 
054     * 
055     */
056    @XmlAccessorType(XmlAccessType.FIELD)
057    @XmlType(name = "", propOrder = {
058        "any",
059        "error"
060    })
061    @XmlRootElement(name = "iq")
062    public class Iq {
063    
064        @XmlAnyElement(lax = true)
065        protected Object any;
066        protected Error error;
067        @XmlAttribute
068        protected String from;
069        @XmlAttribute(required = true)
070        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
071        @XmlSchemaType(name = "NMTOKEN")
072        protected String id;
073        @XmlAttribute
074        protected String to;
075        @XmlAttribute(required = true)
076        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
077        protected String type;
078        @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
079        @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
080        @XmlSchemaType(name = "language")
081        protected String lang;
082    
083        /**
084         * Gets the value of the any property.
085         * 
086         * @return
087         *     possible object is
088         *     {@link Object }
089         *     
090         */
091        public Object getAny() {
092            return any;
093        }
094    
095        /**
096         * Sets the value of the any property.
097         * 
098         * @param value
099         *     allowed object is
100         *     {@link Object }
101         *     
102         */
103        public void setAny(Object value) {
104            this.any = value;
105        }
106    
107        /**
108         * Gets the value of the error property.
109         * 
110         * @return
111         *     possible object is
112         *     {@link Error }
113         *     
114         */
115        public Error getError() {
116            return error;
117        }
118    
119        /**
120         * Sets the value of the error property.
121         * 
122         * @param value
123         *     allowed object is
124         *     {@link Error }
125         *     
126         */
127        public void setError(Error value) {
128            this.error = value;
129        }
130    
131        /**
132         * Gets the value of the from property.
133         * 
134         * @return
135         *     possible object is
136         *     {@link String }
137         *     
138         */
139        public String getFrom() {
140            return from;
141        }
142    
143        /**
144         * Sets the value of the from property.
145         * 
146         * @param value
147         *     allowed object is
148         *     {@link String }
149         *     
150         */
151        public void setFrom(String value) {
152            this.from = value;
153        }
154    
155        /**
156         * Gets the value of the id property.
157         * 
158         * @return
159         *     possible object is
160         *     {@link String }
161         *     
162         */
163        public String getId() {
164            return id;
165        }
166    
167        /**
168         * Sets the value of the id property.
169         * 
170         * @param value
171         *     allowed object is
172         *     {@link String }
173         *     
174         */
175        public void setId(String value) {
176            this.id = value;
177        }
178    
179        /**
180         * Gets the value of the to property.
181         * 
182         * @return
183         *     possible object is
184         *     {@link String }
185         *     
186         */
187        public String getTo() {
188            return to;
189        }
190    
191        /**
192         * Sets the value of the to property.
193         * 
194         * @param value
195         *     allowed object is
196         *     {@link String }
197         *     
198         */
199        public void setTo(String value) {
200            this.to = value;
201        }
202    
203        /**
204         * Gets the value of the type property.
205         * 
206         * @return
207         *     possible object is
208         *     {@link String }
209         *     
210         */
211        public String getType() {
212            return type;
213        }
214    
215        /**
216         * Sets the value of the type property.
217         * 
218         * @param value
219         *     allowed object is
220         *     {@link String }
221         *     
222         */
223        public void setType(String value) {
224            this.type = value;
225        }
226    
227        /**
228         * Gets the value of the lang property.
229         * 
230         * @return
231         *     possible object is
232         *     {@link String }
233         *     
234         */
235        public String getLang() {
236            return lang;
237        }
238    
239        /**
240         * Sets the value of the lang property.
241         * 
242         * @param value
243         *     allowed object is
244         *     {@link String }
245         *     
246         */
247        public void setLang(String value) {
248            this.lang = value;
249        }
250    
251    }