Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.jabber.etherx.streams.Stream Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.03.23 at 05:33:02 PM UTC
//
package org.jabber.etherx.streams;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import jabber.server.dialback.Result;
import jabber.server.dialback.Verify;
/**
* 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">
* <sequence>
* <element ref="{http://etherx.jabber.org/streams}features" minOccurs="0"/>
* <any/>
* <any/>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element ref="{jabber:client}message"/>
* <element ref="{jabber:client}presence"/>
* <element ref="{jabber:client}iq"/>
* <element ref="{jabber:server}message"/>
* <element ref="{jabber:server}presence"/>
* <element ref="{jabber:server}iq"/>
* <element ref="{jabber:server:dialback}result"/>
* <element ref="{jabber:server:dialback}verify"/>
* </choice>
* <element ref="{http://etherx.jabber.org/streams}error" minOccurs="0"/>
* </sequence>
* <attribute name="from" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* <attribute name="to" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}decimal" />
* <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"features",
"tls",
"sasl",
"messageOrPresenceOrIq",
"error"
})
@XmlRootElement(name = "stream")
public class Stream {
protected Features features;
@XmlAnyElement(lax = true)
protected List tls;
@XmlAnyElement(lax = true)
protected List sasl;
@XmlElements({
@XmlElement(name = "iq", namespace = "jabber:server", type = jabber.server.Iq.class),
@XmlElement(name = "presence", namespace = "jabber:server", type = jabber.server.Presence.class),
@XmlElement(name = "message", namespace = "jabber:client", type = jabber.client.Message.class),
@XmlElement(name = "result", namespace = "jabber:server:dialback", type = Result.class),
@XmlElement(name = "message", namespace = "jabber:server", type = jabber.server.Message.class),
@XmlElement(name = "presence", namespace = "jabber:client", type = jabber.client.Presence.class),
@XmlElement(name = "iq", namespace = "jabber:client", type = jabber.client.Iq.class),
@XmlElement(name = "verify", namespace = "jabber:server:dialback", type = Verify.class)
})
protected List messageOrPresenceOrIq;
protected Error error;
@XmlAttribute
protected String from;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String id;
@XmlAttribute
protected String to;
@XmlAttribute
protected BigDecimal version;
@XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String lang;
/**
* Gets the value of the features property.
*
* @return
* possible object is
* {@link Features }
*
*/
public Features getFeatures() {
return features;
}
/**
* Sets the value of the features property.
*
* @param value
* allowed object is
* {@link Features }
*
*/
public void setFeatures(Features value) {
this.features = value;
}
/**
* Gets the value of the tls 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 tls property.
*
*
* For example, to add a new item, do as follows:
*
* getTls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getTls() {
if (tls == null) {
tls = new ArrayList();
}
return this.tls;
}
/**
* Gets the value of the sasl 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 sasl property.
*
*
* For example, to add a new item, do as follows:
*
* getSasl().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getSasl() {
if (sasl == null) {
sasl = new ArrayList();
}
return this.sasl;
}
/**
* Gets the value of the messageOrPresenceOrIq 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 messageOrPresenceOrIq property.
*
*
* For example, to add a new item, do as follows:
*
* getMessageOrPresenceOrIq().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link jabber.server.Iq }
* {@link jabber.server.Presence }
* {@link jabber.client.Message }
* {@link Result }
* {@link jabber.server.Message }
* {@link jabber.client.Presence }
* {@link jabber.client.Iq }
* {@link Verify }
*
*
*/
public List getMessageOrPresenceOrIq() {
if (messageOrPresenceOrIq == null) {
messageOrPresenceOrIq = new ArrayList();
}
return this.messageOrPresenceOrIq;
}
/**
* Gets the value of the error property.
*
* @return
* possible object is
* {@link Error }
*
*/
public Error getError() {
return error;
}
/**
* Sets the value of the error property.
*
* @param value
* allowed object is
* {@link Error }
*
*/
public void setError(Error value) {
this.error = 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 id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = 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 version property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setVersion(BigDecimal value) {
this.version = 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;
}
}