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.
jabber.server.Message Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-793
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.11.11 at 12:11:12 AM GMT
//
package jabber.server;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import javax.xml.bind.JAXBElement;
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.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
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;
/**
* 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>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element ref="{jabber:server}subject"/>
* <element ref="{jabber:server}body"/>
* <element ref="{jabber:server}thread"/>
* </choice>
* <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{jabber:server}error" minOccurs="0"/>
* </sequence>
* <attribute name="from" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
* <attribute name="to" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="type" default="normal">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
* <enumeration value="chat"/>
* <enumeration value="error"/>
* <enumeration value="groupchat"/>
* <enumeration value="headline"/>
* <enumeration value="normal"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"content"
})
@XmlRootElement(name = "message")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
public class Message
implements uk.org.retep.xmpp.message.Message
{
@XmlElementRefs({
@XmlElementRef(name = "thread", namespace = "jabber:server", type = JAXBElement.class),
@XmlElementRef(name = "error", namespace = "jabber:server", type = Error.class),
@XmlElementRef(name = "subject", namespace = "jabber:server", type = Subject.class),
@XmlElementRef(name = "body", namespace = "jabber:server", type = Body.class)
})
@XmlAnyElement(lax = true)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
protected List content;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(Adapter3 .class)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
protected uk.org.retep.xmpp.JID from;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
protected String id;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(Adapter4 .class)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
protected uk.org.retep.xmpp.JID to;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
protected String type;
@XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
protected String lang;
/**
* Gets the value of the content 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 content property.
*
*
* For example, to add a new item, do as follows:
*
* getContent().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link Error }
* {@link Object }
* {@link Subject }
* {@link Body }
*
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
public List getContent() {
if (content == null) {
content = new ArrayList();
}
return this.content;
}
/**
* Gets the value of the from property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
public uk.org.retep.xmpp.JID getFrom() {
return from;
}
/**
* Sets the value of the from property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
public void setFrom(uk.org.retep.xmpp.JID value) {
this.from = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the to property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
public uk.org.retep.xmpp.JID getTo() {
return to;
}
/**
* Sets the value of the to property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
public void setTo(uk.org.retep.xmpp.JID value) {
this.to = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
public String getType() {
if (type == null) {
return "normal";
} else {
return type;
}
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the lang property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
public String getLang() {
return lang;
}
/**
* Sets the value of the lang property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-11T12:11:11+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-793")
public void setLang(String value) {
this.lang = value;
}
}