All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jabber.protocol.httpbind.Body Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2020.10.04 at 01:10:24 PM KST 
//


package org.jabber.protocol.httpbind;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <choice>
 *         <element name="uri" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
 *       </choice>
 *       <attribute name="accept" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="ack" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
 *       <attribute name="authid" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="charsets" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
 *       <attribute name="condition">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
 *             <enumeration value="bad-request"/>
 *             <enumeration value="host-gone"/>
 *             <enumeration value="host-unknown"/>
 *             <enumeration value="improper-addressing"/>
 *             <enumeration value="internal-server-error"/>
 *             <enumeration value="item-not-found"/>
 *             <enumeration value="other-request"/>
 *             <enumeration value="policy-violation"/>
 *             <enumeration value="remote-connection-failed"/>
 *             <enumeration value="remote-stream-error"/>
 *             <enumeration value="see-other-uri"/>
 *             <enumeration value="system-shutdown"/>
 *             <enumeration value="undefined-condition"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="content" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="from" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="hold" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
 *       <attribute name="inactivity" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
 *       <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="maxpause" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
 *       <attribute name="newkey" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="pause" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
 *       <attribute name="polling" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
 *       <attribute name="report" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
 *       <attribute name="requests" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
 *       <attribute name="rid" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
 *       <attribute name="route" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="stream" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="time" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
 *       <attribute name="to" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="type">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
 *             <enumeration value="error"/>
 *             <enumeration value="terminate"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="ver" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="wait" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
 *       <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
 *       <anyAttribute processContents='lax' namespace='##other'/>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "uri", "any" }) @XmlRootElement(name = "body") public class Body { protected String uri; @XmlAnyElement(lax = true) protected List any; @XmlAttribute(name = "accept") protected String accept; @XmlAttribute(name = "ack") @XmlSchemaType(name = "positiveInteger") protected BigInteger ack; @XmlAttribute(name = "authid") protected String authid; @XmlAttribute(name = "charsets") @XmlSchemaType(name = "NMTOKENS") protected List charsets; @XmlAttribute(name = "condition") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String condition; @XmlAttribute(name = "content") protected String content; @XmlAttribute(name = "from") protected String from; @XmlAttribute(name = "hold") @XmlSchemaType(name = "unsignedByte") protected Short hold; @XmlAttribute(name = "inactivity") @XmlSchemaType(name = "unsignedShort") protected Integer inactivity; @XmlAttribute(name = "key") protected String key; @XmlAttribute(name = "maxpause") @XmlSchemaType(name = "unsignedShort") protected Integer maxpause; @XmlAttribute(name = "newkey") protected String newkey; @XmlAttribute(name = "pause") @XmlSchemaType(name = "unsignedShort") protected Integer pause; @XmlAttribute(name = "polling") @XmlSchemaType(name = "unsignedShort") protected Integer polling; @XmlAttribute(name = "report") @XmlSchemaType(name = "positiveInteger") protected BigInteger report; @XmlAttribute(name = "requests") @XmlSchemaType(name = "unsignedByte") protected Short requests; @XmlAttribute(name = "rid") @XmlSchemaType(name = "positiveInteger") protected BigInteger rid; @XmlAttribute(name = "route") protected String route; @XmlAttribute(name = "sid") protected String sid; @XmlAttribute(name = "stream") protected String stream; @XmlAttribute(name = "time") @XmlSchemaType(name = "unsignedShort") protected Integer time; @XmlAttribute(name = "to") protected String to; @XmlAttribute(name = "type") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String type; @XmlAttribute(name = "ver") protected String ver; @XmlAttribute(name = "wait") @XmlSchemaType(name = "unsignedShort") protected Integer wait; @XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language") protected String lang; @XmlAnyAttribute private Map otherAttributes = new HashMap(); /** * Gets the value of the uri property. * * @return * possible object is * {@link String } * */ public String getUri() { return uri; } /** * Sets the value of the uri property. * * @param value * allowed object is * {@link String } * */ public void setUri(String value) { this.uri = value; } /** * Gets the value of the any property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the any property. * *

* For example, to add a new item, do as follows: *

     *    getAny().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Element } * {@link Object } * * */ public List getAny() { if (any == null) { any = new ArrayList(); } return this.any; } /** * Gets the value of the accept property. * * @return * possible object is * {@link String } * */ public String getAccept() { return accept; } /** * Sets the value of the accept property. * * @param value * allowed object is * {@link String } * */ public void setAccept(String value) { this.accept = value; } /** * Gets the value of the ack property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getAck() { return ack; } /** * Sets the value of the ack property. * * @param value * allowed object is * {@link BigInteger } * */ public void setAck(BigInteger value) { this.ack = value; } /** * Gets the value of the authid property. * * @return * possible object is * {@link String } * */ public String getAuthid() { return authid; } /** * Sets the value of the authid property. * * @param value * allowed object is * {@link String } * */ public void setAuthid(String value) { this.authid = value; } /** * Gets the value of the charsets property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the charsets property. * *

* For example, to add a new item, do as follows: *

     *    getCharsets().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getCharsets() { if (charsets == null) { charsets = new ArrayList(); } return this.charsets; } /** * Gets the value of the condition property. * * @return * possible object is * {@link String } * */ public String getCondition() { return condition; } /** * Sets the value of the condition property. * * @param value * allowed object is * {@link String } * */ public void setCondition(String value) { this.condition = value; } /** * Gets the value of the content property. * * @return * possible object is * {@link String } * */ public String getContent() { return content; } /** * Sets the value of the content property. * * @param value * allowed object is * {@link String } * */ public void setContent(String value) { this.content = value; } /** * Gets the value of the from property. * * @return * possible object is * {@link String } * */ public String getFrom() { return from; } /** * Sets the value of the from property. * * @param value * allowed object is * {@link String } * */ public void setFrom(String value) { this.from = value; } /** * Gets the value of the hold property. * * @return * possible object is * {@link Short } * */ public Short getHold() { return hold; } /** * Sets the value of the hold property. * * @param value * allowed object is * {@link Short } * */ public void setHold(Short value) { this.hold = value; } /** * Gets the value of the inactivity property. * * @return * possible object is * {@link Integer } * */ public Integer getInactivity() { return inactivity; } /** * Sets the value of the inactivity property. * * @param value * allowed object is * {@link Integer } * */ public void setInactivity(Integer value) { this.inactivity = value; } /** * Gets the value of the key property. * * @return * possible object is * {@link String } * */ public String getKey() { return key; } /** * Sets the value of the key property. * * @param value * allowed object is * {@link String } * */ public void setKey(String value) { this.key = value; } /** * Gets the value of the maxpause property. * * @return * possible object is * {@link Integer } * */ public Integer getMaxpause() { return maxpause; } /** * Sets the value of the maxpause property. * * @param value * allowed object is * {@link Integer } * */ public void setMaxpause(Integer value) { this.maxpause = value; } /** * Gets the value of the newkey property. * * @return * possible object is * {@link String } * */ public String getNewkey() { return newkey; } /** * Sets the value of the newkey property. * * @param value * allowed object is * {@link String } * */ public void setNewkey(String value) { this.newkey = value; } /** * Gets the value of the pause property. * * @return * possible object is * {@link Integer } * */ public Integer getPause() { return pause; } /** * Sets the value of the pause property. * * @param value * allowed object is * {@link Integer } * */ public void setPause(Integer value) { this.pause = value; } /** * Gets the value of the polling property. * * @return * possible object is * {@link Integer } * */ public Integer getPolling() { return polling; } /** * Sets the value of the polling property. * * @param value * allowed object is * {@link Integer } * */ public void setPolling(Integer value) { this.polling = value; } /** * Gets the value of the report property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getReport() { return report; } /** * Sets the value of the report property. * * @param value * allowed object is * {@link BigInteger } * */ public void setReport(BigInteger value) { this.report = value; } /** * Gets the value of the requests property. * * @return * possible object is * {@link Short } * */ public Short getRequests() { return requests; } /** * Sets the value of the requests property. * * @param value * allowed object is * {@link Short } * */ public void setRequests(Short value) { this.requests = value; } /** * Gets the value of the rid property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getRid() { return rid; } /** * Sets the value of the rid property. * * @param value * allowed object is * {@link BigInteger } * */ public void setRid(BigInteger value) { this.rid = value; } /** * Gets the value of the route property. * * @return * possible object is * {@link String } * */ public String getRoute() { return route; } /** * Sets the value of the route property. * * @param value * allowed object is * {@link String } * */ public void setRoute(String value) { this.route = value; } /** * Gets the value of the sid property. * * @return * possible object is * {@link String } * */ public String getSid() { return sid; } /** * Sets the value of the sid property. * * @param value * allowed object is * {@link String } * */ public void setSid(String value) { this.sid = value; } /** * Gets the value of the stream property. * * @return * possible object is * {@link String } * */ public String getStream() { return stream; } /** * Sets the value of the stream property. * * @param value * allowed object is * {@link String } * */ public void setStream(String value) { this.stream = value; } /** * Gets the value of the time property. * * @return * possible object is * {@link Integer } * */ public Integer getTime() { return time; } /** * Sets the value of the time property. * * @param value * allowed object is * {@link Integer } * */ public void setTime(Integer value) { this.time = value; } /** * Gets the value of the to property. * * @return * possible object is * {@link String } * */ public String getTo() { return to; } /** * Sets the value of the to property. * * @param value * allowed object is * {@link String } * */ public void setTo(String value) { this.to = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the ver property. * * @return * possible object is * {@link String } * */ public String getVer() { return ver; } /** * Sets the value of the ver property. * * @param value * allowed object is * {@link String } * */ public void setVer(String value) { this.ver = value; } /** * Gets the value of the wait property. * * @return * possible object is * {@link Integer } * */ public Integer getWait() { return wait; } /** * Sets the value of the wait property. * * @param value * allowed object is * {@link Integer } * */ public void setWait(Integer value) { this.wait = value; } /** * Gets the value of the lang property. * * @return * possible object is * {@link String } * */ public String getLang() { return lang; } /** * Sets the value of the lang property. * * @param value * allowed object is * {@link String } * */ public void setLang(String value) { this.lang = value; } /** * Gets a map that contains attributes that aren't bound to any typed property on this class. * *

* the map is keyed by the name of the attribute and * the value is the string value of the attribute. * * the map returned by this method is live, and you can add new attribute * by updating the map directly. Because of this design, there's no setter. * * * @return * always non-null */ public Map getOtherAttributes() { return otherAttributes; } }