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, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.10.02 at 06:09:56 PM CEST
//
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.XmlSchemaType;
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 namespace='urn:ietf:params:xml:ns:xmpp-tls' maxOccurs="unbounded" minOccurs="0"/>
* <any namespace='urn:ietf:params:xml:ns:xmpp-sasl' maxOccurs="unbounded" minOccurs="0"/>
* <choice minOccurs="0">
* <choice maxOccurs="unbounded" minOccurs="0">
* <element ref="{jabber:client}message"/>
* <element ref="{jabber:client}presence"/>
* <element ref="{jabber:client}iq"/>
* </choice>
* <choice maxOccurs="unbounded" minOccurs="0">
* <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>
* </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",
"xmppTls",
"xmppSasl",
"clientMessages",
"serverMessages",
"error"
})
@XmlRootElement(name = "stream")
public class Stream {
protected Features features;
@XmlAnyElement(lax = true)
protected List xmppTls;
@XmlAnyElement(lax = true)
protected List xmppSasl;
@XmlElements({
@XmlElement(name = "iq", namespace = "jabber:client", type = jabber.client.Iq.class),
@XmlElement(name = "presence", namespace = "jabber:client", type = jabber.client.Presence.class),
@XmlElement(name = "message", namespace = "jabber:client", type = jabber.client.Message.class)
})
protected List clientMessages;
@XmlElements({
@XmlElement(name = "verify", namespace = "jabber:server:dialback", type = Verify.class),
@XmlElement(name = "presence", namespace = "jabber:server", type = jabber.server.Presence.class),
@XmlElement(name = "iq", namespace = "jabber:server", type = jabber.server.Iq.class),
@XmlElement(name = "result", namespace = "jabber:server:dialback", type = Result.class),
@XmlElement(name = "message", namespace = "jabber:server", type = jabber.server.Message.class)
})
protected List serverMessages;
protected Error error;
@XmlAttribute
protected String from;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String id;
@XmlAttribute
protected String to;
@XmlAttribute
protected BigDecimal version;
@XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
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 xmppTls 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 xmppTls property.
*
*
* For example, to add a new item, do as follows:
*
* getXmppTls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getXmppTls() {
if (xmppTls == null) {
xmppTls = new ArrayList();
}
return this.xmppTls;
}
/**
* Gets the value of the xmppSasl 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 xmppSasl property.
*
*
* For example, to add a new item, do as follows:
*
* getXmppSasl().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
public List getXmppSasl() {
if (xmppSasl == null) {
xmppSasl = new ArrayList();
}
return this.xmppSasl;
}
/**
* Gets the value of the clientMessages 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 clientMessages property.
*
*
* For example, to add a new item, do as follows:
*
* getClientMessages().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link jabber.client.Iq }
* {@link jabber.client.Presence }
* {@link jabber.client.Message }
*
*
*/
public List getClientMessages() {
if (clientMessages == null) {
clientMessages = new ArrayList();
}
return this.clientMessages;
}
/**
* Gets the value of the serverMessages 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 serverMessages property.
*
*
* For example, to add a new item, do as follows:
*
* getServerMessages().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Verify }
* {@link jabber.server.Presence }
* {@link jabber.server.Iq }
* {@link Result }
* {@link jabber.server.Message }
*
*
*/
public List getServerMessages() {
if (serverMessages == null) {
serverMessages = new ArrayList();
}
return this.serverMessages;
}
/**
* 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;
}
}