jabber.server.Presence 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 jabber.server;
import java.util.ArrayList;
import java.util.List;
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;
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">
* <sequence>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element ref="{jabber:server}show"/>
* <element ref="{jabber:server}status"/>
* <element ref="{jabber:server}priority"/>
* </choice>
* <any processContents='lax' 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">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="error"/>
* <enumeration value="probe"/>
* <enumeration value="subscribe"/>
* <enumeration value="subscribed"/>
* <enumeration value="unavailable"/>
* <enumeration value="unsubscribe"/>
* <enumeration value="unsubscribed"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"showOrStatusOrPriority",
"any",
"error"
})
@XmlRootElement(name = "presence")
public class Presence {
@XmlElementRefs({
@XmlElementRef(name = "show", namespace = "jabber:server", type = JAXBElement.class, required = false),
@XmlElementRef(name = "status", namespace = "jabber:server", type = Status.class, required = false),
@XmlElementRef(name = "priority", namespace = "jabber:server", type = JAXBElement.class, required = false)
})
protected List